McDewey

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

Page 438

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

Request URI: DELETE: https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> Accept: application/json Connection: keep_alive The following is the response from the above DELETE request and the actual response will depend upon the information given by you: Response Code: 204 Assigning a Schedule to a Call Handler Template The following is an example of the PUT request that can be used to assign a schedule to a call handler template: PUT https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> The ScheduleSetObjectId can be fetched using the URI https://<connection-server>/vmrest/schedulesets. <CallhandlerTemplate> <ScheduleSetObjectId>eb11c6cc-fc9e-4651-8c01-8f0b2e421918</ScheduleSetObjectId> </CallhandlerTemplate> 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 assign a schedule to a call handler template, do the following: Request URI: PUT: https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> Accept: application/json Content_type: application/json Connection: keep_alive { "ScheduleSetObjectId":"5c42abd2-84a5-4fcf-84cf-d0a19c70f207" } 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 Updating Partition of the Call Handler Template This PUT request can be used to assign partition to a call handler template. PUT https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> To fetch PartitionObjectId, use the URI https://<connection-server>/vmrest/partitions. Cisco Unity Connection Provisioning Interface (CUPI) API 406 Cisco Unity Connection Provisioning Interface (CUPI) API for Call Handler Template Assigning a Schedule to a Call Handler Template