McDewey

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

Page 352

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

The following is an example of the PUT request that updates the country code of a user template: PUT https://<connection-server>/vmrest/usertemplates/<usertemplateobjectid> Request Body: <UserTemplate> <Country>SA</Country> </UserTemplate> 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 the country code of a user template, do the following: Request URI: PUT https://<connection-server>/vmrest/usertemplates/<usertemplateobjectid> Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "Country":"XY" } 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 Country code must only have 2 character codes. Note Update Language of User Template To view the language code, use the following URI: PUT https://<connection-server>/vmrest/languagemap And check language code; use that language code to change language of user template. The following is an example of the PUT request that updates the language of a user template: PUT https://<connection-server>/vmrest/usertemplates/<usertemplateobjectid> Request Body: <UserTemplate> <Language>1025</Language> </UserTemplate> 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 Cisco Unity Connection Provisioning Interface (CUPI) API 320 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Update Language of User Template

Image 1 from page 352