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 create a segment. Segments may only be created via this method on draft floors.
X-Auth (see Security)
Required parameters are underlined.
The identifier of the starting point of the segment.
The identifier of the ending point of the segment
The identifier of the floor that the start and end points are on.
POST the following request body to: http://map-api.phunware.com/v1.1/segments
A successful response will have a 200 status code and a body containing the newly created segment's ID:
See Mapping API Response Handling for error payloads.
Example body of successful response:
ON THIS PAGE