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": "63ca97b71da7c1618788eeb8",
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"options[0].parentId": "63caa93be83805d684481af0",
"options[1].parentId": "63caa9439034248d3e22fe14",
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"options[0].parentId": "63caa93be83805d684481af0",
"options[1].parentId": "63caa9439034248d3e22fe14",
"accessPermissions": [
{
"entityId": "63ca97d0f2521cdcc460b23a",
"entityType": "borrower",
"accessGranted": true
},
{
"entityId": "63ca9805b3a38b0702416bdc",
"entityType": "intermediary",
"accessGranted": true
}
]
}