API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

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

NameTypeDescription
weekStartrequiredstring<date>
acknowledgementsobject[]

Example

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": []
});

Response codes

HTTP Meaning
200 Default Response

Search