action traccar_get_reports_stops { label: "Fetch a list of ReportStops within the time period for the Devices or Groups" description: "At least one _deviceId_ or one _groupId_ must be passed" provider: traccar method: GET path: "/reports/stops" encoding: json input: { type: "object" properties: { deviceId: { type: "array" items: { type: "integer" } } from: { type: "string" format: "date-time" } groupId: { type: "array" items: { type: "integer" } } to: { type: "string" format: "date-time" } } required: ["from", "to"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { address: { type: "string" } deviceId: { type: "integer" } deviceName: { type: "string" } duration: { type: "integer" } endTime: { type: "string" format: "date-time" description: "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`" } engineHours: { type: "integer" } lat: { type: "number" } lon: { type: "number" } spentFuel: { type: "number" description: "in liters" } startTime: { type: "string" format: "date-time" description: "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`" } } } } }