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.
{
"id": "369f0fc9-185a-486b-a12e-3979a850191e",
"name": "R102",
"hostelId": "9384urfdk-185a-486b-a12e-39737y4rf",
"type": "room",
"floor": "2",
"createdAt": "2020-08-23T21:11:34+00:00",
"updatedAt": "2020-09-30T23:10:14+00:00"
}
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 |
Last modified 2yr ago