Stampfactory
Dokumentation
Stempelungen

Mobile Stempelung

Documented exception to the `data`-envelope standard (ADR 0005): the payload stays flat for the mobile clients. `early` is only present when the clock-in happened before the rostered start (milliseconds early).

POST
/mobile
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Body of POST /rest/mobile — the clock in/out of the mobile app. Position, device metadata and comment are optional; queued_at carries the original time of a booking that was recorded offline.

Response-Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/mobile" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "state": "string",  "timestamp": "string",  "location": true,  "early": 0,  "target_duration_seconds": 0,  "weekly_target_seconds": 0,  "weekly_seconds": 0,  "today_work_seconds": 0,  "today_pause_seconds": 0,  "overtime_account_seconds": 0,  "overtime_month_seconds": 0,  "company_name": "string"}