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": "a38f193e-1581-4b30-bb71-4c45f9698996",
"MerchantId": "9b072971-5da0-4717-ba42-84f61410778b",
"MerchantName": "sample string 3",
"SiteId": "56e95190-88d1-4efe-ad05-c893e1cdac1a",
"SiteShortName": "sample string 5",
"FuelsMasterId": "bf95fe9d-e9ac-4f2e-926e-842e521d75e8",
"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>bf95fe9d-e9ac-4f2e-926e-842e521d75e8</FuelsMasterId> <Id>a38f193e-1581-4b30-bb71-4c45f9698996</Id> <MerchantId>9b072971-5da0-4717-ba42-84f61410778b</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>56e95190-88d1-4efe-ad05-c893e1cdac1a</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>