API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

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.

Datamodel

Deze operatie werkt op de entiteit Time Record (time_record). Alle 110 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
messagevereiststring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

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

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken