cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
806
Views
1
Helpful
1
Replies

Adding unified messaging service to user account

Mamdouh Elgamal
Level 1
Level 1

Hello, i'm trying to confirm the correct POST request body, for adding a unified messaging service to a user account.

below is what i'm sending.

{

   ExternalServiceAccount:

   {

     ExternalServiceObjectId: 'c1664fee-227f-4f45-9037-f8a038aad21e',

     SubscriberObjectId: '3b39149d-e0de-4a30-aae4-9208a8f77270',

     UserURI: '/vmrest/users/3b39149d-e0de-4a30-aae4-9208a8f77270',

     EnableCalendarCapability: true,

     EnableMeetingCapability: false,

     EnableTtsOfEmailCapability: false,

     IsPrimaryMeetingService: false,

     LoginType: 0,

     EnableMailboxSynchCapability: true,

     EmailAddressUseCorp: true

   }

}

getting back {"errors":{"code":"DATA_EXCEPTION","message":"Missing parameter label.subscriberexternalservicemap.externalserviceobjectid"}}

1 Reply 1

Mamdouh Elgamal
Level 1
Level 1

i figured out my mistake, if anyone runs into this.

just need to send the following:

https://<server ip>/vmrest/users/3b39149d-e0de-4a30-aae4-9208a8f77270/externalserviceaccounts

{

"ExternalServiceObjectId": "c1664fee-227f-4f45-9037-f8a038aad21e",

    "SubscriberObjectId": "3b39149d-e0de-4a30-aae4-9208a8f77270",

    "UserURI": "/vmrest/users/3b39149d-e0de-4a30-aae4-9208a8f77270",

    "EnableCalendarCapability": "true",

    "EnableMeetingCapability": "false",

    "EnableMailboxSynchCapability": "true",

    "EmailAddressUseCorp": "true"

}

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: