Agnostic Guides
...
docuflow SCRUD Web Services
Box Endpoints

Tasks

1min

Currently docuflow has an endpoint to create tasks on top of files and assign them to a user (among other things).

Create a general task on a file
POST
Request
Body Parameters
id(ZID)
String
required
Unique id of box file or folder.
type(ZTYPE)
String
required
Name of metadata template in box.
selectedCMS
String
required
Value should always be set to "box" to let docuflow know which configured content system to search.
body(ZTEXTBODY)
Array
required
Json Array of strings (each index being a seperate line). Or can take a single string value "singleLineExample"
dueDate(ZDUEDATE)
String
required
Date the task is due 2100-12-31 (YYYY-MM-DD)
recipients(ZRECIPIENTS)
Array
required
Array of strings of recipients of the task (email id) *User may require permissions to file before being able to be assigned a task.
taskType(ZTASKTYPE)
String
required
Type of task assigned. For a General Task, task Type is "COMPLETE".

Create a review task on a file
POST
Request
Body Parameters
id(ZID)
String
required
Unique id of box file or folder.
type(ZTYPE)
String
required
Name of metadata template in box.
selectedCMS
String
required
Value should always be set to "box" to let docuflow know which configured content system to search.
body(ZTEXTBODY)
Array
required
Json Array of strings (each index being a seperate line). Or can take a single string value "singleLineExample"
dueDate(ZDUEDATE)
String
required
Date the task is due 2100-12-31 (YYYY-MM-DD)
recipients(ZRECIPIENTS)
Array
required
Array of strings of recipients of the task (email id) *User may require permissions to file before being able to be assigned a task.
taskType(ZTASKTYPE)
String
required
Type of task assigned. For a review task, task type is "REVIEW"