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.
Path parameters
| Name | Type | Description |
|---|
locationIdrequired | string | |
Example
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();
Response codes
| HTTP |
Meaning |
200 |
Default Response |