API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

POST /v1/work-planning/floor-plans/{locationId}/upload

POST/v1/work-planning/floor-plans/{locationId}/upload

Upload a floor-plan background image (PNG or JPEG, ≤10 MB). Stores the URL in location.floorPlanImageUrl. Requires location_edit.

Pfad-Parameter

NameTypBeschreibung
locationIderforderlichstring

Beispiel

curl -X POST https://api.codemeta-os.de/v1/work-planning/floor-plans/{locationId}/upload \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.work-planning.post();

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche