Document
Holds information regarding the documents uploaded as attachments
creationDatedate-time
The creation date of the document, stored as UTC
Example:
2016-09-06T13:37:50+03:00encodedKeystring
The document encodedKey
fileNamestring
The original file name of the document
fileSizeint64
The file size of the document
idint64required
The document id
lastModifiedDatedate-time
The last modified date of the document, stored as UTC
Example:
2016-09-06T13:37:50+03:00locationstring
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"
}