post https://api.cloud.digifi.io/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.
- Example 4: Uploading and connecting to Task
- Example 5: Uploading two documents with labels.
{
"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
}
]
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"taskId": "63caa8fbc21b8d1bba81b19a"
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"options[0].labelIds": "63caa93be83805d684481af0",
"options[1].labelIds": ["63caa9439034248d3e22fe14", "63caa9439034248d3e22fe15"],
}