POST /v1/work-planning/submit-week POST /v1/work-planning/submit-week
Submit a full week of work schedule entries for approval. Aggregates ArbZG/TV flags across the week (Phase 8.6 Warn-and-Confirm gate); returns 409 with the flag list when acknowledgements are missing or invalid.
Corps de la requête
Nom Type Description weekStartobligatoire string<date>acknowledgementsobject[]
Exemple
curl -X POST https://api.codemeta-os.de/v1/work-planning/submit-week \
-H "X-Tenant-Id: $TENANT " \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"weekStart": "string",
"acknowledgements": []
}' const result = await cm.work - planning. post ({
"weekStart" : "string" ,
"acknowledgements" : []
});
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.