Skip to main content

Document

Holds information regarding the documents uploaded as attachments

creationDatestring<date-time>

The creation date of the document, stored as UTC

Example: 2016-09-06T13:37:50+03:00
encodedKeystring

The document encodedKey

fileNamestring

The original file name of the document

fileSizeinteger<int64>

The file size of the document

idinteger<int64>required

The document id

lastModifiedDatestring<date-time>

The last modified date of the document, stored as UTC

Example: 2016-09-06T13:37:50+03:00
locationstring

Location where the document can be found, eg /myfiles/mypicture.jpeg

namestringrequired

The name of the document

notesstring

Detailed notes about the document

ownerKeystring

Represents the holder of this document. If null, means nobody is the owner of this document

ownerTypestring

Determines the owner type of the document

Possible values: [CLIENT, GROUP, LOAN_PRODUCT, SAVINGS_PRODUCT, CENTRE, BRANCH, USER, LOAN_ACCOUNT, DEPOSIT_ACCOUNT, ID_DOCUMENT, LINE_OF_CREDIT, GL_JOURNAL_ENTRY]

typestringrequired

The extension of the document

Document
{
"creationDate": "2016-09-06T13:37:50+03:00",
"encodedKey": "string",
"fileName": "string",
"fileSize": 0,
"id": 0,
"lastModifiedDate": "2016-09-06T13:37:50+03:00",
"location": "string",
"name": "string",
"notes": "string",
"ownerKey": "string",
"ownerType": "CLIENT",
"type": "string"
}