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.
{
"task": {
"description": "Task Description",
"application": "Application ID",
"assignee": {
"assigneeType": "borrower",
"assigneeId": "Borrower ID"
},
"dueDate": "03/23/2022",
"variablesIds": ["First Variable Id", "Second Variable Id"],
"blockedStatuses": ["First Status Id", "Second Status Id"]
}
}
{
"task": {
"description": "Task Description",
"application": "Application ID",
"assignee": {
"assigneeType": "intermediary",
"assigneeId": "Intermediary ID"
},
"dueDate": "03/23/2022",
"variablesIds": ["First Variable Id", "Second Variable Id"],
"blockedStatuses": ["First Status Id", "Second Status Id"]
}
}
{
"task": {
"description": "Task Description",
"application": "Application ID",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}
}
{
"task": {
"description": "Task Description",
"application": "Application ID",
"assignee": {
"assigneeType": "organization"
},
"variablesIds": ["First Variable Id", "Second Variable Id"]
}
}
{
"task": {
"description": "Task Description",
"application": "Application ID",
"assignee": {
"assigneeType": "organization"
},
"blockedStatuses": ["First Status Id", "Second Status Id"]
}
}
{
"task": {
"description": "Task Description",
"application": "Application ID",
"assignee": {
"assigneeType": "organization"
},
"dueDate": "03/23/2022"
}
}