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": "2024-11-21T07:19:24.718604Z",
  "DisplayName": "sample string 3",
  "StorageType": "sample string 4",
  "Destinations": [
    {
      "DestinationID": "96016265-5397-45af-9121-d108b20ec71e",
      "AccountID": "eef2d5b9-519f-49de-88b2-063ca84f2737",
      "Destination": "sample string 3",
      "DestinationDisplayName": "sample string 4"
    },
    {
      "DestinationID": "96016265-5397-45af-9121-d108b20ec71e",
      "AccountID": "eef2d5b9-519f-49de-88b2-063ca84f2737",
      "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>2024-11-21T07:19:24.718604Z</DateCreated>
  <Destinations>
    <DestinationOfAccount>
      <AccountID>eef2d5b9-519f-49de-88b2-063ca84f2737</AccountID>
      <Destination>sample string 3</Destination>
      <DestinationDisplayName>sample string 4</DestinationDisplayName>
      <DestinationID>96016265-5397-45af-9121-d108b20ec71e</DestinationID>
    </DestinationOfAccount>
    <DestinationOfAccount>
      <AccountID>eef2d5b9-519f-49de-88b2-063ca84f2737</AccountID>
      <Destination>sample string 3</Destination>
      <DestinationDisplayName>sample string 4</DestinationDisplayName>
      <DestinationID>96016265-5397-45af-9121-d108b20ec71e</DestinationID>
    </DestinationOfAccount>
  </Destinations>
  <DisplayName>sample string 3</DisplayName>
  <StorageType>sample string 4</StorageType>
</AccountsModels>