PATCH /v1/working_time_models/{id}/approval PATCH /v1/working_time_models/{id}/approval
Record a works-council decision on a working time model (ADR 0036b Phase 6.5)
Modèle de données
Cette opération porte sur l'entité Working Time Model (working_time_model). Les 40 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma .
Corps de la requête
Nom Type Description approvalStateobligatoire stringworksCouncilCaseRefstringmeetingDatestringrejectionReasonstring
Paramètres de chemin
Nom Type Description idobligatoire string
Exemple
curl -X PATCH https://api.codemeta-os.de/v1/working_time_models/{id}/approval \
-H "X-Tenant-Id: $TENANT " \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"approvalState": "APPROVED",
"worksCouncilCaseRef": "string",
"meetingDate": "string",
"rejectionReason": "string"
}' const result = await cm.working_time_models. patch ({
"approvalState" : "APPROVED" ,
"worksCouncilCaseRef" : "string" ,
"meetingDate" : "string" ,
"rejectionReason" : "string"
});
Codes de réponse
HTTP
Signification
200
Default Response
Description à venir
Cette opération n'a pas encore d'annotation relue. Le contenu sera ajouté lors de la prochaine mise à jour de la documentation.