GET SubAccounts/{id}
Gets a SubAccount by it's ID, represented as SubAccountDto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the SubAccount. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The SubAccount data.
SubAccountDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Description | string |
None. |
|
| IdentificationsDescription | string |
None. |
|
| ContractDescription | string |
None. |
|
| BalanceDate | date |
None. |
|
| CurrentBalance | decimal number |
None. |
|
| PreviousBalance | decimal number |
None. |
|
| Consumption | decimal number |
None. |
|
| Limit | decimal number |
None. |
|
| IdentificationIds | Collection of globally unique identifier |
None. |
|
| DriverId | globally unique identifier |
None. |
|
| DriverCode | string |
None. |
|
| DriverFirstName | string |
None. |
|
| DriverLastName | string |
None. |
|
| VehicleId | globally unique identifier |
None. |
|
| VehicleCode | string |
None. |
|
| VehicleYear | integer |
None. |
|
| VehicleOdometer | integer |
None. |
|
| VehicleEngineHours | integer |
None. |
|
| VehicleConsumption | decimal number |
None. |
|
| FleetDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "df82088f-3bf0-4270-9066-752e1a4a87ac",
"Description": "sample string 2",
"IdentificationsDescription": "sample string 3",
"ContractDescription": "sample string 4",
"BalanceDate": "2026-02-13T10:15:06.1977361Z",
"CurrentBalance": 6.0,
"PreviousBalance": 7.0,
"Consumption": 8.0,
"Limit": 9.0,
"IdentificationIds": [
"0a1fc294-411a-4210-8b01-bb9e8089de4a",
"bde3bf38-3532-4173-8d21-d0bf74b95570"
],
"DriverId": "ed9c3412-8345-4ad8-9696-4d66609523f8",
"DriverCode": "sample string 10",
"DriverFirstName": "sample string 11",
"DriverLastName": "sample string 12",
"VehicleId": "ede945d2-f470-4ab8-abe8-8ca3f03f41dd",
"VehicleCode": "sample string 13",
"VehicleYear": 1,
"VehicleOdometer": 1,
"VehicleEngineHours": 1,
"VehicleConsumption": 14.0,
"FleetDescription": "sample string 15"
}
application/xml, text/xml
Sample:
<SubAccountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<BalanceDate>2026-02-13T10:15:06.1977361Z</BalanceDate>
<Consumption>8</Consumption>
<ContractDescription>sample string 4</ContractDescription>
<CurrentBalance>6</CurrentBalance>
<Description>sample string 2</Description>
<DriverCode>sample string 10</DriverCode>
<DriverFirstName>sample string 11</DriverFirstName>
<DriverId>ed9c3412-8345-4ad8-9696-4d66609523f8</DriverId>
<DriverLastName>sample string 12</DriverLastName>
<FleetDescription>sample string 15</FleetDescription>
<Id>df82088f-3bf0-4270-9066-752e1a4a87ac</Id>
<IdentificationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>0a1fc294-411a-4210-8b01-bb9e8089de4a</d2p1:guid>
<d2p1:guid>bde3bf38-3532-4173-8d21-d0bf74b95570</d2p1:guid>
</IdentificationIds>
<IdentificationsDescription>sample string 3</IdentificationsDescription>
<Limit>9</Limit>
<PreviousBalance>7</PreviousBalance>
<VehicleCode>sample string 13</VehicleCode>
<VehicleConsumption>14</VehicleConsumption>
<VehicleEngineHours>1</VehicleEngineHours>
<VehicleId>ede945d2-f470-4ab8-abe8-8ca3f03f41dd</VehicleId>
<VehicleOdometer>1</VehicleOdometer>
<VehicleYear>1</VehicleYear>
</SubAccountDto>