Docs
Get Area Records
GET /organizations/{orgId}/collaborator-records/{recordId}/area-records
GET
/organizations/{orgId}/collaborator-records/{recordId}/area-recordsLists the areas a collaborator record owns (a venue's rooms, or the organization's own spaces on its own record), in order, each with its type, isIncomplete and its attribute values (attributes). Archived areas are left out unless includeArchived is true. recordId comes from CollaboratorDatabase_GetCollaboratorRecords. Needs Collaborator.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required | |
| recordId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| includeArchived | boolean | Optional |
Response
Type: GetAreaRecordSummaryResponse[]
GetAreaRecordSummaryResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| isArchived | boolean | |
| areaType | GetAreaRecordSummaryResponseAreaTypeInfo| null | |
| isIncomplete | boolean | |
| access | string[]| null | |
| attributes | GetAreaRecordSummaryResponseAttributeValueInfo[]| null |
GetAreaRecordSummaryResponseAreaTypeInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null |
GetAreaRecordSummaryResponseAttributeValueInfo
| Field | Type | Description |
|---|---|---|
| attributeId | uuid | |
| value | JsonElement| null |