Get parameters used in reports
To get parameters used in reports, use the command unit/get_report_settings:
svc=unit/get_report_settings¶ms={"itemId":<long>}
Parameters
Name | Description |
itemId | unit ID |
Response
{
"speedLimit":<uint>, /* speed limit, km/h */
"maxMessagesInterval":<uint>, /* maximum interval between messages, seconds */
"dailyEngineHoursRate":<uint>, /* daily engine hours rate, seconds */
"urbanMaxSpeed":<uint>, /* urban speed limit, km/h */
"mileageCoefficient":<uint> /* mileage coefficient */
"fuelRateCoefficient":<uint>, /* Fuel consumption, l/100 км (gal/miles) */
"speedingTolerance":<uint>, /* allowed speeding, km/h (used if speedingMode = 1) */
"speedingMinDuration":<uint>, /* min speeding time, seconds */
"speedingMode":<uint> /* speeding detection mode: 0 - use speedLimit, 1 - use map data */
}
If speedingMode = 0 and speedLimit = 0 then no any speeding table is built.