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.
Note, that you can create up to 20 tasks per one request.
{
"application": "Application ID",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "borrower",
"assigneeId": "Borrower ID"
},
"dueDate": "03/23/2022",
"variablesIds": ["First Variable Id", "Second Variable Id"],
"blockedStatusesIds": ["First Status Id", "Second Status Id"]
}]
}
{
"application": "Application ID",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "intermediary",
"assigneeId": "Intermediary ID"
},
"dueDate": "03/23/2022",
"variablesIds": ["First Variable Id", "Second Variable Id"],
"blockedStatusesIds": ["First Status Id", "Second Status Id"]
}]
}
{
"application": "Application ID",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}]
}
{
"application": "Application ID",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"variablesIds": ["First Variable Id", "Second Variable Id"]
}]
}
{
"application": "Application Id",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"blockedStatusesIds": ["First Status Id", "Second Status Id"]
}]
}
{
"application": "Application Id",
"batch": [{
"description": "Task Description",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}]
}