Create New Document Record (Trust)

POST {{baseUrl}}/cas/trusts/:trustId/documents

Create New Document Record for a Trust

Request Body

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

status object

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

{"documentDate":"2020-07-03","id":1075469,"lastUpdatedTimestamp":"2020-07-03T04:39:45.356366","name":"Trust Deed Update","status":{"createdBy":"CAS360 API","effectiveDate":"2020-07-03","id":969220,"type":"ADDED FROM MIGRATION","typeId":1},"traceNumber":"104"}