Skip to end of metadata
Go to start of metadata

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.

Update a Building's Routes

 

This method is used to update a building's routes. It will not delete the existing routes, but will try to generate any new routes that can be made.

An example scenario where this method would be necessary is if a new point of interest was added to a floor after the last time routes were generated.

Method

POST

URL

http://map-api.phunware.com/v1.1/routes/update

Headers

X-Auth (see Security)

Request Body

Required parameters are underlined.

Parameter

Value

Description

buildingId

integer

The identifier of the building for which to generate routes.

draftStatusstringEither "LIVE" or "DRAFT". Defaults to "LIVE".
{
	"buildingId": <integer>
} 

Example Request

POST the following request body to: http://map-api.phunware.com/v1.1/routes/update

{
	"buildingId": 6891
} 

Response

A success response will return a 202 status code with no data in the body of the response. See Mapping API Response Handling for error payloads.

ON THIS PAGE

 

 

  • No labels