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": "e6a1c747-fb31-4d8f-92ce-4f3c59196699",
"MerchantId": "b07fbfba-1dc7-4311-8174-110992e981d1",
"MerchantName": "sample string 3",
"SiteId": "4c959d28-9059-498a-97ca-dbc1735db708",
"SiteShortName": "sample string 5",
"FuelsMasterId": "1bddca3e-a2b5-491b-acd6-562fb4a21062",
"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>1bddca3e-a2b5-491b-acd6-562fb4a21062</FuelsMasterId> <Id>e6a1c747-fb31-4d8f-92ce-4f3c59196699</Id> <MerchantId>b07fbfba-1dc7-4311-8174-110992e981d1</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>4c959d28-9059-498a-97ca-dbc1735db708</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>