post https://cloud.digifi.io/v2/los/api/tasks
How to create a task using the DigiFi API.
The Create Task API can be used to create an 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.
{
"description": "Task Description",
"applicationId": "63ca97b71da7c1618788eeb8",
"assignee": {
"assigneeType": "borrower",
"assigneeId": "63ca97d0f2521cdcc460b23a"
},
"dueDate": "03/23/2022",
"variables": [
"first_variable",
"second_variable"
],
"blockedStatusesIds": [
"63ca9841617f8daab0c9fe25",
"63caa400703e5f36e3155e6a"
]
}
{
"description": "Task Description",
"applicationId": "63ca97b71da7c1618788eeb8",
"assignee": {
"assigneeType": "intermediary",
"assigneeId": "63ca9805b3a38b0702416bdc"
},
"dueDate": "03/23/2022",
"variablesIds": [
"first_variable",
"second_variable"
],
"blockedStatusesIds": [
"63ca9841617f8daab0c9fe25",
"63caa400703e5f36e3155e6a"
]
}
{
"description": "Task Description",
"applicationId": "63ca97b71da7c1618788eeb8",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}
{
"description": "Task Description",
"applicationId": "63ca97b71da7c1618788eeb8",
"assignee": {
"assigneeType": "organization"
},
"variables": [
"first_variable",
"second_variable"
]
}
{
"description": "Task Description",
"applicationId": "63ca97b71da7c1618788eeb8",
"assignee": {
"assigneeType": "organization"
},
"blockedStatusesIds": [
"63ca9841617f8daab0c9fe25",
"63caa400703e5f36e3155e6a"
]
}
{
"description": "Task Description",
"applicationId": "63ca97b71da7c1618788eeb8",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}