McDewey

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

Page 439

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

<CallhandlerTemplate> <PartitionObjectId>46a0377b-00d7-40a0-8738-81106fc730ea</PartitionObjectId> </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 update partition of call handler template, do the following: <pre> PUT: https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> Accept: application/json Content_type: application/json Connection: keep_alive </pre> { "PartitionObjectId":"fe2fe907-bdcb-416e-89b7-c1bb130d0f98" } 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 Language Option of the Call Handler Template This PUT request can be used to update language for a call handler template. To know languages installed on the server following URI can be used: PUT https://<connection-server>/vmrest/installedlanguages PUT https://<connection-server>/vmrest/callhandlertemplates<callhandlertemplate-objectid> Example 1: The Inherit language field from the call is selected but the UseDefaultLanguage field is not updated <CallhandlerTemplate> <UseDefaultLanguage>true</UseDefaultLanguage> <UseCallLanguage>false</UseCallLanguage> </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 The Inherit Language field from the call is selected but this the UseDefaultLanguage field is not updated in the database as the language field is missing as the Language field is NULL and UseDefaultLanguage is by default set to TRUE. Note Cisco Unity Connection Provisioning Interface (CUPI) API 407 Cisco Unity Connection Provisioning Interface (CUPI) API for Call Handler Template Updating Language Option of the Call Handler Template

Image 1 from page 439