Docs
Set Activity Value
PUT /Activities/{activityId}/values/{attributeId}
PUT
/Activities/{activityId}/values/{attributeId}Sets one attribute value on the activity (value null clears). The attribute must be placed by the activity's type (attribute ids from Activities_GetActivityTypeOptions). Clearing a required value is a 400 naming it. Changing a value in a field class the caller can't Edit is refused. A File value names a file in the activity's drive, uploaded with Activities_StartActivityAttributeFileUpload or picked from the drive. Needs Activity.Edit on the activity. A write that meets the gate of a never-activated Draft moves it to Tentative, so state and activatedAt may change.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| activityId | uuid | Required | |
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| value | JsonElement | Optional | |
| expiresOn | JsonElement | Optional | |
| itemExpiries | JsonElement | Optional |