Tasks
1 min
Currently docuflow has an endpoint to create tasks on top of files and assign them to a user (among other things).
Create Tasks
Create a general task on a file
POST
https://localhost:82/scrud/createTask
{
"cmsName":"insertProductionSystemName (located in docuflow gui)",
"id": "insert box file id",
"taskType":"insert Task type (described in params)",
"recipients":
[
"[email protected]",
"[email protected]"
],
"body": [
"Hi",
"Thank you."
],
"dueDate":"2021-12-30",
"selectedCMS":"box",
}Create Tasks
Create a review task on a file
POST
https://localhost:82/scrud/createTask
{
"cmsName":"insertProductionSystemName (located in docuflow gui)",
"id": "insert box file id",
"taskType":"insert Task type (described in params)",
"recipients":
[
"[email protected]",
"[email protected]"
],
"body": [
"Hi",
"Thank you."
],
"dueDate":"2021-12-30",
"selectedCMS":"box",
}