API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/tasks/{id}/budget-override

POST/v1/tasks/{id}/budget-override

Raise (or lower) the budget cap on an order-linked task. Requires task_override_budget. Records reason + override timestamps so the reconcile job leaves the value alone (ADR 0139).

Datamodel

Deze operatie werkt op de entiteit Task (task). Alle 104 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
maxMinutesintegernull
maxAmountstringnull
reasonvereiststring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/tasks/{id}/budget-override \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "maxMinutes": null,
  "maxAmount": null,
  "reason": "string"
}'
const result = await cm.tasks.post({
  "maxMinutes": null,
  "maxAmount": null,
  "reason": "string"
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken