API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la 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.

Corps de la requête

NomTypeDescription
weekStartobligatoirestring<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

Recherche