McDewey

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

Page 441

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

Updating Timezone of a Call Handler Template This PUT request can be used to update timezone for a call handler template. It can be set to default or particular timezone. The mandatory fields for this request are: • UseDefaultTimeZone • TimeZone To know timzones installed on the server following URI can be used: https://<connection-server>/vmrest/timezones PUT https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> Request Body: <CallhandlerTemplate> <UseDefaultTimeZone>false</UseDefaultTimeZone> <TimeZone>190</TimeZone> </CallhandlerTemplate> Response Code: 204 JSON Example To update timezone of call handler template, do the following: Request URI: PUT: https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid> Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "UseDefaultTimeZone":"false", "TimeZone":"190" } Response Code: 204 The following is the response from the above PUT request and the actual response will depend upon the information given by you: Explanation of Data Fields Comments Data Type Operations Parameter Call Handler Template URI String Read Only URI Specifies the after message action.Possible Values Refer to the table 1 under the section Enum Type as given at the end of the document Default value:1 Integer Read/Write AfterMessageAction Cisco Unity Connection Provisioning Interface (CUPI) API 409 Cisco Unity Connection Provisioning Interface (CUPI) API for Call Handler Template Updating Timezone of a Call Handler Template