GET api/v1/admin/accounts/addressbookpermissions

Returns a list of sub accounts and their

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TwoSms.CustomerPortalRole.API.Misc.ResponseOfTwoSms.CustomerPortalRole.API.Admin.Accounts.AccountAddressBookPermissionResponse[]
NameDescriptionTypeAdditional information
Error

TwoSms.CustomerPortalRole.API.Misc.Error

None.

ResponseData

TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfTwoSms.CustomerPortalRole.API.Admin.Accounts.AccountAddressBookPermissionResponse[]

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": {
    "ErrorCode": "sample string 1",
    "ErrorReason": "sample string 2"
  },
  "ResponseData": {
    "Identification": {
      "UserId": "sample string 1"
    },
    "Result": "sample string 1",
    "Detail": [
      {
        "ID": "b6664405-e050-4c16-9a48-2acdb906b083",
        "Emailaddress": "sample string 2",
        "PermissionLevel": 0
      },
      {
        "ID": "b6664405-e050-4c16-9a48-2acdb906b083",
        "Emailaddress": "sample string 2",
        "PermissionLevel": 0
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfAccountAddressBookPermissionResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <ErrorCode>sample string 1</ErrorCode>
    <ErrorReason>sample string 2</ErrorReason>
  </Error>
  <ResponseData>
    <Result>sample string 1</Result>
    <Identification>
      <UserId>sample string 1</UserId>
    </Identification>
    <Detail>
      <AccountAddressBookPermissionResponse>
        <ID>b6664405-e050-4c16-9a48-2acdb906b083</ID>
        <Emailaddress>sample string 2</Emailaddress>
        <PermissionLevel>NONE</PermissionLevel>
      </AccountAddressBookPermissionResponse>
      <AccountAddressBookPermissionResponse>
        <ID>b6664405-e050-4c16-9a48-2acdb906b083</ID>
        <Emailaddress>sample string 2</Emailaddress>
        <PermissionLevel>NONE</PermissionLevel>
      </AccountAddressBookPermissionResponse>
    </Detail>
  </ResponseData>
</ResponseOfArrayOfAccountAddressBookPermissionResponse>