Skip to main content
Eptura Knowledge Center

Endpoint - floors

The API has the following endpoints:
worddava55d6f3c0942d84c571b0eca36b89bad.png
worddavccc7c660a7b8f22119c192ef17b68bda.png

Returns a floor

Request URL

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

worddav8c8bf56994fdc424f1b66251669f4ad4.png

Model Schema

{
  "buildingId": 0,
  "buildingNumberOverride": "",
  "businessKey": "",
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="44ef9aa8-072f-4526-a166-6f831fdcfc4b"><ac:plain-text-body><![CDATA[  "customFields": [
]]></ac:plain-text-body></ac:structured-macro>
    ""
  ],
  "gla": 0,
  "id": 0,
  "name": "",
  "nla": 0,
  "sequence": 0,
  "showInMapping": false,
  "showInVBS": false,
  "showInWayfinding": false,
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b7f2fc4c-5920-48ff-8483-319f07ad92ba"><ac:plain-text-body><![CDATA[  "tags": [
]]></ac:plain-text-body></ac:structured-macro>
    ""
  ],
  "workpoints": 0
}
 

Returns the floorplan of the floor

Request URL

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

worddav2bbd972ac09ee4bcbb2917ac64f2f19b.png

Result

worddav070c28015f465b007bff6666b7618f18.png

Returns the active people for the floor

Request URL

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

Remember the results returned will not be the full results so you can include the resultSize to specify the maximum number of rows to return.

worddav2979c79e041c3294a70f06eb9a3ffaea.png

Model Schema

{
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="02a0b69a-368a-44a6-b8b1-60bd847c6c58"><ac:plain-text-body><![CDATA[  "data": [
]]></ac:plain-text-body></ac:structured-macro>
    {
      "businessKey": "",
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3d224b7c-cf0f-49ce-8c38-11eb43f80912"><ac:plain-text-body><![CDATA[      "customFields": [
]]></ac:plain-text-body></ac:structured-macro>
        ""
      ],
      "division": {
        "id": 0,
        "name": ""
      },
      "email": "",
      "employeeNumber": "",
      "firstName": "",
      "id": 0,
      "jobTitle": "",
      "lastName": "",
      "logonName": "",
      "mobileNumber": "",
      "phoneExt": "",
      "phoneNumber": "",
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7f49c864-78f1-4a7e-95ee-bed4a859bd6f"><ac:plain-text-body><![CDATA[      "tags": [
]]></ac:plain-text-body></ac:structured-macro>
        ""
      ],
      "team": {
        "id": 0,
        "name": ""
      }
    }
  ],
  "paging": {
    "next": "",
    "previous": "",
    "totalItemCount": 0
  }
}
 

Returns the active spaces for the floor

Request URL

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

Remember the results returned will not be the full results so you can include the resultSize to specify the maximum number of rows to return.

worddavfea0a09c2bd26149e13ea010f5ebc7a3.png

Model Schema

{
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e6f19fda-ae55-4977-8442-ccdf26b25fd5"><ac:plain-text-body><![CDATA[  "data": [
]]></ac:plain-text-body></ac:structured-macro>
    {
      "assignedOrgUnit": {
        "id": 0,
        "name": ""
      },
      "buildingId": 0,
      "capacity": 0,
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5b4c54bf-4de3-4820-889b-a4571420cb45"><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="b59e94ca-b2f2-4b65-9d04-8a31cbc33ad2"><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="6f62ee23-ba36-41e0-8d07-2b074e366f36"><ac:plain-text-body><![CDATA[      "tags": [
]]></ac:plain-text-body></ac:structured-macro>
        ""
      ],
      "zone": {
        "id": 0,
        "name": ""
      }
    }
  ],
  "paging": {
    "next": "",
    "previous": "",
    "totalItemCount": 0
  }
}
 

Returns the active spaces for the floor with pending requests applied

Request URL

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

Remember the results returned will not be the full results so you can include the resultSize to specify the maximum number of rows to return.

worddav000397489c1f714d53c23f12343776b3.png

Model Schema

{
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d91be329-c747-4c29-b1a7-1fc5b3e2c4ca"><ac:plain-text-body><![CDATA[  "data": [
]]></ac:plain-text-body></ac:structured-macro>
    {
      "assignedOrgUnit": {
        "id": 0,
        "name": ""
      },
      "buildingId": 0,
      "capacity": 0,
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ebee19cd-5fdb-4fd6-be86-02976c025ce9"><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="a4d674c2-ba95-4423-9fdc-03d662ad7ef4"><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="2249deac-33e4-4908-88d5-77174296fcc5"><ac:plain-text-body><![CDATA[      "tags": [
]]></ac:plain-text-body></ac:structured-macro>
        ""
      ],
      "zone": {
        "id": 0,
        "name": ""
      }
    }
  ],
  "paging": {
    "next": "",
    "previous": "",
    "totalItemCount": 0
  }
}