Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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.

Navitabs
usewithoutbodytrue
rootPOI TYPE

 

This method is used to retrieve a POI type by POI type ID.

Method

GET

URL

http://map-api.phunware.com/v1.1/poi-types/[id]

Headers

X-Auth (see Security)

Query Parameters

None

Example Request

Panel
titleGET
http://map-api.phunware.com/v1.1/poi-types/3

Response

A successful response will have a 200 status code and a body containing an object with POI type data:

Code Block
themeMidnight
{
	"id": <integer>,
	"description": <string>
} 

See Mapping API Response Handling for error payloads.

Example Response

Example body of a successful response:

Code Block
themeMidnight
{
	"id": 3,
	"description": "Entrance to Secret Passageway"
} 

ON THIS PAGE

Table of Contents