This documentation is no longer actively supported and may be out of date. Going forward, please visit and bookmark our new site (https://docs.phunware.com/) for up-to-date documentation.
Retrieve a Building
This method is used to retrieve a building by building ID. A building can be retrieved such that the response also contains information about the floors it contains. This is done by passing the parameter "deep":true. Passing "deep":false requests only data about the building itself. The default behavior is "deep":true.
The latitude and longitude information is duplicated in the JSON payloads for backwards compatibility with v1.0. Using the "location" field for latitude and longitude values is preferred and takes precedence if there are any differences. Use of the previous latitude and longitude fields outside of a location object has been deprecated.