Propose up to 50 entries, classifications or reconciliations in one call, each decided by a person. Posts nothing.
Changed onitems holds 1 to 50 proposals, each shaped as the arguments of a single proposal, without entity_id or a key. A malformed item refuses the whole batch with invalid_request and its index; otherwise each item is proposed or refused on its own, and items answers per index: status: proposed with proposal_id, where and approve_url, or status: refused with error (code, reason, message). Requires an Idempotency-Key header (or idempotency_key, 8 to 200 characters): a retry with the same key and the same items answers the first per-item result with replayed: true; the same key over other items is refused with 409 idempotency_conflict. A batch in which nothing was proposed keeps no key. 403 feature_off while batch proposals are switched off on the platform. Nothing is booked, matched or filed.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesfinance:write
Headers
Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
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.
The proposals, at most 50.
Same as the Idempotency-Key header; give one of the two.
Response
Result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning