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 */ "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.