API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/working_time_assignments/preview

POST/v1/working_time_assignments/preview

CodeMeta OS API endpoint.

Datamodel

Deze operatie werkt op de entiteit Working Time Assignment (working_time_assignment). Alle 16 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
scopevereiststring
scopeIdvereiststring
validFromvereiststring
validTostring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/working_time_assignments/preview \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "scope": "TENANT",
  "scopeId": "string",
  "validFrom": "string",
  "validTo": "string"
}'
const result = await cm.working_time_assignments.post({
  "scope": "TENANT",
  "scopeId": "string",
  "validFrom": "string",
  "validTo": "string"
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken