Skip to main content
POST
Create FloorPlan
A floor plan represents one floor at a location and groups the bookable or assignable floor plan units shown through an uploaded image, a Nexudus Floor Plan Editor layout, or an Archilogic 3D scene.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the FloorPlan-Create role.

Request Body

Required Fields

integer
required
ID of the required location that owns this floor plan.
string
required
Required display name; changing it also updates the associated editor layout name and floor plan unit names containing the previous name.
integer
required
Integer percentage used to scale floor plan unit coordinates over the background image; 100 is full scale, values above 100 are capped at 100 when rendered, and non-positive values render at 33.
integer
required
Legacy horizontal floor plan offset; the current editor stores each unit’s horizontal canvas coordinate in FloorPlanDesk.PositionX instead.
integer
required
Legacy vertical floor plan offset; the current editor stores each unit’s vertical canvas coordinate in FloorPlanDesk.PositionY instead.
integer
required
Legacy floor-level value; Nexudus Floor Plan Editor layouts maintain the active level in FloorPlanLayout.FloorLevel instead.
number
required
Legacy decimal floor plan scale retained for older image-based records; the current editor does not expose or interpret this field.

Optional Fields

integer
ID of the optional Nexudus Floor Plan Editor layout associated with this floor plan; the layout must belong to a location the user can access.
string
URL of a new background/tracing image to upload. The image will be fetched and stored when the floor plan is saved.
boolean
Set to true to remove the current background/tracing image from this floor plan.
boolean
Whether the uploaded background image is displayed for an image-based floor plan.
integer
Optional maximum number of simultaneous bookings accepted across this floor plan; null means unlimited.
string
Integration-managed Archilogic scene GUID used to load the linked 3D floor plan; changing it can break the scene and unit mapping.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the floorplan was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response