Accountant Portal

Write the draft of this ask (#4356)

Changed on

A 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 URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

InboxDraftInput required
subject, string required
body, string required

Response

The draft

InboxDraftEnvelope required
success, true required
data, InboxDraft required

The one draft of an ask (Jacob P2), kept with its Inbox item.

Changes