gastrotodo

gastrotodo for developers

· Reporting API

Daily outcomes

task-outcomes

GET/api/v1/reporting/task-outcomes

The outcome of every due task per business day and location. It uses the same calculation as the daily report and the organization's results overview in the app. Use this dataset for fulfillment rates instead of implementing the rules yourself.

Status

StatusMeaningCounts toward the rate
completedCompletedYes, as fulfilled
canceledCanceled, with a reasonYes, as not fulfilled
missedNot reportedYes, as not fulfilled
skippedNot needed that dayNo
openNot reported yet, the business day is not overNo

Fulfillment rate for a day = completed ÷ (completed + canceled + missed).

Rules that are already applied

  • Business day: A business day ends at 3 a.m. in the time zone given in meta.timeZone. Read the time zone from the response instead of assuming one.
  • Current business day: meta.openDay contains its date. Tasks without a report on that day are open, not missed. Future days are not delivered.
  • Late completion: If a task is completed on a later day, the planned day stays missed. A completed row with isLate: true is added on the day of completion, so completing a task late does not erase the gap.
  • Early completion: If a task is completed before the planned day, it counts on the day of completion.
  • Rest days: Tasks without a report on a rest day do not appear.
  • No duplicates: There is one row per task, location, and day. A completion takes precedence over missed.
  • Not included: Onboarding tasks, deleted tasks, and tasks in deactivated groups. When a task is deleted, its earlier rows disappear as well, so always replace the whole window when loading.

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

Outcome ID, in the form date:taskId:locationId; locationId is 0 for the whole area

datedate

Business day

areaIdinteger

Area ID

areaNamestring · nullable

Name of the area

locationIdinteger · nullable

Location ID; null means the whole area

locationNamestring · nullable

Name of the location

taskIdinteger

Task ID

taskTitlestring

Title of the task

departmentIdinteger · nullable

ID of the department the task currently belongs to

departmentNamestring · nullable

Name of that department

statusstring

Outcome on that day

Possible values: completed, canceled, missed, skipped, open

isHaccpboolean

Whether this is a HACCP task

plannedDatedate

Day the task was planned for

isLateboolean

Whether the task was reported on a later day than planned

reportedByEmployeeIdinteger · nullable

Person who reported the task (employee ID)

reportedByNamestring · nullable

Name of that person

reportedAttimestamp · nullable

Time of the report

reasonstring · nullable

Why the task was canceled or missed, if recorded

correctiveActionstring · nullable

What was done about a missed task, if recorded

Request

bash
curl -G "https://www.gastrotodo.de/api/v1/reporting/task-outcomes" \
  -d from=2026-11-24 \
  -d to=2026-11-30 \
  -H "Authorization: Bearer $GASTROTODO_API_KEY"

Response

json
{
  "data": [
    {
      "id": "2026-11-30:55120:4011",
      "date": "2026-11-30",
      "areaId": 812,
      "areaName": "Hamburg",
      "locationId": 4011,
      "locationName": "Harbor",
      "taskId": 55120,
      "taskTitle": "Check fridge temperature",
      "departmentId": 310,
      "departmentName": "Service",
      "status": "completed",
      "isHaccp": true,
      "plannedDate": "2026-11-30",
      "isLate": false,
      "reportedByEmployeeId": 9021,
      "reportedByName": "Mara Wolf",
      "reportedAt": "2026-11-30T07:12:09.000Z",
      "reason": null,
      "correctiveAction": null
    }
  ],
  "nextCursor": null,
  "meta": {
    "dataset": "task-outcomes",
    "count": 1,
    "generatedAt": "2026-12-01T06:00:00.000Z",
    "from": "2026-11-25",
    "to": "2026-12-01",
    "openDay": "2026-12-01",
    "timeZone": "UTC"
  }
}

Previous

daily-reports

Next

haccp-incidents

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