McDewey

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

Page 454

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

<TemplateGreeting> <URI>/vmrest/callhandlertemplates/5f6e1043-5edf-4646-90ac- 836910ac1a4c/templategreetings/Alternate</URI> <CallHandlerObjectId>5f6e1043-5edf-4646-90ac-836910ac1a4c</CallHandlerObjectId> <CallhandlerURI>/vmrest/handlers/callhandlers/5f6e1043-5edf-4646-90ac- 836910ac1a4c</CallhandlerURI> <IgnoreDigits>false</IgnoreDigits> <PlayWhat>0</PlayWhat> <RepromptDelay>2</RepromptDelay> <Reprompts>0</Reprompts> <TimeExpires>1972-01-01 00:00:00.0</TimeExpires> <GreetingType>Alternate</GreetingType> <AfterGreetingAction>4</AfterGreetingAction> <PlayRecordMessagePrompt>true</PlayRecordMessagePrompt> <EnableTransfer>false</EnableTransfer> </TemplateGreeting> Response Code: 200 JSON Example To view a specific greeting, do the following: Request URI: GET: https://<connection-server>/vmrest/callhandlertemplates/<Callhandlertemplate-objectid>/templategreetings/<Greetingname> Accept: application/json Connection: keep_alive The following is the response from the above GET request and the actual response will depend upon the information given by you: { "URI":"/vmrest/callhandlertemplates/a2f8fb8f-68ee-4a17-90a0- bff0308b5b1a/templategreetings/Alternate" "CallHandlerObjectId":"a2f8fb8f-68ee-4a17-90a0-bff0308b5b1a" "CallhandlerURI":"/vmrest/handlers/callhandlers/a2f8fb8f-68ee-4a17-90a0-bff0308b5b1a" "IgnoreDigits":"false" "PlayWhat":"0" "RepromptDelay":"2" "Reprompts":"0" "TimeExpires":"1972-01-01 00:00:00.0" "GreetingType":"Alternate" "AfterGreetingAction":"4" "PlayRecordMessagePrompt":"true" "EnableTransfer":"false" } Response Code: 200 Updating a Greeting The following is an example of the GET request that updates the details of specific greeting: Cisco Unity Connection Provisioning Interface (CUPI) API 422 Cisco Unity Connection Provisioning Interface (CUPI) API for Call Handler Template Updating a Greeting