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.
This method is used to update an existing building. Only draft buildings (i.e. buildings that belong to a draft campus) may be modified via this method.
X-Auth (see Security)
See Mapping API Architecture > PUT Methods & Partial Updates.
The identifier of the campus to which this building belongs.
The name of the building.
The latitude of this building in decimal degrees. Present for backwards compatibility. In version 1.1 of the API, the latitude should be contained within a location field, as indicated below.
The longitude of this building in decimal degrees. Present for backwards compatibility. In version 1.1 of the API, the longitude should be contained within a location field, as indicated below.
The street address of this building.
The identifier of the venue to which this building belongs.
An object containing the actual, physical location of the building. Possible values:
PUT the following request body to: http://map-api.phunware.com/v1.1/buildings/6891
"streetAddress": "123 Majora"
A success response will return a 204 status code with no data in the body of the response. See Mapping API Response Handling for error payloads.
ON THIS PAGE