POST
/
floors
curl --request POST \
  --url https://app.planpoint.io/api/floors \
  --header 'Authorization: <api-key>'
{
  "_id": "<string>",
  "project": "<string>",
  "units": [
    "objectId"
  ],
  "name": "<string>",
  "position": 123,
  "floorplanUrl": "<string>",
  "path": "<string>",
  "alternativePaths": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

project
string
required

Id of the floor's project

name
string

Name of the floor

position
number

Position or order of the floor

Response

200
application/json
Successful operation
_id
string

Unique identifier for the floor

project
string

Reference to the associated project

units
string[]

Reference to associated units

name
string

Name of the floor

position
integer

Position or order of the floor

floorplanUrl
string

Floorplan image url

path
string

Floor drawing path

alternativePaths
string[]

Alternative paths for the floor