Create New Document Record

POST {{baseUrl}}/companies/:companyId/documents

Create New Document Record for a Company

Request Body

KeyDatatypeMandatoryConstraints
nameStringYes
documentDateStringYesISO 8601 date https://en.wikipedia.org/wiki/ISO_8601
asicDocNumberStringNo

status object

Note: Within Australia, only certain combinations of companyType, companyClass and companySubClass are valid

KeyDatatypeMandatoryConstraints
typeIdLongNoMust be a valid status Id, if not specified will default to 'RECEIVED'

Request Body

{"asicDocNumber"=>"{{asicDocNumber}}", "documentDate"=>"{{documentDate}}", "name"=>"{{name}}", "status"=>{"typeId"=>3}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: OK

{"id":"34684684","traceNumber":"84","asicDocNumber":"7e10b1b1","documentDate":"2017-07-01","name":"Annual Reports","status":{"typeId":3}}