API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · locations

location

Schema ID
location
Collection
locations
Permissions
  • Readlocation_view
  • Createlocation_create
  • Editlocation_edit
  • Deletelocation_delete

Fields

location

locations4 permissions
namestringrequired
1–200 characters
locationTypestringrequired
BUILDINGFLOORROOMZONEWORKSTATIONPARKINGRACK
parentIduuidoptional

Parent location for hierarchy (Building > Floor > Room > Workstation)

Default: nullnullable
pathuuid[]optional

Materialized path for fast hierarchy queries

Default: []read-only
sortOrderintegeroptional
≥ 0Default: 0
partyIduuidoptional

Party this location belongs to (for customer site planning)

Default: nullnullable
partyAddressIduuidoptional

Specific address/site of the party

Default: nullnullable
addressobjectoptional
Default: nullnullable
floorPlanImageUrlstringoptional

SVG or image URL for floor plan

Default: nullnullable
capacityintegeroptional

Person capacity

≥ 0Default: nullnullable
roomTypestringoptional
OFFICESERVER_ROOMMEETING_ROOMWORKSHOPSTORAGERECEPTIONKITCHENWCOTHERnull
Default: nullnullable
microsoftRoomEmailemailoptional

SMTP address of the Microsoft 365 room mailbox of this room (ADR 1085), lower-case. When set, appointments booking the room invite it in Outlook as a resource attendee, and inbound Outlook resource attendees with this address link the room. Null = not connected. Protected: generic writes drop it; set via PUT /locations/:id/room-mailbox/email (verified tenant domain) or by connecting the room account (room/equipment mailbox).

max 320 charactersPatternDefault: nullread-onlynullable
workstationTypestringoptional
STANDARDSTANDINGHOT_DESKPHONE_BOOTHnull
Default: nullnullable
isBookablebooleanoptional
Default: false
assignedToUserIduuidoptional

Permanently assigned user (not a hot desk)

Default: nullnullable
positionXnumberoptional

X position on floor plan (0-100%)

0 – 100Default: nullnullable
positionYnumberoptional

Y position on floor plan (0-100%)

0 – 100Default: nullnullable
floorPlanLocationIduuidoptional

ID of the FLOOR/ROOM whose floor-plan this workstation is placed on. Decouples position from hierarchy: positionX/Y belong to ONE specific plan, so a workstation under Room can be placed on the parent Floor plan without leaking the pin into the Room plan.

Default: nullnullable
rackVendorstringoptional

Rack manufacturer/vendor

max 200 charactersDefault: nullnullable
rackModelstringoptional

Rack model name

max 200 charactersDefault: nullnullable
rackDepthMmintegeroptional

Rack depth in millimeters

≥ 0Default: nullnullable
maxWeightKgnumberoptional

Maximum load capacity in kg

≥ 0Default: nullnullable
powerCircuitsintegeroptional

Number of power circuits/feeds

≥ 0Default: nullnullable
ipRangesstring[]optional

Public egress IPs of this site, as CIDR (192.0.2.0/24, 2001:db8::/32) or bare address. Used to detect which site a user is working from — a hint for defaults only, NEVER an authorization input. Not exposed by /print-target/resolve.

Default: []
defaultPrintTargetobjectoptional

Label printer used by default for users detected at this site (ADR 0370)

Default: nullnullable
printTargetsByTypeobjectoptional

Default printer per print type for users detected at this site. A print type without an entry falls back to defaultPrintTarget.

Default: nullnullable
equipmentstring[]optional

Equipment at this location

Default: []
tagsstring[]optional
Default: []
isActivebooleanoptional
Default: true
notesstringoptional
max 2000 charactersDefault: nullnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/locations — List, paginated + filterable
  • GET /api/v1/locations/<id> — Single entity
  • POST /api/v1/locations — Create
  • PATCH /api/v1/locations/<id> — Partial update
  • DELETE /api/v1/locations/<id> — Soft delete
  • GET /api/v1/locations/<id>/timeline — Audit + activities

Search