Saltar al contenido

spendAuthorityLimits

Módulo Settings · 5 operaciones

List spend authority limit rows

GET/spend-authority

A spend limit by role or person and document type, enforced in the approval RPCs. Returns a cursor page of spend authority limit rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a spend authority limit

POST/spend-authority

A spend limit by role or person and document type, enforced in the approval RPCs. Creates a spend authority limit. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a spend authority limit

GET/spend-authority/{id}

A spend limit by role or person and document type, enforced in the approval RPCs. Returns one spend authority limit with its `ETag`. A spend authority limit the caller may not see returns 404.

Update a spend authority limit

PATCH/spend-authority/{id}

A spend limit by role or person and document type, enforced in the approval RPCs. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete a spend authority limit

DELETE/spend-authority/{id}

A spend limit by role or person and document type, enforced in the approval RPCs. Soft-deletes the spend authority limit: it moves to Trash and can be restored for its table's retention period.