AccountingRules

put/v1/portfolios/{portfolioSlug}/accounting-rules/order

Request

  • Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/accounting-rules/order
  • Auth: API key in header x-api-key

Path parameters

portfolioSlugstring required

Workspace-scoped portfolio slug

Request body

orderedRuleIdsstring[] required

Every rule handle in the portfolio, in the order they should evaluate. Rules apply in order, so earlier rules win.

Response

mode'sync' | 'async' required

Whether the command ran sync or async

jobIdstring

Tracking job id, present for asynchronous commands

status'queued'

Queue status, present for asynchronous commands

Changes

No recorded changes to this operation across all 1 revision of this API.