Goki API
Search…
SpaceDocument
Response Model for Space Document
This is the representation of the SpaceDocument data structure which you receive in the Space API response.
These are Goki spaces (rooms/beds) which means the name and IDs are not what you have submitted to Goki.
1
{
2
"id": "369f0fc9-185a-486b-a12e-3979a850191e",
3
"name": "R102",
4
"hostelId": "9384urfdk-185a-486b-a12e-39737y4rf",
5
"type": "room",
6
"floor": "2",
7
"createdAt": "2020-08-23T21:11:34+00:00",
8
"updatedAt": "2020-09-30T23:10:14+00:00"
9
}
Copied!
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
createdAt
string
Y
Space creation date
updatedAt
string
Y
Space modification date
Export as PDF
Copy link