<?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>CUPI and rowsperpage=0 / pageNumber=0</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>CUPI and rowsperpage=0 / pageNumber=0</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-06-18T21:25:01Z</updated>
  <dc:date>2013-06-18T21:25:01Z</dc:date>
  <entry>
    <title>RE: get the number of used licenses in CUC v7</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11345435" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11345435</id>
    <updated>2013-01-31T09:43:43Z</updated>
    <published>2013-01-31T09:43:43Z</published>
    <summary type="html">Thanks Ryan.
That oid and the 1.3.6.1.4.1.9.9.385.1.2.22 gave me what I wanted to know.</summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2013-01-31T09:43:43Z</dc:date>
  </entry>
  <entry>
    <title>get the number of used licenses in CUC v7</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8527513" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8527513</id>
    <updated>2012-11-15T10:39:35Z</updated>
    <published>2012-11-13T16:10:59Z</published>
    <summary type="html">Hello, 
I am working with a CUC v7 and am not able to use the "rowsPerPage=0" option. 
I was wondering if it is possible to query the active number of lisenses as seen in the gui under system settings. 
That number also gives the number of users defined. 
I can not find the correct GET command. 
Any help is welcome. 
Best regards 
Geert</summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2012-11-13T16:10:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUPI and rowsperpage=0 / pageNumber=0</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7731543" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7731543</id>
    <updated>2012-10-17T07:38:04Z</updated>
    <published>2012-10-17T07:38:04Z</published>
    <summary type="html">Hi Anil,
I will have to ask for an upgrade then. Thanks a lot!!
Best regards,
Geert
 </summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2012-10-17T07:38:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUPI and rowsperpage=0 / pageNumber=0</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7708491" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7708491</id>
    <updated>2012-10-16T16:10:14Z</updated>
    <published>2012-10-16T16:10:14Z</published>
    <summary type="html">Hi Anil,
The second command seems to work. I get a list of users.
I activated the trace for VMREST and got the message "A syntax error has occurred" again.
The trace looks like :
12/30/2011 11:44:20.292 |8404,,,-1,-1,Logging initialized for Tomcat (Cuca CuService CiscoPCA PCAUnifiedCM PCAMeetingPlace UnityAssistant UnityInbox UnityPCTR AudioStore MediaMasterControl MediaMasterWeb MediaMasterUMS TranscodeWeb TRAP BulkAdministrationTool RSS Cuals MessageEventService VMWS VMREST)|
10/15/2012 14:48:22.642 |3054,,,VMREST,0,ERROR [http-8443-9] com.cisco.connection.rest.helper.Utilities  - query returns more than the maximum allowable results, use rowsperpage query parameter to limit results: max=2000|
10/15/2012 14:48:30.326 |3054,,,VMREST,0,ERROR [http-8443-9] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - unable to get a list: user|
10/15/2012 14:48:30.326 |3054,,,VMREST,0,ERROR [http-8443-9] com.cisco.connection.rest.helper.Utilities  - A syntax error has occurred.|
10/15/2012 16:16:09.400 |3054,,,VMREST,0,ERROR [http-8443-9] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - unable to get a list: user|
10/15/2012 16:16:09.400 |3054,,,VMREST,0,ERROR [http-8443-9] com.cisco.connection.rest.helper.Utilities  - A syntax error has occurred.|
10/16/2012 17:30:50.521 |11609,,,Cuca,0,com.cisco.unity.logging.log4j.ConfigLoader: update called for diag grid VMREST old flags: 1, new flags: 15.|
10/16/2012 17:30:50.700 |11609,,,Cuca,0,com.cisco.unity.logging.log4j.ConfigLoader: VMREST: setting category 1 to true.|
10/16/2012 17:30:50.700 |11609,,,Cuca,0,com.cisco.unity.logging.log4j.ConfigLoader: VMREST: setting category 2 to true.|
10/16/2012 17:30:50.700 |11609,,,Cuca,0,com.cisco.unity.logging.log4j.ConfigLoader: VMREST: setting category 3 to true.|
10/16/2012 17:31:41.727 |28416,,,VMREST,3,DEBUG [http-8443-10] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - setting rows per page: 100|
10/16/2012 17:31:41.727 |28416,,,VMREST,3,DEBUG [http-8443-10] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - setting page number: 0|
10/16/2012 17:31:41.727 |28416,,,VMREST,3,DEBUG [http-8443-10] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - query: null|
10/16/2012 17:31:41.727 |28416,,,VMREST,3,DEBUG [http-8443-10] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - parse sort: null|
10/16/2012 17:31:41.782 |28416,,,VMREST,3,DEBUG [http-8443-10] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - created authentication information: username=xxxxxxxxx|
10/16/2012 17:31:41.836 |28416,,,VMREST,3,ERROR [http-8443-10] com.cisco.connection.rest.impl.GeneratedUserRestImpl  - unable to get a list: user|
10/16/2012 17:31:41.846 |28416,,,VMREST,3,ERROR [http-8443-10] com.cisco.connection.rest.helper.Utilities  - A syntax error has occurred.|
Thanks a lot in advance for your help.
Best regards,
Geert</summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2012-10-16T16:10:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUPI and rowsperpage=0 / pageNumber=0</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7643811" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7643811</id>
    <updated>2012-10-15T14:19:22Z</updated>
    <published>2012-10-15T14:19:22Z</published>
    <summary type="html">thanks Anil,
I tried your first query and it gives me =&gt; syntax error
When putting all in lower case it returns =&gt; query returns more than the maximum allowable results, use rowsperpage query parameter to limit results: max=2000
Any ideas?
Thanks,
Geert
 </summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2012-10-15T14:19:22Z</dc:date>
  </entry>
  <entry>
    <title>CUPI and rowsperpage=0 / pageNumber=0</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7640146" />
    <author>
      <name>GEERT DEWINTER</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7640146</id>
    <updated>2012-10-15T12:56:56Z</updated>
    <published>2012-10-15T12:47:14Z</published>
    <summary type="html">Hi,
CUC Version 7
When I try "https://xx.xx.xx.xx:8443/vmrest/users?rowsperpage=0" as mentioned in the wiki, I always get the following result  :
&lt;code&gt;&lt;ErrorDetails&gt;&lt;errors&gt;&lt;code&gt;DATA_EXCEPTION&lt;/code&gt;&lt;message&gt;
query
 returns more than the maximum allowable results, use rowsperpage query 
parameter to limit results: 
max=2000&lt;/message&gt;&lt;/errors&gt;&lt;/ErrorDetails&gt;&lt;/code&gt;
 
Can anyone tell me how to get a number and not a list of all the users? 
 
When
 using the "pageNumber=0" option 
&lt;code&gt;&lt;ErrorDetails&gt;&lt;errors&gt;&lt;code&gt;DATA_EXCEPTION&lt;/code&gt;&lt;message&gt;A
 syntax error has 
occurred.&lt;/message&gt;&lt;/errors&gt;&lt;/ErrorDetails&gt;&lt;/code&gt;
 
Thanks,
Best Regards,
Geert</summary>
    <dc:creator>GEERT DEWINTER</dc:creator>
    <dc:date>2012-10-15T12:47:14Z</dc:date>
  </entry>
</feed>

