Approve, edit, reject or snooze an Inbox item (#4356)
Changed onA signed-in person's decision on an open item. When it has an effect (decision.effect: held: post Penny's proposal or the person's edit edits.categoryGlAccountId, close her question with that answer, send a rejection's note back to her as the answer in words, decide a held row), the effect is held 10 seconds (effect.dueAt; undo inside it), then carried out as this person; a failure leaves effect.state: failed with the reason and the item open again for a retry. Otherwise it is recorded only (recorded_only). An item that closes by its own action (Jacob's five types: assign a client, get the journal, record how it was paid, reconnect, wait for the statement) answers 400 INBOX_CLOSES_ELSEWHERE to approve, edit and reject. A rejection with an effect needs note. approve and edit (with edits) end approved, reject ends rejected, snooze (with snoozeUntil, in the future and at most 30 days out) ends snoozed until then. Stores who decided and when. When the client has a preparer or reviewer, approve and edit require one of those assigned people or the firm admin (403 CLIENT_APPROVER_REQUIRED). An item that is not open answers 409 INBOX_ITEM_NOT_OPEN; a bad body or snooze time answers 400. Every API key is refused, the service token included.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Required for edit, only for edit; at most 16 KB.
Required for snooze, only for snooze.
Response
The item with its recorded decision
An accountant Inbox item (#4356). status is as the caller sees it.
Changes
- info
endpoint added
- info