API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · locations

location

ID du schéma
location
Collection
locations
Autorisations
  • Lirelocation_view
  • Créerlocation_create
  • Modifierlocation_edit
  • Supprimerlocation_delete

Champs

location

locations4 autorisations
namestringobligatoire
1–200 caractères
locationTypestringobligatoire
BUILDINGFLOORROOMZONEWORKSTATIONPARKINGRACK
parentIduuidfacultatif

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

Par défaut : nullnullable
pathuuid[]facultatif

Materialized path for fast hierarchy queries

Par défaut : []lecture seule
sortOrderintegerfacultatif
≥ 0Par défaut : 0
partyIduuidfacultatif

Party this location belongs to (for customer site planning)

Par défaut : nullnullable
partyAddressIduuidfacultatif

Specific address/site of the party

Par défaut : nullnullable
addressobjectfacultatif
Par défaut : nullnullable
floorPlanImageUrlstringfacultatif

SVG or image URL for floor plan

Par défaut : nullnullable
capacityintegerfacultatif

Person capacity

≥ 0Par défaut : nullnullable
roomTypestringfacultatif
OFFICESERVER_ROOMMEETING_ROOMWORKSHOPSTORAGERECEPTIONKITCHENWCOTHERnull
Par défaut : nullnullable
microsoftRoomEmailemailfacultatif

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 caractèresMotifPar défaut : nulllecture seulenullable
workstationTypestringfacultatif
STANDARDSTANDINGHOT_DESKPHONE_BOOTHnull
Par défaut : nullnullable
isBookablebooleanfacultatif
Par défaut : false
assignedToUserIduuidfacultatif

Permanently assigned user (not a hot desk)

Par défaut : nullnullable
positionXnumberfacultatif

X position on floor plan (0-100%)

0 – 100Par défaut : nullnullable
positionYnumberfacultatif

Y position on floor plan (0-100%)

0 – 100Par défaut : nullnullable
floorPlanLocationIduuidfacultatif

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.

Par défaut : nullnullable
rackVendorstringfacultatif

Rack manufacturer/vendor

max. 200 caractèresPar défaut : nullnullable
rackModelstringfacultatif

Rack model name

max. 200 caractèresPar défaut : nullnullable
rackDepthMmintegerfacultatif

Rack depth in millimeters

≥ 0Par défaut : nullnullable
maxWeightKgnumberfacultatif

Maximum load capacity in kg

≥ 0Par défaut : nullnullable
powerCircuitsintegerfacultatif

Number of power circuits/feeds

≥ 0Par défaut : nullnullable
ipRangesstring[]facultatif

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.

Par défaut : []
defaultPrintTargetobjectfacultatif

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

Par défaut : nullnullable
printTargetsByTypeobjectfacultatif

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

Par défaut : nullnullable
equipmentstring[]facultatif

Equipment at this location

Par défaut : []
tagsstring[]facultatif
Par défaut : []
isActivebooleanfacultatif
Par défaut : true
notesstringfacultatif
max. 2000 caractèresPar défaut : nullnullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/locations — Liste, paginée et filtrable
  • GET /api/v1/locations/<id> — Une entité
  • POST /api/v1/locations — Créer
  • PATCH /api/v1/locations/<id> — Mise à jour partielle
  • DELETE /api/v1/locations/<id> — Suppression logique
  • GET /api/v1/locations/<id>/timeline — Audit et activités

Recherche