Events
haccp-measurements
/api/v1/reporting/haccp-measurementsEvery HACCP measurement, with its numeric value and the limits that applied at the time. The time window refers to measuredAt. Load the last 7 days every day and replace that window; see Pagination and time windows.
Measurements that were undone are not delivered. HACCP tasks without a reading, such as cleaning, are in task-reports. Corrections can also affect older days.
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
idintegerMeasurement ID
areaIdintegerArea ID
areaNamestring · nullableName of the area
locationIdinteger · nullableLocation ID
locationNamestring · nullableName of the location
taskIdintegerTask ID
taskReportIdinteger · nullableAssociated row in task-reports
measuredByEmployeeIdinteger · nullablePerson who took the measurement (employee ID)
measuredByNamestring · nullableName of that person
isDeviationbooleanWhether the reading is outside the limits
taskTitlestring · nullableTitle of the task
departmentIdinteger · nullableID of the department the task currently belongs to
departmentNamestring · nullableName of that department
measurementPointstring · nullableMeasuring point of the task, e.g. Cold store 1; the current one
measuredValuedecimalReading; if it was corrected, the corrected value
limitMindecimal · nullableLower limit at the time
limitMaxdecimal · nullableUpper limit at the time
measurementUnitstring · nullableUnit
Possible values: celsius, tpm
correctiveActionstring · nullableCorrective action
measuredAttimestampTime of the measurement
Request
curl -G "https://www.gastrotodo.de/api/v1/reporting/haccp-measurements" \
-d from=2026-11-24 \
-d to=2026-11-30 \
-H "Authorization: Bearer $GASTROTODO_API_KEY"Response
{
"data": [
{
"id": 104871,
"areaId": 812,
"areaName": "Hamburg",
"locationId": 4011,
"locationName": "Harbor",
"taskId": 55120,
"taskReportId": 1840221,
"measuredByEmployeeId": 9021,
"measuredByName": "Mara Wolf",
"isDeviation": false,
"taskTitle": "Check fridge temperature",
"departmentId": 310,
"departmentName": "Service",
"measurementPoint": "Cold store 1",
"measuredValue": 4.5,
"limitMin": 0,
"limitMax": 7,
"measurementUnit": "celsius",
"correctiveAction": null,
"measuredAt": "2026-11-30T07:12:09.000Z"
}
],
"nextCursor": null,
"meta": {
"dataset": "haccp-measurements",
"count": 1,
"generatedAt": "2026-12-01T06:00:00.000Z",
"from": "2026-11-24T06:00:00.000Z",
"to": "2026-12-01T06:00:00.000Z"
}
}