GET api/Accounts
Retrieves a list of accounts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Return provider account list
Collection of ProviderAccountsModelName | Description | Type | Additional information |
---|---|---|---|
ResellerAccountID |
Reseller storage account unique identifier |
globally unique identifier |
None. |
AccountID |
Account unique identifier |
string |
None. |
DateCreated |
Date Created |
date |
None. |
DisplayName |
Display Name |
string |
None. |
StorageType |
Storage Type |
string |
None. |
Destinations |
Destination List |
Collection of DestinationOfAccount |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ResellerAccountID": "fec05f48-f5cc-4347-8757-3721b707fba7", "AccountID": "sample string 1", "DateCreated": "2025-08-31T06:38:52.0065642Z", "DisplayName": "sample string 3", "StorageType": "sample string 4", "Destinations": [ { "DestinationID": "1fc8ece7-70cb-458a-9f71-a7f6b9c21843", "AccountID": "cd1b1d59-ba43-4a68-aa6a-14282818a003", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" }, { "DestinationID": "1fc8ece7-70cb-458a-9f71-a7f6b9c21843", "AccountID": "cd1b1d59-ba43-4a68-aa6a-14282818a003", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" } ] }, { "ResellerAccountID": "fec05f48-f5cc-4347-8757-3721b707fba7", "AccountID": "sample string 1", "DateCreated": "2025-08-31T06:38:52.0065642Z", "DisplayName": "sample string 3", "StorageType": "sample string 4", "Destinations": [ { "DestinationID": "1fc8ece7-70cb-458a-9f71-a7f6b9c21843", "AccountID": "cd1b1d59-ba43-4a68-aa6a-14282818a003", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" }, { "DestinationID": "1fc8ece7-70cb-458a-9f71-a7f6b9c21843", "AccountID": "cd1b1d59-ba43-4a68-aa6a-14282818a003", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfProviderAccountsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <ProviderAccountsModel> <AccountID>sample string 1</AccountID> <DateCreated>2025-08-31T06:38:52.0065642Z</DateCreated> <Destinations> <DestinationOfAccount> <AccountID>cd1b1d59-ba43-4a68-aa6a-14282818a003</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>1fc8ece7-70cb-458a-9f71-a7f6b9c21843</DestinationID> </DestinationOfAccount> <DestinationOfAccount> <AccountID>cd1b1d59-ba43-4a68-aa6a-14282818a003</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>1fc8ece7-70cb-458a-9f71-a7f6b9c21843</DestinationID> </DestinationOfAccount> </Destinations> <DisplayName>sample string 3</DisplayName> <StorageType>sample string 4</StorageType> <ResellerAccountID>fec05f48-f5cc-4347-8757-3721b707fba7</ResellerAccountID> </ProviderAccountsModel> <ProviderAccountsModel> <AccountID>sample string 1</AccountID> <DateCreated>2025-08-31T06:38:52.0065642Z</DateCreated> <Destinations> <DestinationOfAccount> <AccountID>cd1b1d59-ba43-4a68-aa6a-14282818a003</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>1fc8ece7-70cb-458a-9f71-a7f6b9c21843</DestinationID> </DestinationOfAccount> <DestinationOfAccount> <AccountID>cd1b1d59-ba43-4a68-aa6a-14282818a003</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>1fc8ece7-70cb-458a-9f71-a7f6b9c21843</DestinationID> </DestinationOfAccount> </Destinations> <DisplayName>sample string 3</DisplayName> <StorageType>sample string 4</StorageType> <ResellerAccountID>fec05f48-f5cc-4347-8757-3721b707fba7</ResellerAccountID> </ProviderAccountsModel> </ArrayOfProviderAccountsModel>