This endpoint reads the fuel surcharge rates of a table in force on a date; read it before updating one of
its entries. date is a day of the tenant (yyyy-MM-dd), today by default. mode and rate are the table
defaults. fuelSurcharges holds the entry in force on that date: the one with the latest startDate on or
before it, or the earliest entry if none; it is empty when the table has no entry. The entry has a
fuelSurchargeId, its startDate and VehicleSurcharges, one per vehicle type, with vehicleTypeId,
isOverridden, mode, rate, fuelPricesId and fuelSurchargeCalculatorId. mode: 0 FixedPercentage, rate in
percent; 1 FixedPricePerDistance, rate per distance unit; 2 CalculatedPercentage and
3 CalculatedPricePerDistance, rate null, computed from the fuel prices fuelPricesId with the calculator
fuelSurchargeCalculatorId. An unknown id returns a 404. Requires an administrator; other users get a 403.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
404No fuel surcharge table found for the given id.
500An error occurred while trying to get the fuel surcharge table.
