GET v1/fuelTypes/{companyCode}?apiToken={apiToken}
Returns a list of all fuel types 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 |
apiToken |
Your API Token |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ObjectNone.
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 }, { "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:
<FuelTypes xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FuelType> <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> <FuelType> <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> </FuelTypes>