GET v1/fuelTypes/{companyCode}/{fuelTypeId}?apiToken={apiToken}
Returns information about a specific fuel type associated with a company
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode |
The company you want to receive fuel information for |
string |
Required |
| fuelTypeId |
The ID of the specific fuel type |
integer |
Required |
| apiToken |
Your API Token |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
FuelTypeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | string |
None. |
|
| Name | string |
None. |
|
| FuelTypeID | integer |
None. |
|
| TrackSulfurContent | boolean |
None. |
|
| Units | string |
None. |
|
| Description | string |
None. |
|
| IsLowSulfur | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"type": "sample string 1",
"name": "sample string 2",
"fuelTypeID": 3,
"trackSulfurContent": true,
"units": "sample string 5",
"description": "sample string 6",
"isLowSulfur": true
}
application/xml, text/xml
Sample:
<FuelType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Type>sample string 1</Type> <Name>sample string 2</Name> <FuelTypeID>3</FuelTypeID> <TrackSulfurContent>true</TrackSulfurContent> <Units>sample string 5</Units> <Description>sample string 6</Description> <IsLowSulfur>true</IsLowSulfur> </FuelType>