Skip to main content
Eptura Knowledge Center

Endpoint - spaces

 
The API has the following endpoints:

worddav988df7a2852651e684e78e59cff7f3bf.png

Gets a space

Request URL

https://[client_instance].serraview.com/api/v2/spaces/{id}

Contact the Serraview Support team for the {id} for the space.

worddav5fef8b6ae08cd1141dc3d5bd66a36fe9.png

Model Schema

{
  "assignedOrgUnit": {
    "id": 0,
    "name": ""
  },
  "buildingId": 0,
  "capacity": 0,
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="011d8a1d-3ac7-474f-9738-c9d236f90629"><ac:plain-text-body><![CDATA[  "customFields": [
]]></ac:plain-text-body></ac:structured-macro>
    ""
  ],
  "floorId": 0,
  "id": 0,
  "isFlexible": false,
  "isReserveDisabled": false,
  "manualOccupancyTypeId": 0,
  "name": "",
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9f9ec5e8-5194-4070-8bbc-d2f734bed448"><ac:plain-text-body><![CDATA[  "occupants": [
]]></ac:plain-text-body></ac:structured-macro>
    0
  ],
  "retentionStatusId": 0,
  "spaceType": {
    "id": 0,
    "name": ""
  },
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8c0042af-83d8-494e-9c12-3b8920a70cee"><ac:plain-text-body><![CDATA[  "tags": [
]]></ac:plain-text-body></ac:structured-macro>
    ""
  ],
  "zone": {
    "id": 0,
    "name": ""
  }
}

Gets an image of the floorplan with the space highlighted on it

Request URL

https://[client_instance].serraview.com/api/v2/spaces/{id}/image

worddav3a88abfbafe603b6df380105d547143d.png

Result

worddavf6adbb1d162939ae288fbda9506741c2.png