Get Fuels
Retrieve all fuel products from Last Mile Intelligence.
Operation
Section titled “Operation”getFuel
Resource
Section titled “Resource”fuel
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Fuel ID | string | No | - | Leave empty to retrieve all fuels |
Response
Section titled “Response”Success
Section titled “Success”[ { "id": "fuel_diesel", "name": "Ultra Low Sulfur Diesel", "code": "ULSD", "type": "diesel", "isActive": true }, { "id": "fuel_propane", "name": "Propane", "code": "LPG", "type": "propane", "isActive": true }, { "id": "fuel_heating", "name": "Heating Oil", "code": "HO", "type": "heating_oil", "isActive": true }]{ "success": false, "error": "Failed to retrieve fuels"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation