Download OpenAPI specification:Download
OpenApi doc for Dochadzka.app Stats API
Provides daily planned/real worked hours per restaurant (Daily report) and employee birthdays (Birthday).
| version | date | change |
|---|---|---|
| v1.0.0 | 2026-07-21 | - initial version: Daily report and Birthday endpoints. |
Returns planned and real worked hours per restaurant and day.
If no parameter is sent, data for yesterday are returned.
Validations/specifications:
YYYY-MM-DD format| date | string <date> Example: date=2026-07-07 Single day for which data will be returned. Optional. If no date parameter is sent, endpoint returns data for yesterday. Cannot be combined with from/to. |
| from | string <date> Example: from=2026-07-01 Start of date interval (inclusive). Must be sent together with to. Cannot be combined with date. |
| to | string <date> Example: to=2026-07-07 End of date interval (inclusive). Must be sent together with from. Cannot be combined with date. |
[- {
- "restaurant": "SK043",
- "date": "2026-07-07",
- "plan_hours": 357,
- "real_hours": 327.5
}, - {
- "restaurant": "SK009",
- "date": "2026-07-07",
- "plan_hours": 290,
- "real_hours": 301
}, - {
- "restaurant": "SK018",
- "date": "2026-07-07",
- "plan_hours": 250,
- "real_hours": 244
}, - {
- "restaurant": "SK056",
- "date": "2026-07-07",
- "plan_hours": 180,
- "real_hours": 176.5
}, - {
- "restaurant": "SK032",
- "date": "2026-07-07",
- "plan_hours": 120,
- "real_hours": 118
}, - {
- "restaurant": "SK037",
- "date": "2026-07-07",
- "plan_hours": 210,
- "real_hours": 205
}
]Returns employees of specified restaurant who enabled birthday sharing, with their name and birth date.
| company required | integer Example: 1 ID of company. |
| restaurant required | integer Example: 12 ID of restaurant (must belong to specified company). |
{- "employees": [
- {
- "id": 1234,
- "name": "John Doe",
- "birthday": "31/12/1990"
}
]
}| restaurant required | string^(SK|CZ)[0-9]{3}$ Code of restaurant (standardized McD code of restaurant, same across all systems). |
| date required | string <date> Business day date in |
| plan_hours required | number or null <float> Sum of planned hours of all employees of the restaurant for the day. Decimal point (327.5), not comma. Null if no shift plan exists for the day. |
| real_hours required | number or null <float> Sum of real worked hours of all employees of the restaurant for the day. Decimal point, not comma. Null if no attendance data exists for the day. |
{- "restaurant": "SK043",
- "date": "2026-07-07",
- "plan_hours": 357,
- "real_hours": 327.5
}