Event API
· March 5 at 14:42

POST

  • A successful  create or update returns response code 200 and the resulting Event.

POST projecten.viadesk.com/api/event.json
form field “office” // id of the office where the event will be created or edited
form field “id” // the id of the event (required for editing existing events)
form field “name” // name of event (required for new events)
form field “start” // start date (required)
form field “end” // end date (required)
form field “body” // description of the event (optional)
form field “public” // boolean whether event is public (optional, default false)
form field “location” // location of the event (optional)
form field “category” // category of the event (optional)
form field “categoryColor” // categorycolor of the event (optional) 
form field “tag” // one or more tags (optional)
form field “sendUpdate” // boolean to send updates to all current attendees (optional, default false)
form field “shoewInActivity” // boolean whether to display in timeline (optional, default true)
form field “allday” // boolean for all day events (optional)
form field “reminder” // date when reminder should be sent (optional)
file “featuredimage” // adding a cover image (optional)
file “attachment” // adding an attachment (optional)

 
DELETE

  • The DELETE method allows you to delete an event if the user has the required permission.
  • A successful DELETE returns response code 200.

DELETE projecten.viadesk.com/api/event.json?id=8…