createSpace
Mutation
Used to create a new space for a floor in a building.
createSpace(input: SpaceCreateRequestInput): SpaceCreateResponse
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
input | SpaceCreateRequestInput | Provide the required input values here, such as the name and exactType of the building (such as Office). |
Returns
Example
Request
mutation CreateSpace($input: SpaceCreateRequestInput) {
createSpace(input: $input) {
space {
exactType
floorId
geoshape
id
name
parentSpaceId
}
}
}