API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/attendance-shift-corrections/{id}/reject

POST/v1/attendance-shift-corrections/{id}/reject

CodeMeta OS API endpoint.

Datamodel

Deze operatie werkt op de entiteit Attendance Shift Correction (attendance_shift_correction). Alle 19 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
rejectionReasonvereiststring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/attendance-shift-corrections/{id}/reject \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "rejectionReason": "string"
}'
const result = await cm.attendance-shift-corrections.post({
  "rejectionReason": "string"
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken