GET api/Accounts

Account List

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Return provider account list

Collection of ProviderAccountsModel
NameDescriptionTypeAdditional 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": "01074fa7-0624-43e7-ae41-644e7f485253",
    "AccountID": "sample string 1",
    "DateCreated": "2024-03-29T10:59:48.2301455Z",
    "DisplayName": "sample string 3",
    "StorageType": "sample string 4",
    "Destinations": [
      {
        "DestinationID": "6a9821ec-07b0-4416-8796-3fa9eee0d340",
        "AccountID": "0746b828-fbd3-43a2-88cd-40b410346e23",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      },
      {
        "DestinationID": "6a9821ec-07b0-4416-8796-3fa9eee0d340",
        "AccountID": "0746b828-fbd3-43a2-88cd-40b410346e23",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      }
    ]
  },
  {
    "ResellerAccountID": "01074fa7-0624-43e7-ae41-644e7f485253",
    "AccountID": "sample string 1",
    "DateCreated": "2024-03-29T10:59:48.2301455Z",
    "DisplayName": "sample string 3",
    "StorageType": "sample string 4",
    "Destinations": [
      {
        "DestinationID": "6a9821ec-07b0-4416-8796-3fa9eee0d340",
        "AccountID": "0746b828-fbd3-43a2-88cd-40b410346e23",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      },
      {
        "DestinationID": "6a9821ec-07b0-4416-8796-3fa9eee0d340",
        "AccountID": "0746b828-fbd3-43a2-88cd-40b410346e23",
        "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>2024-03-29T10:59:48.2301455Z</DateCreated>
    <Destinations>
      <DestinationOfAccount>
        <AccountID>0746b828-fbd3-43a2-88cd-40b410346e23</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>6a9821ec-07b0-4416-8796-3fa9eee0d340</DestinationID>
      </DestinationOfAccount>
      <DestinationOfAccount>
        <AccountID>0746b828-fbd3-43a2-88cd-40b410346e23</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>6a9821ec-07b0-4416-8796-3fa9eee0d340</DestinationID>
      </DestinationOfAccount>
    </Destinations>
    <DisplayName>sample string 3</DisplayName>
    <StorageType>sample string 4</StorageType>
    <ResellerAccountID>01074fa7-0624-43e7-ae41-644e7f485253</ResellerAccountID>
  </ProviderAccountsModel>
  <ProviderAccountsModel>
    <AccountID>sample string 1</AccountID>
    <DateCreated>2024-03-29T10:59:48.2301455Z</DateCreated>
    <Destinations>
      <DestinationOfAccount>
        <AccountID>0746b828-fbd3-43a2-88cd-40b410346e23</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>6a9821ec-07b0-4416-8796-3fa9eee0d340</DestinationID>
      </DestinationOfAccount>
      <DestinationOfAccount>
        <AccountID>0746b828-fbd3-43a2-88cd-40b410346e23</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>6a9821ec-07b0-4416-8796-3fa9eee0d340</DestinationID>
      </DestinationOfAccount>
    </Destinations>
    <DisplayName>sample string 3</DisplayName>
    <StorageType>sample string 4</StorageType>
    <ResellerAccountID>01074fa7-0624-43e7-ae41-644e7f485253</ResellerAccountID>
  </ProviderAccountsModel>
</ArrayOfProviderAccountsModel>