Events
task-reports
/api/v1/reporting/task-reportsEvery report on a task: completed, canceled, or skipped. The time window refers to reportedAt. Load the last 7 days every day and replace that window; see Pagination and time windows.
If someone unchecks a task, its report is deleted and no longer delivered. Onboarding tasks are not included. For fulfillment rates, use task-outcomes, which also covers tasks without a report.
Query parameters
fromdate | timestamp · optional · Default: 7 days before toYYYY-MM-DD (UTC day) or timestamp with a time zone, inclusive
todate | timestamp · optional · Default: nowYYYY-MM-DD (UTC day, inclusive) or timestamp with a time zone (exclusive). The window can span at most 92 days
limitinteger · optional · Default: 500Rows per page, 1 to 1000
cursorstring · optionalnextCursor of the previous page
Fields
idintegerReport ID
areaIdintegerArea ID
areaNamestring · nullableName of the area
locationIdinteger · nullableLocation ID
locationNamestring · nullableName of the location
taskIdintegerTask ID
taskTitlestring · nullableTitle of the task, with placeholders filled in as of the time of the report
departmentIdinteger · nullableID of the department the task currently belongs to
departmentNamestring · nullableName of that department
statusstringWhat was reported
Possible values: completed, canceled, skipped
reportedAttimestampTime of the report
plannedDatedate · nullableDay the task was planned for
reportedByEmployeeIdintegerPerson who reported the task (employee ID)
reportedByNamestring · nullableName of that person
isHaccpbooleanWhether this is a HACCP task
measuredValuedecimal · nullableReading; only for the units celsius and tpm
originalMeasuredValuedecimal · nullableOriginal reading, if it was corrected
measurementUnitstring · nullableUnit of the reading, only for HACCP tasks
Possible values: celsius, tpm, freetext, documentation
commentstring · nullableEntry or comment on a completed task
reasonstring · nullableWhy the task was canceled or skipped
correctiveActionstring · nullableCorrective action
originalCorrectiveActionstring · nullableOriginal corrective action, if it was corrected
notestring · nullableNote
qualityRatinginteger · nullableQuality rating, 1 to 10
hasSignaturebooleanWhether there is a signature
hasPhotobooleanWhether there is a photo
correctedAttimestamp · nullableCorrected at
correctedByEmployeeIdinteger · nullablePerson who corrected the report (employee ID)
correctedByNamestring · nullableName of that person
Request
curl -G "https://www.gastrotodo.de/api/v1/reporting/task-reports" \
-d from=2026-11-24 \
-d to=2026-11-30 \
-H "Authorization: Bearer $GASTROTODO_API_KEY"Response
{
"data": [
{
"id": 1840221,
"areaId": 812,
"areaName": "Hamburg",
"locationId": 4011,
"locationName": "Harbor",
"taskId": 55120,
"taskTitle": "Check fridge temperature",
"departmentId": 310,
"departmentName": "Service",
"status": "completed",
"reportedAt": "2026-11-30T07:12:09.000Z",
"plannedDate": "2026-11-30",
"reportedByEmployeeId": 9021,
"reportedByName": "Mara Wolf",
"isHaccp": true,
"measuredValue": 4.5,
"originalMeasuredValue": null,
"measurementUnit": "celsius",
"comment": "4.5",
"reason": null,
"correctiveAction": null,
"originalCorrectiveAction": null,
"note": null,
"qualityRating": null,
"hasSignature": false,
"hasPhoto": false,
"correctedAt": null,
"correctedByEmployeeId": null,
"correctedByName": null
}
],
"nextCursor": null,
"meta": {
"dataset": "task-reports",
"count": 1,
"generatedAt": "2026-12-01T06:00:00.000Z",
"from": "2026-11-24T06:00:00.000Z",
"to": "2026-12-01T06:00:00.000Z"
}
}