Docs

Update Activity

PUT /Activities/{activityId}

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

FieldTypeRequiredDescription
activityIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
descriptionstringOptional
startDateTimedate-timeOptional
endDateTimedate-timeOptional
isDateOnlybooleanOptional
exactLocationstringOptional
meetingLinkstringOptional
isGlobalbooleanOptional
isAllDaybooleanOptional
areasuuid[]Optional
crewMembersUpdateActivityRequestActivityParticipant[]Optional
collaboratorsUpdateActivityRequestActivityParticipant[]Optional
locationsuuid[]Optional
departmentsUpdateActivityRequestActivityParticipant[]Optional

UpdateActivityRequestActivityParticipant

FieldTypeDescription
iduuid
pullBaseServiceCrewPull
rolestring| null

BaseServiceCrewPull

FieldTypeDescription
orgCrewIduuid
placementCollaboratorIduuid| null