Stampfactory
Dokumentation
Zeitkorrekturen

Zeitkorrektur genehmigen

Approve pending corrections

PATCH
/employees/{employee}/working_time/approve
AuthentifizierungBearer <token>

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

Ort: header

Pfadparameter

employee*string

The employee ID

Formatuuid

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Body of PATCH /rest/employees/{employee}/working_time/approve — the day whose pending correction is accepted.

Response-Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/working_time/approve" \  -H "Content-Type: application/json" \  -d '{    "date": "2019-08-24T14:15:22Z"  }'
{  "message": "Korrektur freigegeben.",  "updated": 0}