Daily outcomes
daily-reports
/api/v1/reporting/daily-reportsThe figures of the daily report: one row per business day and location, with the fulfillment rate and the number of HACCP incidents. Load the last 7 days every day and replace that window; see Pagination and time windows.
The figures match task-outcomes and haccp-incidents, which list the individual tasks and incidents. Comments and notes are in task-reports.
- Tasks for the whole area have their own row with
locationId: null. They are not included in the figures of the locations. - Combining rows: Calculate the rate from the sums of
completedCountanddueCount, not as an average offulfillmentRate. Do not add upemployeeCount, as the same person can appear in several rows. - Current business day:
isFinalisfalse, and tasks without a report are counted inopenCount. - Days without tasks: If nothing was due on a day, there is no row.
Query parameters
fromdate · optional · Default: 7 days up to and including toFirst business day, YYYY-MM-DD, inclusive
todate · optional · Default: current business dayLast business day, YYYY-MM-DD, inclusive. The window can span at most 92 days
limitinteger · optional · Default: 500Rows per page, 1 to 1000
cursorstring · optionalnextCursor of the previous page
Fields
idstringRow ID, in the form date:areaId:locationId; locationId is 0 for tasks for the whole area
datedateBusiness day
areaIdintegerArea ID
areaNamestring · nullableName of the area
locationIdinteger · nullableLocation ID; null for tasks for the whole area
locationNamestring · nullableName of the location
isFinalbooleanWhether the business day is over
dueCountintegerTasks that count toward the rate: completed, canceled, and missed
completedCountintegerCompleted tasks
lateCountintegerCompleted tasks that were completed on a later day than planned
canceledCountintegerCanceled tasks
missedCountintegerTasks without a report
skippedCountintegerTasks not needed that day
openCountintegerTasks still open on the current day
fulfillmentRatedecimal · nullablecompletedCount divided by dueCount, 0 to 1; null if dueCount is 0
haccpIncidentCountintegerNumber of matching rows in haccp-incidents
employeeCountintegerNumber of different people who reported tasks
Request
curl -G "https://www.gastrotodo.de/api/v1/reporting/daily-reports" \
-d from=2026-11-24 \
-d to=2026-11-30 \
-H "Authorization: Bearer $GASTROTODO_API_KEY"Response
{
"data": [
{
"id": "2026-11-30:812:4011",
"date": "2026-11-30",
"areaId": 812,
"areaName": "Hamburg",
"locationId": 4011,
"locationName": "Harbor",
"isFinal": true,
"dueCount": 40,
"completedCount": 36,
"lateCount": 1,
"canceledCount": 1,
"missedCount": 3,
"skippedCount": 2,
"openCount": 0,
"fulfillmentRate": 0.9,
"haccpIncidentCount": 1,
"employeeCount": 6
}
],
"nextCursor": null,
"meta": {
"dataset": "daily-reports",
"count": 1,
"generatedAt": "2026-12-01T06:00:00.000Z",
"from": "2026-11-25",
"to": "2026-12-01",
"openDay": "2026-12-01",
"timeZone": "UTC"
}
}