API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

PATCH /v1/work-planning/floor-plans/{locationId}/positions

PATCH/v1/work-planning/floor-plans/{locationId}/positions

Bulk-update positionX/positionY of WORKSTATION descendants of the given floor/room. Requires location_edit.

Corps de la requête

NomTypeDescription
positionsobligatoireobject[]

Paramètres de chemin

NomTypeDescription
locationIdobligatoirestring

Exemple

curl -X PATCH https://api.codemeta-os.de/v1/work-planning/floor-plans/{locationId}/positions \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "positions": []
}'
const result = await cm.work-planning.patch({
  "positions": []
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche