Docs

Set Area Value

PUT /areas/{areaId}/values/{attributeId}

PUT/areas/{areaId}/values/{attributeId}

Writes one value by its attribute's use case. On an owned area an Org attribute writes the collaborator record's area (seen on every event; needs Collaborator.Edit at the organization, else 403), an Event attribute this area, and a Both attribute this event's own row; isCleared true leaves a Both value deliberately empty here. On an event-only area every attribute is the area's own. The value is typed by the attribute's kind as on Collaborators_SetCollaboratorValue; null clears it. A File value names a file uploaded with OrgAreas_StartAreaRecordFileUpload (owned areas) or an event drive file. The attribute must be placed by the area's type (Areas_GetArea). Clearing a required value is a 400 whose missingRequired names it. Needs Area.Edit at the event or on the area.

Path Parameters

FieldTypeRequiredDescription
areaIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
valueJsonElementOptional
expiresOnJsonElementOptional
itemExpiriesJsonElementOptional
isClearedbooleanOptional