PUT/Activities/{activityId}
Replaces every field of an activity, including its participants and areas; to move it in time only,
use Activities_UpdateActivityTime, and to change its working state, Activities_SetActivityState. Only
a Draft may lose its start. Needs Activity.Edit on the activity (a crew organizer holds it),
Activity.Edit at each collaborator or area added, removed or given a new role, Activity.Manage on the
activity to change its organizers, and Activity.Manage at the event to change whether it is global.
Participants are left unchanged on a system-managed activity whose participants are locked; needs an
event token. With an organization token and no event token it updates an organization activity under
the same rule at the organization, departments and locations. The participant lists replace hand-added rows
only: a participant a role slot put there (sourceRoleId set) is never removed, and the roster checks ignore it.
Path Parameters
| Field | Type | Required | Description |
|---|
| activityId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| name | string | Optional | |
| description | string | Optional | |
| startDateTime | date-time | Optional | |
| endDateTime | date-time | Optional | |
| isDateOnly | boolean | Optional | |
| exactLocation | string | Optional | |
| meetingLink | string | Optional | |
| isGlobal | boolean | Optional | |
| isAllDay | boolean | Optional | |
| areas | uuid[] | Optional | |
| crewMembers | UpdateActivityRequestActivityParticipant[] | Optional | |
| collaborators | UpdateActivityRequestActivityParticipant[] | Optional | |
| locations | uuid[] | Optional | |
| departments | UpdateActivityRequestActivityParticipant[] | Optional | |
UpdateActivityRequestActivityParticipant
| Field | Type | Description |
|---|
| id | uuid | |
| pull | BaseServiceCrewPull | |
| role | string| null | |
BaseServiceCrewPull
| Field | Type | Description |
|---|
| orgCrewId | uuid | |
| placementCollaboratorId | uuid| null | |