GET api/Accounts
Account List
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": "ae4f155c-d28c-49ed-8691-c6567f8a9cee", "AccountID": "sample string 1", "DateCreated": "2023-03-28T06:25:27.5025071Z", "DisplayName": "sample string 3", "StorageType": "sample string 4", "Destinations": [ { "DestinationID": "d297ddd3-a2e8-4265-a404-99afccf4e087", "AccountID": "7a052508-fccf-46b1-b5b1-02810d1d878c", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" }, { "DestinationID": "d297ddd3-a2e8-4265-a404-99afccf4e087", "AccountID": "7a052508-fccf-46b1-b5b1-02810d1d878c", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" } ] }, { "ResellerAccountID": "ae4f155c-d28c-49ed-8691-c6567f8a9cee", "AccountID": "sample string 1", "DateCreated": "2023-03-28T06:25:27.5025071Z", "DisplayName": "sample string 3", "StorageType": "sample string 4", "Destinations": [ { "DestinationID": "d297ddd3-a2e8-4265-a404-99afccf4e087", "AccountID": "7a052508-fccf-46b1-b5b1-02810d1d878c", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" }, { "DestinationID": "d297ddd3-a2e8-4265-a404-99afccf4e087", "AccountID": "7a052508-fccf-46b1-b5b1-02810d1d878c", "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>2023-03-28T06:25:27.5025071Z</DateCreated> <Destinations> <DestinationOfAccount> <AccountID>7a052508-fccf-46b1-b5b1-02810d1d878c</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>d297ddd3-a2e8-4265-a404-99afccf4e087</DestinationID> </DestinationOfAccount> <DestinationOfAccount> <AccountID>7a052508-fccf-46b1-b5b1-02810d1d878c</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>d297ddd3-a2e8-4265-a404-99afccf4e087</DestinationID> </DestinationOfAccount> </Destinations> <DisplayName>sample string 3</DisplayName> <StorageType>sample string 4</StorageType> <ResellerAccountID>ae4f155c-d28c-49ed-8691-c6567f8a9cee</ResellerAccountID> </ProviderAccountsModel> <ProviderAccountsModel> <AccountID>sample string 1</AccountID> <DateCreated>2023-03-28T06:25:27.5025071Z</DateCreated> <Destinations> <DestinationOfAccount> <AccountID>7a052508-fccf-46b1-b5b1-02810d1d878c</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>d297ddd3-a2e8-4265-a404-99afccf4e087</DestinationID> </DestinationOfAccount> <DestinationOfAccount> <AccountID>7a052508-fccf-46b1-b5b1-02810d1d878c</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>d297ddd3-a2e8-4265-a404-99afccf4e087</DestinationID> </DestinationOfAccount> </Destinations> <DisplayName>sample string 3</DisplayName> <StorageType>sample string 4</StorageType> <ResellerAccountID>ae4f155c-d28c-49ed-8691-c6567f8a9cee</ResellerAccountID> </ProviderAccountsModel> </ArrayOfProviderAccountsModel>