McDewey

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

Page 49

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

C H A P T E R 8 Cisco Unity Connection Provisioning Interface (CUPI) API -- Searching and Sorting Links to Other API pages:Cisco_Unity_Connection_APIs • Searching, on page 17 • Sorting, on page 17 • Constraints on the Allowed Values in Search Queries and Sorts, on page 18 Searching The general format of a search query is: query=(column [is | startswith] value) For example, to find all users that have an alias starting with the letter "a," the query would be: query=(alias startswith a) The full URL, including escaping spaces as %20, would be: GET http://<connection-server>/vmrest/users?query=(alias%20startswith%20a) (For more information about escaping spaces, see the (RFC for URIs.) Sorting Sorting is similar to searching. The general format of a sort is: sort=(column [asc | desc]) For example, to sort users by alias, the sort would be: sort=(alias asc) The full URL would be: GET http://<connection-server>/vmrest/users?sort=(alias%20asc) Note that spaces must be escaped in the URL as %20 (standard URL escape code for space). Cisco Unity Connection Provisioning Interface (CUPI) API 17

Image 1 from page 49