gastrotodo

gastrotodo for developers

· Reporting API

Daily outcomes

daily-reports

GET/api/v1/reporting/daily-reports

The 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 completedCount and dueCount, not as an average of fulfillmentRate. Do not add up employeeCount, as the same person can appear in several rows.
  • Current business day: isFinal is false, and tasks without a report are counted in openCount.
  • 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 to

First business day, YYYY-MM-DD, inclusive

todate · optional · Default: current business day

Last business day, YYYY-MM-DD, inclusive. The window can span at most 92 days

limitinteger · optional · Default: 500

Rows per page, 1 to 1000

cursorstring · optional

nextCursor of the previous page

Fields

idstring

Row ID, in the form date:areaId:locationId; locationId is 0 for tasks for the whole area

datedate

Business day

areaIdinteger

Area ID

areaNamestring · nullable

Name of the area

locationIdinteger · nullable

Location ID; null for tasks for the whole area

locationNamestring · nullable

Name of the location

isFinalboolean

Whether the business day is over

dueCountinteger

Tasks that count toward the rate: completed, canceled, and missed

completedCountinteger

Completed tasks

lateCountinteger

Completed tasks that were completed on a later day than planned

canceledCountinteger

Canceled tasks

missedCountinteger

Tasks without a report

skippedCountinteger

Tasks not needed that day

openCountinteger

Tasks still open on the current day

fulfillmentRatedecimal · nullable

completedCount divided by dueCount, 0 to 1; null if dueCount is 0

haccpIncidentCountinteger

Number of matching rows in haccp-incidents

employeeCountinteger

Number of different people who reported tasks

Request

bash
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

json
{
  "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"
  }
}

Previous

training-completions

Next

task-outcomes

Ready to structure your business?

Start with gastrotodo — try free for 7 days, then carry on with the plan that fits your business.

Start your 7-day free trialOr book a demo
gastrotodo

Structured operations for hospitality and retail — checklists, HACCP, training and daily reports in one app.

Contact
+49 451 58241800

Mon–Fri 9am–5pm CET

support@gastrotodo.de
App StoreGoogle Play
  • Servers in Germany
  • GDPR-compliant
  • Made in Europe
  • Free setup support

© 2023–2026 gastrotodo.de. All rights reserved.

ContactLegal noticePrivacy PolicyTerms of Service