McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 257

↗ View in doc context
page
257
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::223

Response Code: 200 Listing Users with License Details Using Pagination To list the users along with their license details using pagination, pass the value in the properties "rowsPerPage" and "pageNumber". By default the value of "rowsPerPage" is 2001. Perform a GET operation to list the users along with their license details using pagination: Get https://<connection-server>/vmrest/userlicenses?rowsPerPage=1&pageNumber=1 The following is the response from the above GET request and the actual response will depend upon the information given by you: <UserLicenses total="1"> <UserLicense> <Alias>user1@Tenant1.com</Alias> <Messaging>Basic</Messaging> <SpeechView>Speech View Standard</SpeechView> <TenantId>Tenant1</TenantId> </UserLicense> </UserLicenses> Response Code: 200 JSON Example To list all the users along with their license details using pagination, use the following: Request URI: GET https://<connection-server>/vmrest/userlicenses?rowsPerPage=1&pageNumber=1 Accept: application /json Connection: keep-alive The following is the response from the above GET request and the actual response will depend upon the information given by you: { "@total": "1", "UserLicense": { "Alias": "user1@Tenant1.com", "Messaging": "Basic", "SpeechView": "Speech View Standard", "TenantId": "Tenant1" } } Response Code: 200 List the Number of Users Using Licenses To List the number of users using licenses, pass the value 0 in the property "rowsPerPage" or "pageNumber". Perform a GET operation to list the number of users using licenses: Get https://<connection-server>/vmrest/userlicenses?pageNumber=0 Cisco Unity Connection Provisioning Interface (CUPI) API 225 License Users Entitlement Listing Users with License Details Using Pagination