API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

POST /v1/time-records/{id}/request-consultation

POST/v1/time-records/{id}/request-consultation

Raise a Rücksprache (consultation) for a time record: creates a HIGH-priority task assigned to the entry’s technician carrying the reviewer’s message, links the task back onto the time record (consultationTaskIds, same transaction) and notifies the technician.

Datenmodell

Diese Operation arbeitet auf der Entität Time Record (time_record). Alle 87 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

Request Body

NameTypBeschreibung
messageerforderlichstring

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

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

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche