McDewey

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

Page 266

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

JSON Example: Request URI: POST https://<connection-server>/vmrest/coses Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "FaxRestrictionObjectId":"3da15ac5-e56f-4fac-b631-9f08826e1472", "OutcallRestrictionObjectId":"3da15ac5-e56f-4fac-b631-9f08826e1472", "XferRestrictionObjectId":"3da15ac5-e56f-4fac-b631-9f08826e1472" } The following is the response from the above POST request and the actual response will depend upon the information given by you: <pre> Response Code: 201 Updating the Class of Services Example 1: The following is an example of the PUT request that allows you to update the display name of the class of services: PUT https://<connection-server>/vmrest/coses/<cosobjectid> Request Body: <Cos> <DisplayName>Texoma_123</DisplayName> </Cos> The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 JSON Example To update display name of COS, do the following: Request URI: PUT https://<connection-server>/vmrest/coses/<cosobjectid> Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "DisplayName": "Texoma_123" } The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 Example 2: The following is an example of the PUT request that allows you to update the other fields of the class of services: Cisco Unity Connection Provisioning Interface (CUPI) API 234 Cisco Unity Connection Provisioning Interface (CUPI) API -- Class of Service (COS) APIs Updating the Class of Services