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": "e126eb54-d2d5-479d-b9cf-e9b1d073a7c2", "MerchantId": "d3c94e38-e785-4507-a499-b0a0234de4b1", "MerchantName": "sample string 3", "SiteId": "ddf31127-9958-467a-94f2-84fce99efc8c", "SiteShortName": "sample string 5", "FuelsMasterId": "52aae173-fef5-4855-b53d-85768d41cf1d", "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>52aae173-fef5-4855-b53d-85768d41cf1d</FuelsMasterId> <Id>e126eb54-d2d5-479d-b9cf-e9b1d073a7c2</Id> <MerchantId>d3c94e38-e785-4507-a499-b0a0234de4b1</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>ddf31127-9958-467a-94f2-84fce99efc8c</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>