GET API/Accounts

Returns account list.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns provider account list

Name Description Type Additional Information
ResellerAccountID Reseller Storage Account Unique Identifier globally unique identifier None
AccountID Account Unique Identifier string None
DateCreated - date None
DisplayName Account Displayed Name string None
StorageType - string None
Destinations Destination List Collection of DestinationOfAccount None

Response Formats

application/json, text/json

[
  {
    "ResellerAccountID": "6afe36bf-7ec6-4710-8db2-dda8eea8e2cb",
    "AccountID": "sample string 1",
    "DateCreated": "2019-08-29T10:53:23.1259132+00:00",
    "DisplayName": "sample string 3",
    "StorageType": "sample string 4",
    "Destinations": [
      {
        "DestinationID": "02a28d1f-f812-42d0-9542-a82d500fc879",
        "AccountID": "94d9d625-48f9-4747-b36f-071e7edcc4ef",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      },
      {
        "DestinationID": "02a28d1f-f812-42d0-9542-a82d500fc879",
        "AccountID": "94d9d625-48f9-4747-b36f-071e7edcc4ef",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      }
    ]
  },
  {
    "ResellerAccountID": "6afe36bf-7ec6-4710-8db2-dda8eea8e2cb",
    "AccountID": "sample string 1",
    "DateCreated": "2019-08-29T10:53:23.1259132+00:00",
    "DisplayName": "sample string 3",
    "StorageType": "sample string 4",
    "Destinations": [
      {
        "DestinationID": "02a28d1f-f812-42d0-9542-a82d500fc879",
        "AccountID": "94d9d625-48f9-4747-b36f-071e7edcc4ef",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      },
      {
        "DestinationID": "02a28d1f-f812-42d0-9542-a82d500fc879",
        "AccountID": "94d9d625-48f9-4747-b36f-071e7edcc4ef",
        "Destination": "sample string 3",
        "DestinationDisplayName": "sample string 4"
      }
    ]
  }
]

application/xml, text/xml

<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-08-29T10:53:23.1259132+00:00</DateCreated>
    <Destinations>
      <DestinationOfAccount>
        <AccountID>94d9d625-48f9-4747-b36f-071e7edcc4ef</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>02a28d1f-f812-42d0-9542-a82d500fc879</DestinationID>
      </DestinationOfAccount>
      <DestinationOfAccount>
        <AccountID>94d9d625-48f9-4747-b36f-071e7edcc4ef</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>02a28d1f-f812-42d0-9542-a82d500fc879</DestinationID>
      </DestinationOfAccount>
    </Destinations>
    <DisplayName>sample string 3</DisplayName>
    <StorageType>sample string 4</StorageType>
    <ResellerAccountID>6afe36bf-7ec6-4710-8db2-dda8eea8e2cb</ResellerAccountID>
  </ProviderAccountsModel>
  <ProviderAccountsModel>
    <AccountID>sample string 1</AccountID>
    <DateCreated>2019-08-29T10:53:23.1259132+00:00</DateCreated>
    <Destinations>
      <DestinationOfAccount>
        <AccountID>94d9d625-48f9-4747-b36f-071e7edcc4ef</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>02a28d1f-f812-42d0-9542-a82d500fc879</DestinationID>
      </DestinationOfAccount>
      <DestinationOfAccount>
        <AccountID>94d9d625-48f9-4747-b36f-071e7edcc4ef</AccountID>
        <Destination>sample string 3</Destination>
        <DestinationDisplayName>sample string 4</DestinationDisplayName>
        <DestinationID>02a28d1f-f812-42d0-9542-a82d500fc879</DestinationID>
      </DestinationOfAccount>
    </Destinations>
    <DisplayName>sample string 3</DisplayName>
    <StorageType>sample string 4</StorageType>
    <ResellerAccountID>6afe36bf-7ec6-4710-8db2-dda8eea8e2cb</ResellerAccountID>
  </ProviderAccountsModel>
</ArrayOfProviderAccountsModel>
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git