ZRM Docs
API ReferenceSpace

space.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
siteIdstringYesID of the associated site
parentSpaceIdstringNoID of the associated parent space
spaceTypeenum(building, floor, wing, room, closet, rack, parking_area, exterior, other)YesSpace type
namestringYesName
floorstringNoFloor
roomNumberstringNoRoom number
descriptionstringNoDescription
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Example

{
  "siteId": "550e8400-e29b-41d4-a716-446655440000",
  "parentSpaceId": "550e8400-e29b-41d4-a716-446655440000",
  "spaceType": "building",
  "name": "Example Name",
  "floor": "example",
  "roomNumber": "example",
  "visibilityMode": "global"
}

On this page