Products: Managed Backup (Agent)
Article ID: m0647Last Modified: 29-Sep-2024

GET API/Accounts/{ID}

Returns account properties 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

Name Description Type Additional Information
AccountID Account Unique Identifier string None
DateCreated Account Creation Date date None
DisplayName Account Displayed Name string None
StorageType Storage Type string None
Destinations Storage Destination List Collection of DestinationOfAccount None

Response Formats

application/json, text/json

{
  "AccountID": "sample string 1",
  "DateCreated": "2019-08-29T12:45:02.8566139+00:00",
  "DisplayName": "sample string 3",
  "StorageType": "sample string 4",
  "Destinations": [
    {
      "DestinationID": "7efae088-55b4-4e08-b5f8-fb53e4b05275",
      "AccountID": "a811d4e1-6b80-47ea-95fe-7dbbc8eba967",
      "Destination": "sample string 3",
      "DestinationDisplayName": "sample string 4"
    },
    {
      "DestinationID": "7efae088-55b4-4e08-b5f8-fb53e4b05275",
      "AccountID": "a811d4e1-6b80-47ea-95fe-7dbbc8eba967",
      "Destination": "sample string 3",
      "DestinationDisplayName": "sample string 4"
    }
  ]
}

application/xml, text/xml

<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-08-29T12:45:02.8566139+00:00</DateCreated>
  <Destinations>
    <DestinationOfAccount>
      <AccountID>a811d4e1-6b80-47ea-95fe-7dbbc8eba967</AccountID>
      <Destination>sample string 3</Destination>
      <DestinationDisplayName>sample string 4</DestinationDisplayName>
      <DestinationID>7efae088-55b4-4e08-b5f8-fb53e4b05275</DestinationID>
    </DestinationOfAccount>
    <DestinationOfAccount>
      <AccountID>a811d4e1-6b80-47ea-95fe-7dbbc8eba967</AccountID>
      <Destination>sample string 3</Destination>
      <DestinationDisplayName>sample string 4</DestinationDisplayName>
      <DestinationID>7efae088-55b4-4e08-b5f8-fb53e4b05275</DestinationID>
    </DestinationOfAccount>
  </Destinations>
  <DisplayName>sample string 3</DisplayName>
  <StorageType>sample string 4</StorageType>
</AccountsModels>
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git