Skip to main content

Create a floor plan

POST 

/api/v1/businesses/:id/floor_plans

Create a floor plan

Request

Path Parameters

    id stringrequired

Body

required

    data

    object

    type stringrequired

    Possible values: [floor_plans]

    attributes

    object

    name string
    height int32

    Default value: 1000

    Height of the floor plan in px (1000 = 10m)

    width int32

    Default value: 1000

    Width of the floor plan in px (1000 = 10m)

Responses

Return created floor plan

Schema

    data

    object

    required

    id stringrequired
    type stringrequired

    Possible values: [floor_plans]

    links

    object

    required

    self stringrequired

    attributes

    object

    required

    name string

    Default value: Main

    height int32

    Default value: 1000

    width int32

    Default value: 1000

Loading...