GET
The GET method retrieves a list of todos per office.
The order for the todos is due date DESC, name ASC.
GET projecten.viadesk.com/api/todos.json?office=407…
where “office” represents the office id.
Response body:
[
{
“id”:”111756-746f646f”,
“name”:”Deliver design document”,
“end”:"2014-06-08T17:08:08CEST",
“completed”: false,
“milestone” : {
“id”: “798321-3425932”,
“name”: “The Milestone”
}
“attendees”: [
{
"name": "Patty Janssen",
"id": "6200-75736572",
"thumbnailUrl": "projecten.viadesk.com/thumbnail/119025-75736572…"
},
{
"name": "Saffy van den Bergh",
"id": "7805-75736572",
"thumbnailUrl": "projecten.viadesk.com/thumbnail/119025-75736572…"
}
],
etc. see itemapi
},
{
“id”:”118814-746f646f”,
“name”:”Prepare sales presentation”,
“end”: "2014-06-08T17:08:08CEST",
“completed”: true,
“milestone” : {
“id”: “798321-3425932”,
“name”: “The Milestone”
}
“attendees”: [
{
"name": "Saffy van den Bergh",
"id": "7805-75736572",
"thumbnailUrl": "projecten.viadesk.com/thumbnail/119025-75736527…"
}
]
}
]
}