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": "bb4009f9-5ee5-44e3-bb3c-d62e2ffe3f48",
"Description": "sample string 2",
"IdentificationsDescription": "sample string 3",
"ContractDescription": "sample string 4",
"BalanceDate": "2026-03-15T14:09:31.0626508Z",
"CurrentBalance": 6.0,
"PreviousBalance": 7.0,
"Consumption": 8.0,
"Limit": 9.0,
"IdentificationIds": [
"80b1ecd7-2ad7-4107-bfc1-615013a299c5",
"c8ab8f55-7b4b-4ed3-a164-2f18231e6c3e"
],
"DriverId": "698b857e-5d41-4c84-b88b-8e50d96e94a0",
"DriverCode": "sample string 10",
"DriverFirstName": "sample string 11",
"DriverLastName": "sample string 12",
"VehicleId": "c2774e2f-d5a3-498f-bfe6-9814aad73e10",
"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-03-15T14:09:31.0626508Z</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>698b857e-5d41-4c84-b88b-8e50d96e94a0</DriverId>
<DriverLastName>sample string 12</DriverLastName>
<FleetDescription>sample string 15</FleetDescription>
<Id>bb4009f9-5ee5-44e3-bb3c-d62e2ffe3f48</Id>
<IdentificationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>80b1ecd7-2ad7-4107-bfc1-615013a299c5</d2p1:guid>
<d2p1:guid>c8ab8f55-7b4b-4ed3-a164-2f18231e6c3e</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>c2774e2f-d5a3-498f-bfe6-9814aad73e10</VehicleId>
<VehicleOdometer>1</VehicleOdometer>
<VehicleYear>1</VehicleYear>
</SubAccountDto>