read
finance

The proposals waiting in one entity's books: entries, classifications and reconciliations a person decides.

Changed on

Proposals are written by the books assistant or by an app, and posted by nobody: a person accepts or dismisses each one under Books → Assistant, and accepting books nothing by itself. Each item carries kind (entry, classification, reconciliation), its payload as it was proposed (amounts as decimal strings), rationale, source (assistant for the books assistant, app:<id> for an app), status (proposed, accepted, dismissed) and its timestamps. Ordered by id. Keyset-paged: pass page.next_cursor back as cursor while page.has_more is true. page.truncated is true only when a server-side bound cut this page short of what was asked; it is never a silent cut.

The GET form of finance_proposals_list: the same arguments as query parameters.

get/api/v1/finance/proposals

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesfinance:read

Query parameters

entity_id, string uuid required

The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.

status, 'proposed' | 'accepted' | 'dismissed'

Only proposals in this state.

cursor, string

The next_cursor of the previous page. Opaque.

limit, integer

Items per page.

entity, string uuid

Alias of entity_id; give one of the two.

Response

Result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision