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": "73af0383-0eef-4075-9f79-e30877a5f1f1",
"MerchantId": "964cf56a-3969-41ac-b377-590f6bbc35e1",
"MerchantName": "sample string 3",
"SiteId": "8498ec19-4ace-476f-95a4-14c169683c39",
"SiteShortName": "sample string 5",
"FuelsMasterId": "e58ab6e4-6a1a-4b82-864d-54a0a098fdbe",
"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>e58ab6e4-6a1a-4b82-864d-54a0a098fdbe</FuelsMasterId> <Id>73af0383-0eef-4075-9f79-e30877a5f1f1</Id> <MerchantId>964cf56a-3969-41ac-b377-590f6bbc35e1</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>8498ec19-4ace-476f-95a4-14c169683c39</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>