gastrotodo

gastrotodo for developers

· Reporting API

Events

defects

GET/api/v1/reporting/defects

Equipment defects. The dataset contains every defect that was open at any point in the time window, including defects that were reported or resolved within it. Loading it regularly therefore also picks up the resolution date.

Merge defects by id instead of replacing the window; see Pagination and time windows.

Query parameters

fromdate | timestamp · optional · Default: 7 days before to

YYYY-MM-DD (UTC day) or timestamp with a time zone, inclusive

todate | timestamp · optional · Default: now

YYYY-MM-DD (UTC day, inclusive) or timestamp with a time zone (exclusive). 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

idinteger

Defect ID

areaIdinteger

Area ID

areaNamestring · nullable

Name of the area

locationIdinteger · nullable

Location ID

locationNamestring · nullable

Name of the location

deviceNamestring · nullable

Device name as reported

productNamestring · nullable

Linked product

manufacturerNamestring · nullable

Manufacturer of the linked product

descriptionstring

Description

hasPhotoboolean

Whether there is a photo

reportedAttimestamp

Reported at

resolvedAttimestamp · nullable

Resolved at; null means still open

reportedByEmployeeIdinteger · nullable

Person who reported the defect (employee ID)

reportedByNamestring · nullable

Name of that person

Request

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

Response

json
{
  "data": [
    {
      "id": 3120,
      "areaId": 812,
      "areaName": "Hamburg",
      "locationId": 4011,
      "locationName": "Harbor",
      "deviceName": "Dishwasher",
      "productName": null,
      "manufacturerName": null,
      "description": "Does not heat",
      "hasPhoto": true,
      "reportedAt": "2026-11-28T10:00:00.000Z",
      "resolvedAt": null,
      "reportedByEmployeeId": 9021,
      "reportedByName": "Mara Wolf"
    }
  ],
  "nextCursor": null,
  "meta": {
    "dataset": "defects",
    "count": 1,
    "generatedAt": "2026-12-01T06:00:00.000Z",
    "from": "2026-11-24T06:00:00.000Z",
    "to": "2026-12-01T06:00:00.000Z"
  }
}

Previous

haccp-measurements

Next

instruction-acknowledgments

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