Stampfactory
Dokumentation
Dienstplan-Einträge

Auf offene Schicht bewerben

Employee applies for an open shift (422 on absence conflict)

POST
/roster_entries/{rosterEntry}/apply
AuthentifizierungBearer <token>

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

Ort: header

Pfadparameter

rosterEntry*string

The roster entry ID

Formatuuid

Request-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"  }}