McDewey

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

Page 571

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

Updating the Language of Directory Handler This request can be used to update a language for a directory handler. It can be used to set a particular language for a directory handler, set the system default language as the language of directory handler or set the language of directory handler as inherit from call. URI to get Language code: https://<connection-server>/vmrest/languagemap URI to Get Language code for installed languages: https://<connection-server>/vmrest/installedlang The below table specify the details of value for each field: 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 Request URI PUT https://<connection-server>/vmrest/handlers/directoryhandlers/<directoryHandlerObjectid> Example 1: Updating the Inherit Language field and not the Language field Request Body <Directoryhandler> <UseCallLanguage>true</UseCallLanguage> <UseDefaultLanguage>false</UseDefaultLanguage> </Directoryhandler> Response Code: 204 The Inherit Language field from the call is selected but the UseDefaultLanguage field will not get updated in the database as the Language field is missing. If the Language field is NULL, the UseDefaultLanguage field is by default set to TRUE. Example 2: Updating the Inherit Language field and the Language field Request Body <Directoryhandler> <UseCallLanguage>true</UseCallLanguage> <UseDefaultLanguage>false</UseDefaultLanguage> <Language>1033</Language> </Directoryhandler> 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. Cisco Unity Connection Provisioning Interface (CUPI) API 539 Cisco Unity Connection Provisioning Interface (CUPI) API--Directory Handler APIs Updating the Language of Directory Handler