Calendar API

GET
The GET method retrieves a list of (recurring) appointments from a Calendar of a specific office
 
GET projecten.viadesk.com/api/calendar.json?
    office=1-646f6d61696e6f6666696365 //id of office, required
    &beginDate=1392385668389 // from date, required
    &endDate=1392389268389 //until date, required
    &limit=100 //max nr of results, optional, default = 250

 
This returns an array of appointments: 
[
  {
    "allday": true,
    "attendees": [
      {
        "email": "daan@viadesk.com",
        "firstname": "Daan",
        "id": "37443-75736572",
        "lastname": "Amelsfort",
        "name": "Daan Amelsfort",
        "thumbnailUrl": "projecten.viadesk.com/thumbnail/79747-757365727…"
      }
    ],
    "author": {
      "email": "stephano@viadesk.nl",
      "id": "1980-75736572",
      "name": "Stephano van der Waarden",
      "thumbnailUrl": "projecten.viadesk.com/thumbnail/25760-757365727…"
    },
    "body": "Come to our meeting about...",
    "canAddChildren": true,
    "canAll": true,
    "canWrite": true,
    "created": "2014-02-13T13:04:56+0100",
    "end": "2014-02-10T00:00:00+0100",
    "id": "88701-6170706f696e746d656e74",
    "kind": "appointment",
    "location": "Meetingroom",
    "modified": "2014-02-13T13:04:56+0100",
    "multiday": false,
    "name": "Demo",
    "recurring": false,
    "start": "2014-02-10T00:00:00+0100"
  }
]