|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
page | Page number of todos to return. Returns empty array if the page has no todos. If page parameter isn't present, returns the first page | Optional |
size | Number of todos to return in a page. If size parameter isn't present, returns the page with 25 todos | Optional |
[
{
"_id": "521f26edcce8b4310e000080",
"name": "Email general contract",
"type": "Email",
"date": "2013-08-26",
"time": null,
"done": false
},
{
"_id": "521f26edcce8b4310e000081",
"name": "Call and discuss general contract",
"type": "Call",
"date": "2013-08-28",
"time": "10:00 AM",
"done": true
}
]
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
todo_id | Unique identifier of the todo | Required |
{
"_id": "521f26edcce8b4310e000080",
"name": "Email general contract",
"type": "Email",
"date": "2013-08-26",
"time": null,
"done": false
}
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
name | Name of the todo | Required |
type | Type of the todo (Email | Call | Meetup | Task | Other) | Required |
date | Due date of the todo (format - YYYY-MM-DD) | Optional |
time | Due time of the todo (format - h:MM [AM|PM] e.g. 5:00 PM, 10:00 AM) | Optional |
{
"_id": "521f26edcce8b4310e000080",
"name": "Email general contract",
"type": "Email",
"date": "2013-08-26",
"time": null,
"done": false
}
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
todo_id | Unique identifier of the todo | Required |
name | Name of the todo | Optional |
type | Type of the todo (Email | Call | Meetup | Task | Other) | Optional |
date | Due date of the todo (format - YYYY-MM-DD) | Optional |
time | Due time of the todo (format - h:MM [AM|PM] e.g. 5:00 PM, 10:00 AM) | Optional |
{
"_id": "521f26edcce8b4310e000080",
"name": "Email general contract",
"type": "Email",
"date": "2013-08-26",
"time": null,
"done": false
}
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
todo_id | Unique identifier of the todo | Required |
{}