Docs
Add Activity
POST /Activities
POST
/ActivitiesCreates an organization activity with crew and department participants and locations. A global activity needs the organization activities add permission, and a caller who is not an organization admin needs activity-add access on every department and location attached; crew ids come from Crew_GetCrew, department ids from Organizations_GetDepartments and location ids from Locations_GetLocations, and it needs an organization token and organization basic access.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | Optional | |
| name | string | Optional | |
| description | string | Optional | |
| startDateTime | date-time | Optional | |
| endDateTime | date-time | Optional | |
| exactLocation | string | Optional | |
| isGlobal | boolean | Optional | |
| isAllDay | boolean | Optional | |
| recurrenceRules | AddActivityRequestRecurrenceRule | Optional | |
| locations | uuid[] | Optional | |
| crewMembers | AddActivityRequestActivityParticipant[] | Optional | |
| departments | AddActivityRequestActivityParticipant[] | Optional |
AddActivityRequestRecurrenceRule
| Field | Type | Description |
|---|---|---|
| frequency | string| null | |
| interval | integer | |
| daysOfWeek | string[]| null | |
| endDate | date-time |
AddActivityRequestActivityParticipant
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| isRequired | boolean | |
| role | string| null |