Skip to main content

Create a new table

POST 

/api/v2/tables

Create a new table and link it to a floor plan

Request

Body

required

    number stringrequired

    Human-friendly identifier of the table

    number_of_seats integerrequired

    Number of seats the table has

    position_x number

    X position of the table in the floor plan

    position_y number

    Y position of the table in the floor plan

    rotation number

    Rotation of the table in the floor plan

    shape string

    Possible values: [round, square, rectangular]

    Shape of the table in the floor plan

    floor_plan_id uuidrequired

    ID of the floor plan to associate

Responses

Schema

    id uuidrequired

    Unique ID of the table

    floor_plan_id uuidnullable

    ID of the floor plan that the table belongs to

    number stringrequired

    Human-friendly identifier of the table

    number_of_seats integerrequired

    Number of seats the table has

    position_x numberrequired

    X position of the table in the floor plan

    position_y numberrequired

    Y position of the table in the floor plan

    rotation numberrequired

    Rotation of the table in the floor plan

    shape stringrequired

    Possible values: [round, square, rectangular]

    Shape of the table in the floor plan

Loading...