McDewey

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

Page 47

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

C H A P T E R 7 Cisco Unity Connection Provisioning Interface (CUPI) API -- Getting the Object Count Without Getting the Objects Links to Other API pages:Cisco_Unity_Connection_APIs • Getting the Object Count Without Getting the Objects, on page 15 • Examples, on page 15 Getting the Object Count Without Getting the Objects For performance reasons, you can retrieve an object count without retrieving the objects. For example, you might have over 1000 users and you want to know the exact user count. To speed up the query, you can retrieve only the count of users, without retrieving the payload, by using and setting the query parameter "pageNumber" or "rowsPerPage" to 0, as follows: Examples The following example returns the number of users: GET http://<connection-server>/vmrest/users?rowsPerPage=0 The following example returns the number of users whose alias starts with "John": GET http://<connection-server>/vmrest/users?query=(alias%20startswith%20John)&pageNumber=0 Cisco Unity Connection Provisioning Interface (CUPI) API 15

Image 1 from page 47