Dartmouth API Developer Portal
Spaces
Required Scopes
Scope |
Description |
"api:facilities:properties:read" |
This scope is required in order to view properties. Authorization of this scope is granted by the Planning, Design & Construction office |
Request
GET /api/facilities/spaces/{id}
GET /api/facilities/spaces/
Required Headers
Authorization: Bearer {jwt}
Sample Requests
https://api.dartmouth.edu/api/facilities/spaces/0007-02-M201
https://api.dartmouth.edu/api/facilities/spaces/
Sample Return
{
"id": "0007-02-M201",
"number": "M201",
"name": null,
"floor_id": "0007-02",
"property_id": "0007",
"ficm_level_1": null,
"ficm_level_2": null,
"is_reservable": false
}
[
{
"id": "0001--1-001",
"number": "001",
"name": null,
"floor_id": "0001--1",
"property_id": "0001",
"ficm_level_1": null,
"ficm_level_2": null,
"is_reservable": false
},
{
"id": "0001--1-002",
"number": "002",
"name": null,
"floor_id": "0001--1",
"property_id": "0001",
"ficm_level_1": null,
"ficm_level_2": null,
"is_reservable": true
},
{
"id": "0001--1-002A",
"number": "002A",
"name": null,
"floor_id": "0001--1",
"property_id": "0001",
"ficm_level_1": null,
"ficm_level_2": null,
"is_reservable": false
},
{
"id": "0007-02-M201",
"number": "M201",
"name": null,
"floor_id": "0007-02",
"property_id": "0007",
"ficm_level_1": null,
"ficm_level_2": null,
"is_reservable": true
}
]
Field |
Type |
Description |
id |
string |
ID is "property_id"-"floor_id"-"space_id" |
number |
string |
|
name |
string |
|
floor_id |
string |
ID of the floor associated with this space |
property_id |
string |
ID of the property associated with this space |
ficm_level_1 |
string |
Example: "100 Classroom Facilities" |
ficm_level_2 |
string |
Example: "110 Classroom" |
is_reservable |
boolean |
Example: "true" |