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": "d3b441ad-6480-45c0-b2a5-dd529536aa32",
    "AccountID": "sample string 1",
    "DateCreated": "2019-10-15T17:15:30.0423068+00:00",
    "DisplayName": "sample string 3",
    "StorageType": "sample string 4",
    "Destinations": [
      {
        "DestinationID": "2ec1ebb0-5be4-4c53-b037-f8486a2547e8",
        "AccountID": "78bb1553-464b-4eca-975e-b4bf18104727",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      },
      {
        "DestinationID": "2ec1ebb0-5be4-4c53-b037-f8486a2547e8",
        "AccountID": "78bb1553-464b-4eca-975e-b4bf18104727",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      }
    ]
  },
  {
    "ResellerAccountID": "d3b441ad-6480-45c0-b2a5-dd529536aa32",
    "AccountID": "sample string 1",
    "DateCreated": "2019-10-15T17:15:30.0423068+00:00",
    "DisplayName": "sample string 3",
    "StorageType": "sample string 4",
    "Destinations": [
      {
        "DestinationID": "2ec1ebb0-5be4-4c53-b037-f8486a2547e8",
        "AccountID": "78bb1553-464b-4eca-975e-b4bf18104727",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      },
      {
        "DestinationID": "2ec1ebb0-5be4-4c53-b037-f8486a2547e8",
        "AccountID": "78bb1553-464b-4eca-975e-b4bf18104727",
        "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>2019-10-15T17:15:30.0423068+00:00</DateCreated>
    <Destinations>
      <DestinationOfAccount>
        <AccountID>78bb1553-464b-4eca-975e-b4bf18104727</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>2ec1ebb0-5be4-4c53-b037-f8486a2547e8</DestinationID>
      </DestinationOfAccount>
      <DestinationOfAccount>
        <AccountID>78bb1553-464b-4eca-975e-b4bf18104727</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>2ec1ebb0-5be4-4c53-b037-f8486a2547e8</DestinationID>
      </DestinationOfAccount>
    </Destinations>
    <DisplayName>sample string 3</DisplayName>
    <StorageType>sample string 4</StorageType>
    <ResellerAccountID>d3b441ad-6480-45c0-b2a5-dd529536aa32</ResellerAccountID>
  </ProviderAccountsModel>
  <ProviderAccountsModel>
    <AccountID>sample string 1</AccountID>
    <DateCreated>2019-10-15T17:15:30.0423068+00:00</DateCreated>
    <Destinations>
      <DestinationOfAccount>
        <AccountID>78bb1553-464b-4eca-975e-b4bf18104727</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>2ec1ebb0-5be4-4c53-b037-f8486a2547e8</DestinationID>
      </DestinationOfAccount>
      <DestinationOfAccount>
        <AccountID>78bb1553-464b-4eca-975e-b4bf18104727</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>2ec1ebb0-5be4-4c53-b037-f8486a2547e8</DestinationID>
      </DestinationOfAccount>
    </Destinations>
    <DisplayName>sample string 3</DisplayName>
    <StorageType>sample string 4</StorageType>
    <ResellerAccountID>d3b441ad-6480-45c0-b2a5-dd529536aa32</ResellerAccountID>
  </ProviderAccountsModel>
</ArrayOfProviderAccountsModel>