/mcpAuthenticationMode: The web authentication mode for Unified Messaging. The possible authentication mode can be Basic (1), NTLM (3) and OAuth2 (4) for Office 365 service. By default, the Authentication Mode is set to Basic (1). Note If you select OAuth2 authentication mode for Office 365 service, you must provide the values of DirectoryID, ClientId and ClientSecret from Azure portal. Note (Applicable to 12.5SU7 and later releases) If you select OAuth2 authentication mode for Office 365 service, Service Alias and Service Password fields are not required in API request body for adding Unified Messaging Service. Note Modifying Unified Messaging Service The following is an example of the PUT request that modifies the Unified Messaging Service represented by <externalserviceObject-id>: https://<connection_server>/vmrest/externalservices/<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: <ExternalService> <ServiceAlias> client-team\administrator</ServiceAlias> <ServicePassword>Ecsbulab13</ServicePassword> <ServerType>4</ServerType> <Server>10.65.156.190</Server> <AuthenticationMode>1</AuthenticationMode> <SecurityTransportType>1</SecurityTransportType> </ExternalService> <ExternalService> <ServiceAlias> client-team\administrator</ServiceAlias> <ServicePassword></ServicePassword> <ServerType>4</ServerType> <Server>10.65.156.190</Server> <AuthenticationMode>4</AuthenticationMode> <SecurityTransportType>1</SecurityTransportType> <ClientId>d64ea56b-1d60-47c7-a26d-7bcbee3a09c3</ClientId> <ClientSecret></ClientSecret> <DirectoryID>cafae64a-ffb2-4585-8c11-2d86aa8b3bf5</DirectoryID> </ExternalService> Successful Response Code: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 622 Cisco Unity Connection Provisioning Interface (CUPI) API for Unified Messaging Modifying Unified Messaging Service
