/mcpResponse Code: 200 Creating a Class of Services You can create a new class of services in a generic way or by giving restriction tables as input. Example 1: In a generic way POST https://<connection-server>/vmrest/coses Request Body: <Cos> <DisplayName>Texoma_cos_1</DisplayName> </Cos> The following is an example of the POST request that creates a new class of service in a generic way: Response Code: 201 JSON Example To create new COS, do the following: Request URI: POST https://<connection-server>/vmrest/coses Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "DisplayName":"Texoma_cos_1" } The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 Example 2: Giving restriction tables as input The following is an example of the POST request that creates a new class of services by giving restriction tables as input: POST https://<connection-server>/vmrest/coses Request Body: <cos> <DisplayName>Texoma_cos</DisplayName> <FaxRestrictionObjectId>3da15ac5-e56f-4fac-b631-9f08826e1472</FaxRestrictionObjectId> <OutcallRestrictionObjectId>3da15ac5-e56f-4fac-b631-9f08826e1472</OutcallRestrictionObjectId> <XferRestrictionObjectId>3da15ac5-e56f-4fac-b631-9f08826e1472</XferRestrictionObjectId> </cos> The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 Cisco Unity Connection Provisioning Interface (CUPI) API 233 Cisco Unity Connection Provisioning Interface (CUPI) API -- Class of Service (COS) APIs Creating a Class of Services