/mcpPOST https://<connection-server>/vmrest/handlers/callhandlers?templateObjectId=<callHandlerTemplate-ObjectId> Request Body: <pre> <CallHandler> <DisplayName>Taxoma_Test</DisplayName> </CallHandler> 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 /vmrest/handlers/callhandlers/8c400830-7e92-4908-9ca6-a4b123f1bd19 JSON Example To create a new call handler, do the following: POST https://<connection-server>/vmrest/handlers/callhandlers?templateObjectId=<callHandlerTemplate-ObjectId> Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "DisplayName": "Texoma1" } 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 /vmrest/handlers/callhandlers/8c400830-7e92-4908-9ca6-a4b123f1bd19 Make sure that while creating a Call Handler, do not provide the recipient object Id in the request body. By default, Call handler is created with undeliverable messages distribution list as the recipient. You can update the recipient object id using PUT API. Note Delete the Call Handler The following is an example of the DELETE request that can be used to delete a call handler: DELETE https://<connection-server>/vmrest/callhandlers/<callhandler-objectid> 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 JSON Example To delete a call handler, do the following: Cisco Unity Connection Provisioning Interface (CUPI) API 470 Cisco Unity Connection Provisioning Interface (CUPI) API -- Call Handler Delete the Call Handler
