post https://cloud.digifi.io/v2/los/api/tasks/batch
How to create a task using the DigiFi API.
The Batch Create Task API can be used to create multiple application task.
Example Requests
Below please find the JSON body for six example requests:
- Example 1: Creating a task assigned to the application's borrower.
- Example 2: Creating a task assigned to the application's intermediary.
- Example 3: Creating a task assigned to your own team.
- Example 4: Creating a task with variables (i.e. data fields) to display to the user.
- Example 5: Creating a task that includes blocked statuses.
- Example 6: Creating a task with a due date.
{
"applicationId": "63ca97b71da7c1618788eeb8",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "borrower",
"assigneeId": "63ca97d0f2521cdcc460b23a"
},
"dueDate": "03/23/2022",
"variables": ["first_variable", "second_variable"],
"blockedStatusesIds": ["63ca9841617f8daab0c9fe25", "63caa400703e5f36e3155e6a"]
}]
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "intermediary",
"assigneeId": "63ca9805b3a38b0702416bdc"
},
"dueDate": "03/23/2022",
"variables": ["first_variable", "second_variable"],
"blockedStatusesIds": ["63ca9841617f8daab0c9fe25", "63caa400703e5f36e3155e6a"]
}]
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}]
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"variables": ["first_variable", "second_variable"]
}]
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"blockedStatusesIds": ["63ca9841617f8daab0c9fe25", "63caa400703e5f36e3155e6a"]
}]
}
{
"applicationId": "63ca97b71da7c1618788eeb8",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}]
}