API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/time-accounts/{accountId}/recalculate

POST/v1/time-accounts/{accountId}/recalculate

Recalculate DAILY_BALANCE rows for a month (ADR 0036b Phase 10)

Datamodel

Deze operatie werkt op de entiteit Time Account (time_account). Alle 14 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
yearvereistinteger
monthvereistinteger

Padparameters

NaamTypeBeschrijving
accountIdvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/time-accounts/{accountId}/recalculate \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "year": 0,
  "month": 0
}'
const result = await cm.time-accounts.post({
  "year": 0,
  "month": 0
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken