SpaceDocument
Response Model for Space Document
This is the representation of the SpaceDocument
data structure you receive in the Space API response.
These are Goki spaces (rooms/beds), meaning the name and IDs are not what you submitted to Goki.
A space of type room
.
A space of type bed
related to the room
above.
Property
Type
Required
Description
id
string
Y
ID of the space in Goki
name
string
Y
Space name in Goki
hostelId
string
Y
ID of the property in Goki
type
string
Y
Type of the Goki space. Can be one of room
or bed
floor
string
N
Floor name of the space
parentSpaceId
string
N
The id of the parent room, if the space type is bed
createdAt
string
Y
Space creation date
updatedAt
string
Y
Space modification date
Last updated