GET SubAccountBalances?idSite={idSite}&idFuelMaster={idFuelMaster}
Gets the balance of the user, represented as SubAccountBalanceDto.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idSite |
The ID of the site. |
globally unique identifier |
Required |
idFuelMaster |
The ID of the fuel. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
A collection of sub account balances.
Collection of SubAccountBalanceDtoName | Description | Type | Additional information |
---|---|---|---|
SubAccountId | globally unique identifier |
None. |
|
SubAccountDescription | string |
None. |
|
SubscriberId | globally unique identifier |
None. |
|
SubscriberCode | string |
None. |
|
SubscriberName | string |
None. |
|
CompanyId | globally unique identifier |
None. |
|
CompanyCode | string |
None. |
|
CompanyName | string |
None. |
|
CompanyContractId | globally unique identifier |
None. |
|
CompanyContractCode | string |
None. |
|
CompanyContractDescription | string |
None. |
|
DriverId | globally unique identifier |
None. |
|
DriverCode | string |
None. |
|
DriverCompleteName | string |
None. |
|
VehicleId | globally unique identifier |
None. |
|
VehicleCode | string |
None. |
|
VehiclePlate | string |
None. |
|
CurrencyId | globally unique identifier |
None. |
|
CurrencyCode | string |
None. |
|
CurrencyDescription | string |
None. |
|
FuelMasterId | globally unique identifier |
None. |
|
FuelMasterCode | string |
None. |
|
FuelMasterDescription | string |
None. |
|
Amount | decimal number |
None. |
|
Volume | decimal number |
None. |
|
UnitPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SubAccountId": "2199761b-f85b-4f3c-b964-c4a1731f9b5c", "SubAccountDescription": "sample string 2", "SubscriberId": "d9550d01-73e2-42a9-ae13-5a00e6101d86", "SubscriberCode": "sample string 4", "SubscriberName": "sample string 5", "CompanyId": "82c3572f-fc23-4da4-b2e1-b51c1c921938", "CompanyCode": "sample string 7", "CompanyName": "sample string 8", "CompanyContractId": "ce621bf1-ca47-4d88-a0bd-057808b41ec8", "CompanyContractCode": "sample string 10", "CompanyContractDescription": "sample string 11", "DriverId": "08b87d29-c684-4dcf-bc66-c3237d93c091", "DriverCode": "sample string 12", "DriverCompleteName": "sample string 13", "VehicleId": "e82bb3dc-c480-41cf-87b2-f2e2493e9e99", "VehicleCode": "sample string 14", "VehiclePlate": "sample string 15", "CurrencyId": "18fb9862-07b8-464c-bbf5-92338a479bd8", "CurrencyCode": "sample string 16", "CurrencyDescription": "sample string 17", "FuelMasterId": "9fdcd2ac-a347-448d-82ea-192a7a27c552", "FuelMasterCode": "sample string 18", "FuelMasterDescription": "sample string 19", "Amount": 1.0, "Volume": 1.0, "UnitPrice": 1.0 }, { "SubAccountId": "2199761b-f85b-4f3c-b964-c4a1731f9b5c", "SubAccountDescription": "sample string 2", "SubscriberId": "d9550d01-73e2-42a9-ae13-5a00e6101d86", "SubscriberCode": "sample string 4", "SubscriberName": "sample string 5", "CompanyId": "82c3572f-fc23-4da4-b2e1-b51c1c921938", "CompanyCode": "sample string 7", "CompanyName": "sample string 8", "CompanyContractId": "ce621bf1-ca47-4d88-a0bd-057808b41ec8", "CompanyContractCode": "sample string 10", "CompanyContractDescription": "sample string 11", "DriverId": "08b87d29-c684-4dcf-bc66-c3237d93c091", "DriverCode": "sample string 12", "DriverCompleteName": "sample string 13", "VehicleId": "e82bb3dc-c480-41cf-87b2-f2e2493e9e99", "VehicleCode": "sample string 14", "VehiclePlate": "sample string 15", "CurrencyId": "18fb9862-07b8-464c-bbf5-92338a479bd8", "CurrencyCode": "sample string 16", "CurrencyDescription": "sample string 17", "FuelMasterId": "9fdcd2ac-a347-448d-82ea-192a7a27c552", "FuelMasterCode": "sample string 18", "FuelMasterDescription": "sample string 19", "Amount": 1.0, "Volume": 1.0, "UnitPrice": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfSubAccountBalanceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <SubAccountBalanceDto> <Amount>1</Amount> <CompanyCode>sample string 7</CompanyCode> <CompanyContractCode>sample string 10</CompanyContractCode> <CompanyContractDescription>sample string 11</CompanyContractDescription> <CompanyContractId>ce621bf1-ca47-4d88-a0bd-057808b41ec8</CompanyContractId> <CompanyId>82c3572f-fc23-4da4-b2e1-b51c1c921938</CompanyId> <CompanyName>sample string 8</CompanyName> <CurrencyCode>sample string 16</CurrencyCode> <CurrencyDescription>sample string 17</CurrencyDescription> <CurrencyId>18fb9862-07b8-464c-bbf5-92338a479bd8</CurrencyId> <DriverCode>sample string 12</DriverCode> <DriverCompleteName>sample string 13</DriverCompleteName> <DriverId>08b87d29-c684-4dcf-bc66-c3237d93c091</DriverId> <FuelMasterCode>sample string 18</FuelMasterCode> <FuelMasterDescription>sample string 19</FuelMasterDescription> <FuelMasterId>9fdcd2ac-a347-448d-82ea-192a7a27c552</FuelMasterId> <SubAccountDescription>sample string 2</SubAccountDescription> <SubAccountId>2199761b-f85b-4f3c-b964-c4a1731f9b5c</SubAccountId> <SubscriberCode>sample string 4</SubscriberCode> <SubscriberId>d9550d01-73e2-42a9-ae13-5a00e6101d86</SubscriberId> <SubscriberName>sample string 5</SubscriberName> <UnitPrice>1</UnitPrice> <VehicleCode>sample string 14</VehicleCode> <VehicleId>e82bb3dc-c480-41cf-87b2-f2e2493e9e99</VehicleId> <VehiclePlate>sample string 15</VehiclePlate> <Volume>1</Volume> </SubAccountBalanceDto> <SubAccountBalanceDto> <Amount>1</Amount> <CompanyCode>sample string 7</CompanyCode> <CompanyContractCode>sample string 10</CompanyContractCode> <CompanyContractDescription>sample string 11</CompanyContractDescription> <CompanyContractId>ce621bf1-ca47-4d88-a0bd-057808b41ec8</CompanyContractId> <CompanyId>82c3572f-fc23-4da4-b2e1-b51c1c921938</CompanyId> <CompanyName>sample string 8</CompanyName> <CurrencyCode>sample string 16</CurrencyCode> <CurrencyDescription>sample string 17</CurrencyDescription> <CurrencyId>18fb9862-07b8-464c-bbf5-92338a479bd8</CurrencyId> <DriverCode>sample string 12</DriverCode> <DriverCompleteName>sample string 13</DriverCompleteName> <DriverId>08b87d29-c684-4dcf-bc66-c3237d93c091</DriverId> <FuelMasterCode>sample string 18</FuelMasterCode> <FuelMasterDescription>sample string 19</FuelMasterDescription> <FuelMasterId>9fdcd2ac-a347-448d-82ea-192a7a27c552</FuelMasterId> <SubAccountDescription>sample string 2</SubAccountDescription> <SubAccountId>2199761b-f85b-4f3c-b964-c4a1731f9b5c</SubAccountId> <SubscriberCode>sample string 4</SubscriberCode> <SubscriberId>d9550d01-73e2-42a9-ae13-5a00e6101d86</SubscriberId> <SubscriberName>sample string 5</SubscriberName> <UnitPrice>1</UnitPrice> <VehicleCode>sample string 14</VehicleCode> <VehicleId>e82bb3dc-c480-41cf-87b2-f2e2493e9e99</VehicleId> <VehiclePlate>sample string 15</VehiclePlate> <Volume>1</Volume> </SubAccountBalanceDto> </ArrayOfSubAccountBalanceDto>