McDewey

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

Page 395

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

The following is a JSON example of the POST request that adds the User Templates: https://<connection_server>/vmrest/usertemplates?templateAlias=voicemailusertemplate The following is an example of the response from the above POST request and the actual response will depend upon the information given by you: { "Alias": "adminTemplate1", "DisplayName": "Admin Voice Mail Template" } Response Code: 201 Modifying a User Template Example 1 The following is an example of the PUT request that modifies the user template as represented by <objectId>: https://<connection_server>/vmrest/usertemplate/<objectId> The following is an example of the response from the above PUT request and the actual response will depend upon the information given by you: <UserTemplate> <SendBroadcastMsg>true</SendBroadcastMsg> <GreetByName>true</GreetByName> <ListInDirectory>true</ListInDirectory> <IsVmEnrolled>true</IsVmEnrolled> <SayCopiedNames>true</SayCopiedNames> <SayDistributionList>true</SayDistributionList> <SayMsgNumber>true</SayMsgNumber> </UserTemplate> Response Code: 204 Example 2 The following is a JSON example of the PUT request that modifies the user template as represented by <objectId>: https://<connection_server>/vmrest/usertemplate/<objectId> The following is an example of the response from the above PUT request and the actual response will depend upon the information given by you: { "SendBroadcastMsg" : "true", "GreetByName" : "true", "ListInDirectory" : "true", "IsVmEnrolled" : "true" "SayCopiedNames" : "true", "SayDistributionList" : "true", "SayMsgNumber" :"true" } Cisco Unity Connection Provisioning Interface (CUPI) API 363 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Settings Modifying a User Template