post https://cloud.digifi.io/v2/los/api/application-documents/batch
How to upload multiple documents in a batch to an application.
The Batch Upload Application Document API can be used to multiple upload documents to applications.
Request Content-Type
Use multipart/form-data content-type for this request.
Example Requests
Below please find the JSON body for three example requests:
- Example 1: Uploading two documents to the root folder of the application.
- Example 2: Uploading two document to different folders of the application.
- Example 3: Uploading two documents with access permissions.
{
"applicationId": "Application ID",
}
{
"applicationId": "Application ID",
"options[0].parentId": "Parent ID 1",
"options[1].parentId": "Parent ID 2",
}
{
"applicationId": "Application ID",
"options[0].parentId": "Parent ID",
"options[1].parentId": "Parent ID 2",
"accessPermissions": [
{
"entityId": "ID of Borrower/Intermediary/Co-Borrower assigned to Application",
"entityType": "`borrower` for Borrower/Co-Borrower and `intermediary` for Intermediary",
"accessGranted": true
},
{
"entityId": "ID of Borrower/Intermediary/Co-Borrower assigned to Application",
"entityType": "`borrower` for Borrower/Co-Borrower and `intermediary` for Intermediary",
"accessGranted": true
}
]
}