McDewey

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

Page 227

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

8 = Work Fax 2 9 = Home Fax Cisco Unity Connection Provisioning Interface (CUPI) API -- Class of Service (COS) About Classes of Service (COSes) This page contains information on how to use the API to create, list, update, and delete classes of service. Listing and Viewing The following is an example of a GET request that lists all Classes of Service: GET http://<connection-server>/vmrest/coses The following is the response from the above GET request: <?xml version="1.0" encoding="UTF-8"?> <Coses total="2"> <Cos> <URI>/vmrest/coses/e0da866c-07d4-41ae-8ca9-e334e4732ea7</URI> <ObjectId>e0da866c-07d4-41ae-8ca9-e334e4732ea7</ObjectId> <DisplayName>Voice Mail User COS</DisplayName> </Cos> <Cos> <URI>/vmrest/coses/38a57ca9-406d-4dec-9fc0-d7fc54ef5dff</URI> <ObjectId>38a57ca9-406d-4dec-9fc0-d7fc54ef5dff</ObjectId> <DisplayName>System</DisplayName> </Cos> </Coses> To retrieve a sorted list of all Classes of Service, add the following query parameter: sort=(column [asc|desc]) For example, to retrieve a list of all Classes of Service sorted by their display names in ascending order: GET http://<connection-server>/vmrest/coses?sort=(displayname%20asc) To retrieve a specific Class of Service by its object ID: GET http://<connection-server>/vmrest/coses/<objectid> The following is the response from the above GET request (requesting a single Class of Service by object ID) done on the factory default Voice Mail User Cos: Cisco Unity Connection Provisioning Interface (CUPI) API 195 Cisco Unity Connection Provisioning Interface (CUPI) API for User Account Settings Cisco Unity Connection Provisioning Interface (CUPI) API -- Class of Service (COS)