McDewey

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

Page 658

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

For each unified messaging service account, CUPI returns the following information: • URI - The URI for retrieving the unified messaging service account • IsEnabled - A flag to indicate whether the unified messaging service account is enabled • UseServiceCredentials - A flag to indicate whether service credentials or user credentials are used to sign in the unified messaging service account • LoginType - A flag to indicate whether the user alias (0), a guest account (1), or a specified user ID (2) is used to sign in the account • UserId - The user ID to sign in to the unified messaging service account, if one is used • ObjectId - The unique ID of the unified messaging service account • Display Name - The display name of the unified messaging service account To retrieve a specific unified messaging service account, use the GET method with the URI field from above as follows: GET http://<connection_server>/vmrest/usertemplates/<objectId>/templateexternalserviceaccounts/<objectId> <?xml version="1.0" encoding="UTF-8"?> <TemplateExternalServiceAccount> <URI>/vmrest/usertemplates/85a845d3-063d-4641-aa70-8b536282bffb/templateexternalserviceaccounts/c4e7b01f-8b6e-4a08-9d57-856e81919c66</URI> <EmailAddressUseCorp>false</EmailAddressUseCorp> <EnableCalendarCapability>true</EnableCalendarCapability> <EnableMailboxSynchCapability>true</EnableMailboxSynchCapability> <EnableMeetingCapability>false</EnableMeetingCapability> <EnableTtsOfEmailCapability>true</EnableTtsOfEmailCapability> <ExternalServiceObjectId>26f20913-af8d-465a-8437-707028d376bd</ExternalServiceObjectId> <IsPrimaryMeetingService>false</IsPrimaryMeetingService> <LoginType>0</LoginType> <ObjectId>c4e7b01f-8b6e-4a08-9d57-856e81919c66</ObjectId> <UserTemplateObjectId>85a845d3-063d-4641-aa70-8b536282bffb</UserTemplateObjectId> <UserTemplateURI>/vmrest/usertemplates/85a845d3-063d-4641-aa70-8b536282bffb</UserTemplateURI> <DisplayName>UMS_AP1111I</DisplayName> <ServerType>4</ServerType> <UserTemplateDisplayName>Template</UserTemplateDisplayName> </TemplateExternalServiceAccount> Response Code: 200 Adding New External Service Account The following is an example of the POST request that adds a Unified Messaging Account: https://<connection_server>/vmrest/usertemplates/<objectId>/templateexternalserviceaccounts/<objectId> The actual response will depend upon the information given by you. The following are the mandatory parameters that you need to enter to create a Unified Messaging Account: Cisco Unity Connection Provisioning Interface (CUPI) API 626 Cisco Unity Connection Provisioning Interface (CUPI) API for Unified Messaging Adding New External Service Account