POST api/v1/AccountAdminAPI/AddressBookPermissionsBuildModel

This account is purely for dealing with some of the logic in the UI POST controller. It determines which sub accounts have been changed.

Request Information

URI Parameters

None.

Body Parameters

Sub account ID

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "3ec9d6ea-0fe7-408b-b830-e05eed668ed2",
  "14104f96-f427-44e8-9cc3-7e7033339ff2"
]

application/xml, text/xml

Sample:
<ArrayOfGuid xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <guid>3ec9d6ea-0fe7-408b-b830-e05eed668ed2</guid>
  <guid>14104f96-f427-44e8-9cc3-7e7033339ff2</guid>
</ArrayOfGuid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TwoSms.CustomerPortalRole.API.Admin.Accounts.AccountAddressbookPermissionRequest
NameDescriptionTypeAdditional information
accountsAddressbookAccess

Collection of TwoSms.CustomerPortalRole.API.Admin.Accounts.AccountAddressBbookPermissionDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "accountsAddressbookAccess": [
    {
      "ID": "a10980c4-91d1-4b8a-b35a-fcfe2d70a6a8",
      "PermissionLevel": 0
    },
    {
      "ID": "a10980c4-91d1-4b8a-b35a-fcfe2d70a6a8",
      "PermissionLevel": 0
    }
  ]
}

application/xml, text/xml

Sample:
<AccountAddressbookPermissionRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <accountsAddressbookAccess>
    <AccountAddressBbookPermissionDetails>
      <ID>a10980c4-91d1-4b8a-b35a-fcfe2d70a6a8</ID>
      <PermissionLevel>NONE</PermissionLevel>
    </AccountAddressBbookPermissionDetails>
    <AccountAddressBbookPermissionDetails>
      <ID>a10980c4-91d1-4b8a-b35a-fcfe2d70a6a8</ID>
      <PermissionLevel>NONE</PermissionLevel>
    </AccountAddressBbookPermissionDetails>
  </accountsAddressbookAccess>
</AccountAddressbookPermissionRequest>