API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/dms/documents/{id}/book

POST/v1/dms/documents/{id}/book

Book an approved DMS invoice document (shortcut for transition to BOOKED)

Request body

NaamTypeBeschrijving
bookingReferencestring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

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

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken