List the accountant Inbox (#4356)
Changed onOne page of Inbox items, oldest waitingSince first, with counts per group over the same filters except group, the count of items snoozed now (they never vanish), each owner's count over the same filters except owner and group (owners, the Owner filter), and the header numbers of wireframe page 3 (summary). The caller sees items of the clients they are assigned to (a human super-admin: every client) plus items with no client (ask_which_client). owner keeps items that accountant (me: the caller) owns: named on the item, else the client's primary accountant. status defaults to open; a snoozed item whose snoozedUntil has passed reads open again. A signed-in person only: every API key is refused, the service token included (404). Bad query values answer 400 INBOX_INVALID_REQUEST.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Query parameters
me or an accountant id
The row label of wireframe page 3.
One item by its exact source key (unique), for example a which-client mail's inbound_email:<sha256 hex of its Message-ID header value as received, angle brackets included>:which_client. No prefix match. 1-300 characters as sent; surrounding whitespace is then trimmed. The item still has to be one the caller sees and match the other filters (customerId, family, kind, owner, status), else the page is empty and summary names nothing. counts, owners and summary are then over that item only.
Response
A page of items and the counts per group
Changes
- info
added the new enum value
waiting_clientto thequeryrequest parameterstatus - info
added the required property
data/counts/waitingOnClientto the response with the status
- info
- info
endpoint added
- info