GET api/Accounts/{id}

Get Account by account ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Account unique identifier

string

Required

Body Parameters

None.

Response Information

Resource Description

AccountsModels
NameDescriptionTypeAdditional information
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:
{
  "AccountID": "sample string 1",
  "DateCreated": "2019-07-16T15:43:55.7898714+00:00",
  "DisplayName": "sample string 3",
  "StorageType": "sample string 4",
  "Destinations": [
    {
      "DestinationID": "77ea18a1-7757-4dbc-a6dc-1d9136079f94",
      "AccountID": "7bd1638b-9d5c-4434-b3d0-f94597266bf1",
      "Destination": "sample string 3",
      "DestinationDisplayName": "sample string 4"
    },
    {
      "DestinationID": "77ea18a1-7757-4dbc-a6dc-1d9136079f94",
      "AccountID": "7bd1638b-9d5c-4434-b3d0-f94597266bf1",
      "Destination": "sample string 3",
      "DestinationDisplayName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<AccountsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <AccountID>sample string 1</AccountID>
  <DateCreated>2019-07-16T15:43:55.7898714+00:00</DateCreated>
  <Destinations>
    <DestinationOfAccount>
      <AccountID>7bd1638b-9d5c-4434-b3d0-f94597266bf1</AccountID>
      <Destination>sample string 3</Destination>
      <DestinationDisplayName>sample string 4</DestinationDisplayName>
      <DestinationID>77ea18a1-7757-4dbc-a6dc-1d9136079f94</DestinationID>
    </DestinationOfAccount>
    <DestinationOfAccount>
      <AccountID>7bd1638b-9d5c-4434-b3d0-f94597266bf1</AccountID>
      <Destination>sample string 3</Destination>
      <DestinationDisplayName>sample string 4</DestinationDisplayName>
      <DestinationID>77ea18a1-7757-4dbc-a6dc-1d9136079f94</DestinationID>
    </DestinationOfAccount>
  </Destinations>
  <DisplayName>sample string 3</DisplayName>
  <StorageType>sample string 4</StorageType>
</AccountsModels>