GET Fuels/{id}
Gets a fuel by it's ID, represented as FuelDto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the fuel. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The fuel data.
FuelDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CodeBrandFuelMasterDescription | string |
None. |
|
| Id | globally unique identifier |
None. |
|
| MerchantId | globally unique identifier |
None. |
|
| MerchantName | string |
None. |
|
| SiteId | globally unique identifier |
None. |
|
| SiteShortName | string |
None. |
|
| FuelsMasterId | globally unique identifier |
None. |
|
| FuelMasterDescription | string |
None. |
|
| BrandFuelMasterDescription | string |
None. |
|
| Code | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CodeBrandFuelMasterDescription": "sample string 9 - sample string 8",
"Id": "b635da80-9ef2-4ca8-84ef-b138e244a1d5",
"MerchantId": "0caf2149-017a-4103-a30e-409fa5af666e",
"MerchantName": "sample string 3",
"SiteId": "68feb98f-0046-449e-bc05-bd606de7e63d",
"SiteShortName": "sample string 5",
"FuelsMasterId": "06258caa-e0e1-49d6-8773-4190365f57c0",
"FuelMasterDescription": "sample string 7",
"BrandFuelMasterDescription": "sample string 8",
"Code": "sample string 9"
}
application/xml, text/xml
Sample:
<FuelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <BrandFuelMasterDescription>sample string 8</BrandFuelMasterDescription> <Code>sample string 9</Code> <FuelMasterDescription>sample string 7</FuelMasterDescription> <FuelsMasterId>06258caa-e0e1-49d6-8773-4190365f57c0</FuelsMasterId> <Id>b635da80-9ef2-4ca8-84ef-b138e244a1d5</Id> <MerchantId>0caf2149-017a-4103-a30e-409fa5af666e</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>68feb98f-0046-449e-bc05-bd606de7e63d</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>