action traccar_get_reports_summary { label: "Fetch a list of ReportSummary 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/summary" 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: { averageSpeed: { type: "number" description: "in knots" } deviceId: { type: "integer" } deviceName: { type: "string" } distance: { type: "number" description: "in meters" } engineHours: { type: "integer" } maxSpeed: { type: "number" description: "in knots" } spentFuel: { type: "number" description: "in liters" } } } } }