API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · locations

location

Schema-ID
location
Collection
locations
Permissions
  • Lezenlocation_view
  • Aanmakenlocation_create
  • Wijzigenlocation_edit
  • Verwijderenlocation_delete

Velden

location

locations4 permissions
namestringvereist
1–200 tekens
locationTypestringvereist
BUILDINGFLOORROOMZONEWORKSTATIONPARKINGRACK
parentIduuidoptioneel

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

Default: nullnullable
pathuuid[]optioneel

Materialized path for fast hierarchy queries

Default: []read-only
sortOrderintegeroptioneel
≥ 0Default: 0
partyIduuidoptioneel

Party this location belongs to (for customer site planning)

Default: nullnullable
partyAddressIduuidoptioneel

Specific address/site of the party

Default: nullnullable
addressobjectoptioneel
Default: nullnullable
floorPlanImageUrlstringoptioneel

SVG or image URL for floor plan

Default: nullnullable
capacityintegeroptioneel

Person capacity

≥ 0Default: nullnullable
roomTypestringoptioneel
OFFICESERVER_ROOMMEETING_ROOMWORKSHOPSTORAGERECEPTIONKITCHENWCOTHERnull
Default: nullnullable
microsoftRoomEmailemailoptioneel

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 tekensPatternDefault: nullread-onlynullable
workstationTypestringoptioneel
STANDARDSTANDINGHOT_DESKPHONE_BOOTHnull
Default: nullnullable
isBookablebooleanoptioneel
Default: false
assignedToUserIduuidoptioneel

Permanently assigned user (not a hot desk)

Default: nullnullable
positionXnumberoptioneel

X position on floor plan (0-100%)

0 – 100Default: nullnullable
positionYnumberoptioneel

Y position on floor plan (0-100%)

0 – 100Default: nullnullable
floorPlanLocationIduuidoptioneel

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
rackVendorstringoptioneel

Rack manufacturer/vendor

max. 200 tekensDefault: nullnullable
rackModelstringoptioneel

Rack model name

max. 200 tekensDefault: nullnullable
rackDepthMmintegeroptioneel

Rack depth in millimeters

≥ 0Default: nullnullable
maxWeightKgnumberoptioneel

Maximum load capacity in kg

≥ 0Default: nullnullable
powerCircuitsintegeroptioneel

Number of power circuits/feeds

≥ 0Default: nullnullable
ipRangesstring[]optioneel

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: []
defaultPrintTargetobjectoptioneel

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

Default: nullnullable
printTargetsByTypeobjectoptioneel

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

Default: nullnullable
equipmentstring[]optioneel

Equipment at this location

Default: []
tagsstring[]optioneel
Default: []
isActivebooleanoptioneel
Default: true
notesstringoptioneel
max. 2000 tekensDefault: nullnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/locations — Lijst, gepagineerd + filterbaar
  • GET /api/v1/locations/<id> — Enkele entity
  • POST /api/v1/locations — Aanmaken
  • PATCH /api/v1/locations/<id> — Gedeeltelijke update
  • DELETE /api/v1/locations/<id> — Soft-delete
  • GET /api/v1/locations/<id>/timeline — Audit + activiteiten

Zoeken