Obtaining the Tenant APS Resources of a Customer Account
You can obtain a list of the Tenant APS resources that belong to a customer account by following these steps:
- Prepare the system identifier of that customer account.
- Prepare the APS type identifier of the Tenant APS resource.
-
Execute the following request:
CopyGET https://BRAND_DOMAIN/aps/2/resources/?implementing(APS_TYPE_ID_OF_TENANT_RESOURCE),eq(account.id,SYSTEM_ID_OF_CUSTOMER_ACCOUNT)
Note: To prepare the APS type ID of an APS resource, use the instructions in Obtaining APS Type IDs.
Example
HTTP Request
Copy
GET https://example.com/aps/2/resources/?implementing(http://www.parallels.com/Office365/Tenant/2.8),eq(account.id,1000014)
HTTP Response
Copy
[
{
"transition_info": {
"subdomain": "",
"vodafoneCustomerId": 0
},
"default_admin_login": "admin@example.onmicrosoft.com",
"domain_name": "example.onmicrosoft.com",
"is_activated": "yes",
"aps": {
"modified": "2020-03-02T12:31:41Z",
"id": "52e03407-6518-4ffb-999f-00d47d7ecfe3",
"subscription": "71f28685-f635-49fc-936c-1eefe0440a4a",
"type": "http://www.parallels.com/Office365/Tenant/2.8",
"status": "aps:ready",
"revision": 5
},
"ms_account_id": "135b82ac-1ee1-4461-9da4-112d749a3009",
"last_synchronization": "2020-03-02T12:31:49Z",
"initial_subdomain": "example",
"totalPointsSold": {
"usage": 12,
"limit": -1
},
"totalSeatsSold": {
"usage": 3,
"limit": -1
},
"bind_to_domain": "example.onmicrosoft.com"
}
]