Add event

Add new events to a calender (eg a day off, overtime,..)

Scope required: calendar:write

Restrictions:

  • All events added in one API call must be within the same year.
  • The 'type' parameter can be either 'sick_day', 'education' or 'custom'
  • The custom_day_off_type_id must only be set when using the 'custom' type. Use the custom event types API call to get the custom types that are available in a given year.

Tips

For ease of use, the 'duration_minutes' parameter can be set to 'all_day'. This will signal that the event should have the duration of the scheduled amount of hours for that day.

Path Params
int32
required
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json