Add calendar events
officient_add_calendar_eventAdd sick days, education, or custom events to an employee's Officient calendar. Each event requires date, start time, and duration.
Instructions
Add one or more events (day off, sick day, education, overtime, …) to a person’s calendar. All events in one call must fall in the same year. Set type="custom" together with custom_day_off_type_id from officient_list_event_types; omit that id for sick_day / education. duration_minutes may be the string "all_day". Required scope: calendar:write. WRITES DATA in Officient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | sick_day, education or custom. | |
| events | Yes | One entry per event. All entries must be in the same year. | |
| person_id | Yes | Officient person id. | |
| custom_day_off_type_id | No | Required when type="custom"; get it from officient_list_event_types. |