Accountant Portal
Write the draft of this ask (#4356)
Changed onA person writes or edits the draft (draftedBy: person); from then on Penny's writes never replace it. Refused with 409 INBOX_DRAFT_SENT once sent, and 400 INBOX_DRAFT_NO_CLIENT for an item with no client yet. MI-148 (C13): a person's subject and body are client-visible text, so an internal file name or a relative date ("next week", "in nine days") is a 422 VALIDATION_ERROR whose messages name the words (a malformed body stays 400 INBOX_INVALID_REQUEST). A signed-in person only.
post/accountant/inbox-items/{id}/draft
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
Inbox Draft Input required
subject, string required
body, string required
Response
The draft
Inbox Draft Envelope required
success, true required
data, Inbox Draft required
The one draft of an ask (Jacob P2), kept with its Inbox item.
Changes
- info
endpoint added
- info