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.
Request Body
Name Typ Beschreibung weekStarterforderlich string<date>acknowledgementsobject[]
Beispiel
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" : []
});
Antwortcodes
HTTP
Bedeutung
200
Default Response
Beschreibung folgt
Diese Operation hat noch keine kuratierte Annotation. Der Inhalt wird beim nächsten Doku-Update ergänzt.