DESCRIPTION

This endpoint adds a new document to the matter ID specified.

URL STRUCTURE

https://[hostname]/document/new

METHOD

POST

HEADERS

**Authorization:**    string Base64       [email]:[key]

PARAMETERS

NameTypeDescription
filebinaryRequired. File to be uploaded.
titlestringTitle of the document.
addendumstringString to add to a pre-determined classification.
primary-classificationintPrimary Classification ID.
secondary-classificationintSecondary Classification ID.
notesstringNotes field.
statusenumStatus of document.
attention-ofintUser ID of document for attention of.
matter-idstringMatter ID document belongs to.
datestringDate of the document.
published-statusenumPublished status of the document.
filing-statusenumFiling status of the document.
senderstringName of the sender.
recipientstringName of the recipient.


ENUMS

status

Value For APIDefinition
UUnread
OOutstanding
CComplete 


published-status

Value For APIDefinition
1Recieved
2Draft
3Finalised
4Draft (Sendable)


filing-status

Value For APIDefinition
1To Be Filed
2Filed


RETURNS

Returns the new Document ID as string if successful.

“286”