API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

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

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

CodeMeta OS API endpoint.

Datenmodell

Diese Operation arbeitet auf der Entität Attendance Shift Correction (attendance_shift_correction). Alle 19 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

Request Body

NameTypBeschreibung
rejectionReasonerforderlichstring

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

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

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche