McDewey

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

Page 440

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

Example 2: The Inherit language field from the call is selected and the UseDefaultLanguage field is updated Request Body: <CallhandlerTemplate> <UseCallLanguage>true</UseCallLanguage> <UseDefaultLanguage>false</UseDefaultLanguage> <Language>1033</Language> </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 the UseDefaultLanguage field is updated in the database as the Language field is specified. The Inherit Language field from the call is selected but the UseDefaultLanguage field is updated in the database as the Language field is specified. Language code for installed language can be fetched from: https://<connection-server>/vmrest/installedlanguages Language code can be fetched from the URI: https://<connection-server>/vmrest/languagemap The below table specify the details of value for each field: Note Description Language UseDefaultLanguage UseCallLanguage This will select the default language. Null/Language Code true false This will inherit the language from user. Null/Language Code true/false true This will select the particular language as per the code. Language Code false false JSON Example To update language option of call handler template, do the follwoing: Request URI: PUT: https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "UseCallLanguage":"true", "UseDefaultLanguage":"false", "Language":"1033" } 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 Cisco Unity Connection Provisioning Interface (CUPI) API 408 Cisco Unity Connection Provisioning Interface (CUPI) API for Call Handler Template Updating Language Option of the Call Handler Template