<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: Sample Java code using HttpClient 3.0</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>RE: Sample Java code using HttpClient 3.0</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-21T16:36:38Z</updated>
  <dc:date>2013-05-21T16:36:38Z</dc:date>
  <entry>
    <title>DMM API calls limit for username?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5990114" />
    <author>
      <name>Alan Tham</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5990114</id>
    <updated>2012-07-05T07:46:41Z</updated>
    <published>2012-07-05T07:46:41Z</published>
    <summary type="html">Hi!
1) I am checking for usernames one by one using the HTTP GET from the DMM:
 
[url=https://&lt;DMM_IP&gt;:8443/dmscore/api/rest/usermanagement/users/user?userName=&lt;username]https://&lt;DMM_IP&gt;:8443/dmscore/api/rest/usermanagement/users/user?userName=&lt;username[/url]&gt;
 
But it fails after 5000 HTTP calls. Is there a limit to how many calls the DMM can take?
 
2) If I use user listing, for 1 to 100, I use: 
[url=https://&lt;DMM_IP&gt;:8443/dmscore/api/rest/usermanagement/users?Start=1&amp;limit=100&amp;orderByCol=username&amp;orderBy=asc]https://&lt;DMM_IP&gt;:8443/dmscore/api/rest/usermanagement/users?Start=1&amp;limit=100&amp;orderByCol=username&amp;orderBy=asc[/url]
 
For the next 100, I changed the Start and limit to 101 and 100 respectively: 
[url=https://&lt;DMM_IP&gt;:8443/dmscore/api/rest/usermanagement/users?Start=101&amp;limit=100&amp;orderByCol=username&amp;orderBy=asc]https://&lt;DMM_IP&gt;:8443/dmscore/api/rest/usermanagement/users?Start=101&amp;limit=100&amp;orderByCol=username&amp;orderBy=asc[/url]
 
But I am still getting the usernames for 1 to 100.
I have also tried using Start and limit for 101 and 200 but it also gives the same result as the first call.
 
Does anyone face the same problem? Is there a limit to the numbers of users the DMM can take?
 
Thanks.</summary>
    <dc:creator>Alan Tham</dc:creator>
    <dc:date>2012-07-05T07:46:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Add Asset to DMM</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4770972" />
    <author>
      <name>Alan Tham</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4770972</id>
    <updated>2011-11-17T08:26:21Z</updated>
    <published>2011-11-17T08:26:21Z</published>
    <summary type="html">Found the cause of the error: Category id shoud be 2 for images, not 6.</summary>
    <dc:creator>Alan Tham</dc:creator>
    <dc:date>2011-11-17T08:26:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Walid Azab in Digital Media Suite API - Digital Si</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4770907" />
    <author>
      <name>Alan Tham</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4770907</id>
    <updated>2011-11-17T07:23:13Z</updated>
    <published>2011-11-17T07:23:13Z</published>
    <summary type="html">Hi Hashir,

I have copied and pasted your code into my code, changed the parameters but I got this error message:

[code]
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;ns2:result xmlns:ns2="http://www.cisco.com/dms/xml/ns/dsmCommonService" xmlns:ns3="http://www.cisco.com/dms/xml/ns/historyManagement"&gt;&lt;status&gt;failure&lt;/status&gt;&lt;code&gt;Bad Request&lt;/code&gt;&lt;description&gt;Cannot add content Desert.jpg: there was an exception in adding asset&lt;/description&gt;&lt;/ns2:result&gt;
[/code]

The file "Desert.jpg" is at the location specified. 

Any ideas why DMM returned an upload failure?

Thanks.</summary>
    <dc:creator>Alan Tham</dc:creator>
    <dc:date>2011-11-17T07:23:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Sample Java code using HttpClient 3.0</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4758666" />
    <author>
      <name>Alan Tham</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4758666</id>
    <updated>2011-11-16T07:24:33Z</updated>
    <published>2011-11-16T07:24:33Z</published>
    <summary type="html">Hi!

Can you provide codes for Apache HttpClient version 4?

There are a lot of changes between version 3 and 4.

Thanks and regards.</summary>
    <dc:creator>Alan Tham</dc:creator>
    <dc:date>2011-11-16T07:24:33Z</dc:date>
  </entry>
</feed>

