Returns all task records for a single task list.
{
"tasks":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}
Returns all task records for a project inbox.
{
"inbox":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}
Returns all task records for a contact.
{
"tasks":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}
Returns all task records for a case.
{
"tasks":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}
Returns all task records for a deal.
{
"tasks":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}
Returns the personal tasks that are visible to the authenticated user. Use the search query to refine your search. Available parameters are:
{
"tasks":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}
Returns a single task item record, given its integer ID.
{
"task":{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
}
}
Marks the specified task item as done.
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Marks the specified task item as started.
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Marks the specified task item as not started.
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Creates a new task record for the given list. The new record begins its life in the “not started” state. (See the “Complete”, “Mark as started” and “Mark as not started” actions.) The task is added at the bottom of the given list. Assign a task to a person or more than a person by filling the responsibles field. You can specify the task due date with the “due-date” key (containing an UTC timestamp) or with the “time-bucket” key. Possible value for it are: “later” (if you don't want to set a due date), “today”, “tomorrow”, “this week” and “next week”. Note that you can also attach files to the task, but you need to upload the files first and then reference them in the attachments field.
{
"task":{
"subject":"This is a task",
"due-date":"2012-08-05",
"responsibles":[
"23998611",
"4847593",
...
],
// if the “due-date” key is posted this field will be ignored
"time-bucket":"tomorrow" ,
"attachments":["332929", "94092840"]
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new task ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"task-id":"8872225"
}
Creates a new task record for the given project inbox.
{
"task":{
"subject":"This is a task",
"due-date":"2012-08-05",
"responsibles":"23998611",
"attachments":["332929", "94092840"]
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new task ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"task-id":"66849454"
}
Creates a new task record for the given contact.
In the case of contact tasks, the responsibles field is mandatory.
{
"task":{
"subject":"This is a task",
"due-date":"2012-08-05",
"responsibles":["3312785", "949830"],
"attachments":["332929", "94092840"]
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new task ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"task-id":"3312785"
}
Creates a new task record for the given case.
In the case of case tasks, the responsibles field is mandatory.
{
"task":{
"subject":"This is a task",
"due-date":"2012-08-05",
"responsibles":["3312785", "949830"],
"attachments":["332929", "94092840"]
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new task ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"task-id":"21651119"
}
Creates a new task record for the given deal. .
In the case of deal tasks, the responsibles field is mandatory.
{
"task":{
"subject":"This is a task",
"due-date":"2012-08-05",
"responsibles":["3312785", "949830"],
"attachments":["332929", "94092840"]
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new task ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"task-id":"90853928"
}
Creates a new personal task record.
{
"task":{
"subject":"This is a task",
"due-date":"2012-08-05",
"responsibles":[
"23998611"
]
// if the “due-date” key is posted this field will be ignored
"time-bucket":"tomorrow",
"attachments":["332929", "94092840"]
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new task ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"task-id":"8872225"
}
Updates a specific task. Note that you can also upload files using this function, but you need to upload the files first and then attach them.
{
"task":{
"subject":"This is an updated task",
"state":"started", // possible values: “not started”, “started” and “done”
"position":"5"
}
}
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Delete the task with the given ID.
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Changes the ordering of the tasks for the given list. Completed tasks cannot be reordered, and any task not specified will be sorted after the tasks explicitly given (allowing you to easily move a single task to the head of the list without having to specify the positions of all the other tasks). You may reparent tasks by putting tasks from one list into the ordering of tasks for a different list (though tasks cannot be reparented across project boundaries).
{
"tasks":[
"90818577",
"34917854",
"33146642",
"1531984"
]
}
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Changes the ordering of the tasks for the inbox of the given project.
{
"tasks":[
"90818577",
"34917854",
"33146642",
"1531984"
]
}
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Returns the personal tasks that are visible to the authenticated user. Available parameters are:
{
"tasks":[
{
"id":"80345972",
"subject":"This is a task",
"due-date":"",
...
},
{
"id":"7860930",
"subject":"This is another task",
"due-date":"2012-08-05",
...
},
...
]
}