GET api/Accounts/{id}
Get Account by account ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Account unique identifier |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
AccountsModelsName | Description | Type | Additional 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": "2025-01-17T17:12:22.3801969Z", "DisplayName": "sample string 3", "StorageType": "sample string 4", "Destinations": [ { "DestinationID": "06affc36-3b8b-4230-aa2d-6945f132b804", "AccountID": "0020ffe9-722f-42ff-9631-0fca5a84ac23", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" }, { "DestinationID": "06affc36-3b8b-4230-aa2d-6945f132b804", "AccountID": "0020ffe9-722f-42ff-9631-0fca5a84ac23", "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>2025-01-17T17:12:22.3801969Z</DateCreated> <Destinations> <DestinationOfAccount> <AccountID>0020ffe9-722f-42ff-9631-0fca5a84ac23</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>06affc36-3b8b-4230-aa2d-6945f132b804</DestinationID> </DestinationOfAccount> <DestinationOfAccount> <AccountID>0020ffe9-722f-42ff-9631-0fca5a84ac23</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>06affc36-3b8b-4230-aa2d-6945f132b804</DestinationID> </DestinationOfAccount> </Destinations> <DisplayName>sample string 3</DisplayName> <StorageType>sample string 4</StorageType> </AccountsModels>