Auf offene Schicht bewerben
Employee applies for an open shift (422 on absence conflict)
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
The roster entry ID
uuidRequest-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Body of POST /rest/roster_entries/{rosterEntry}/apply. The note is stored verbatim on the application and shown to the deciding manager.
Response-Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/roster_entries/497f6eca-6276-4993-bfeb-53cbbbba6f08/apply" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "id": "string", "roster_entry_id": "string", "employee_id": "string", "employee_name": "string", "status": "string", "note": "string", "created_at": "string" }}Eintrag bestätigen POST
The assigned person confirms awareness of a short-notice change (own entries only, idempotent)
Bewerbung zurückziehen DELETE
Employee withdraws the own application: hard delete, only while Pending (404 without an own application, 422 once decided). A withdrawn application can be re-created via apply (firstOrCreate)