McDewey

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

Page 349

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

"PartitionURI":"/vmrest/partitions/9c010254-1493-4e1a-9e47-fe2494792744" "UseDynamicNameSearchWeight":"false" "LdapType":"0" "EnableMessageBookmark":"false" "SayTotalDraftMsg":"false" "EnableSaveDraft":"false" "RetainUrgentMessageFlag":"false" "SayMessageLength":"false" "CreateSmtpProxyFromCorp":"false" "AutoAdvanceMsgs":"false" "SaySenderAfter":"false" "SaySenderExtensionAfter":"false" "SayMsgNumberAfter":"false" "SayAniAfter":"false" "SayMessageLengthAfter":"false" "UserTemplateRolesURI":"/vmrest/usertemplates/a46d269a-6614-485b-8649- 099afef0604d/usertemplateroles" "UserTemplateNotificationDevicesURI":"/vmrest/usertemplates/a46d269a-6614-485b-8649- 099afef0604d/usertemplatenotificationdevices" "TemplateExternalServiceAccountsURI":"/vmrest/usertemplates/a46d269a-6614-485b-8649- 099afef0604d/templateexternalserviceaccounts" "UserTemplateWebPasswordURI":"/vmrest/usertemplates/a46d269a-6614-485b-8649- 099afef0604d/credential/password" "UserTemplateVoicePinURI":"/vmrest/usertemplates/a46d269a-6614-485b-8649- 099afef0604d/credential/pin" "UserTemplateMessageActionURI":"/vmrest/usertemplates/a46d269a-6614-485b-8649- 099afef0604d/usertemplatemessageactions" } Response Code: 200 Same way user templates can be viewed for particular COS object ID, mailbox store object ID, phone system and call handler object ID. • PartitionObjectId can be viewed from https://<connection-server>/vmrest/partitions • COSObjectId : https://<connection-server>/vmrest/coses • PhoneSystem : https://<connection-server>/vmrest/phonesystems Note Creating a User Template The request can be used to create the User Template. It can be used to create the User Template with specific Partition Object ID, COS, MailboxStoreObjectId, Phone System. The following is an example of the POST request that creates a new user template: POST https://<connection-server>/vmrest/usertemplates?templateAlias=voicemailusertemplate Request Body: <UserTemplate> <Alias>ABC_user template</Alias> <DisplayName>ABC@user template</DisplayName> </UserTemplate> The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 Cisco Unity Connection Provisioning Interface (CUPI) API 317 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Creating a User Template