Skip to content

Building

Buildings (AKA campuses), are further separations of courses, groups, and users that all belong to the same system.

Buildings use the same fields as schools, although may have a building_code, a configurable external ID string (used for imports and synchronization).

Buildings use the same endpoints as schools for GET, PUT, and DELETE.

Create a building in a school

Content A building

{
"title": "Example school name",
"address1": "750 West Road",
"city": "New York",
"state": "New York"
}

Return A building

{
"id": "5592393",
"title": "Example school 2 name",
"address1": "750 West Road",
"address2": null,
"city": "NYC",
"state": "NY",
"postal_code": null,
"country": null,
"website": "",
"phone": null,
"fax": null,
"building_code": "",
"picture_url": "... URL ...",
"links": {
"self": "... URL ..."
}
}

View the buildings for a school

Return buildings

{
"building": [
{
"id": "5171921",
"title": "Cave High",
"address1": "800 Underground Ave",
"address2": "",
"city": "Petaluma",
"state": "CA",
"postal_code": "94952",
"country": "US",
"website": "",
"phone": "234234324",
"fax": "",
"building_code": "",
"picture_url": " ... URL ... "
},
{
"id": "5592393",
"title": "Example school 2 name",
"address1": "750 West Road",
"address2": "",
"city": "NYC",
"state": "NY",
"postal_code": "",
"country": "",
"website": "",
"phone": "",
"fax": "",
"building_code": "",
"picture_url": " ... URL ... "
},
{
"id": "5592395",
"title": "Example school 2 name",
"address1": "750 West Road",
"address2": "",
"city": "NYC",
"state": "NY",
"postal_code": "",
"country": "",
"website": "",
"phone": "",
"fax": "",
"building_code": "",
"picture_url": " ... URL ... "
}
]
}

No objects exist in this realm.