Skip to main content

createFloor

Mutation

Used to create a new floor for a specific building.

createFloor(input: FloorCreateRequestInput): FloorCreateResponse

Arguments​

ArgumentTypeDefaultDescription
inputFloorCreateRequestInputProvide the required input values here, such as the level of the floor and the geoshape details.

Returns​

FloorCreateResponse

Example​

Request
mutation CreateFloor($input: FloorCreateRequestInput) {
createFloor(input: $input) {
floor {
buildingId
geoshape
id
level
name
type
}
}
}