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.
FuelDtoName | 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": "3a2d0f22-53e6-4ede-bcc3-adb64637c6fd", "MerchantId": "fec558f3-70d3-471e-8ba2-e81bf57243ae", "MerchantName": "sample string 3", "SiteId": "3b1f7f01-44d9-4ec6-bb2e-0ef8476ea771", "SiteShortName": "sample string 5", "FuelsMasterId": "bf11307f-94fe-4234-94bd-d73ee98a7fa1", "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>bf11307f-94fe-4234-94bd-d73ee98a7fa1</FuelsMasterId> <Id>3a2d0f22-53e6-4ede-bcc3-adb64637c6fd</Id> <MerchantId>fec558f3-70d3-471e-8ba2-e81bf57243ae</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>3b1f7f01-44d9-4ec6-bb2e-0ef8476ea771</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>