McDewey

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

Page 229

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

Searching To retrieve a list of Classes of Service that meet a specified search criteria, add the following query parameter: query=(column [is|startswith] value) For example, to find all Classes of Service with a display name that starts with "System": GET http://<connection-server>/vmrest/coses?query=(displayname%20startswith%20System) Creating The only required field for creating a COS is DisplayName. All other fields are optional. The following is an example of a POST request that creates a COS with the display name "My New COS": POST http://<connection-server>/vmrest/coses <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Cos> <DisplayName>My New COS</DisplayName> </Cos> The following is the response from the above POST request: 201 Created /vmrest/coses/8ae8b4a2-a25b-4f16-95d9-77abcb91b764 Updating The following is an example of a PUT request that modifies the display name of an existing COS: PUT http://<connection-server>/vmrest/coses/<objectid> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Cos> <DisplayName>My New CoS</DisplayName> </Cos> The following is the response from the above PUT request: 204 No Content null Deleting The following is an example of a DELETE request that deletes a Class of Service: DELETE http://vmrest/coses/<objectid> The following is the response from the above DELETE request: Cisco Unity Connection Provisioning Interface (CUPI) API 197 Cisco Unity Connection Provisioning Interface (CUPI) API for User Account Settings Searching