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": "11ac003f-4aa1-423a-9edc-f5e7d04c5429", "MerchantId": "436d1ecf-c7ea-40e6-a289-71c0e3c51aa4", "MerchantName": "sample string 3", "SiteId": "ac9f4c73-4fc7-491d-9d5d-e23c15baf30a", "SiteShortName": "sample string 5", "FuelsMasterId": "b10685d9-b980-42c2-b3ce-f98ee98d92a0", "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>b10685d9-b980-42c2-b3ce-f98ee98d92a0</FuelsMasterId> <Id>11ac003f-4aa1-423a-9edc-f5e7d04c5429</Id> <MerchantId>436d1ecf-c7ea-40e6-a289-71c0e3c51aa4</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>ac9f4c73-4fc7-491d-9d5d-e23c15baf30a</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>