Locations API - V2
List points of interest.
Returns a lightweight list of locations including coordinates, availability, and pricing. Ideal for rendering locations on a map.
Endpoint
GET - https://api.travisroadservices.com/v2/locations/poi
Copy
Request body
No request bodyResponse body
Response 200
LocationPOIResource collection
Fields
| Field | Type | Description |
|---|---|---|
id
|
integer | Unique identifier of the location. |
name
|
string | Name of the location. |
coordinates
|
object | Geographical coordinates of the location. |
lat
|
number | Latitude coordinate of the location. |
long
|
number | Longitude coordinate of the location. |
activeSince
|
string (date-time) | Date and time since the location has been active. |
price
|
object | Price information associated with the location. Will be null for long-term parkings. |
amount
|
number | Price amount in the specified currency. |
currency
|
string | ISO 4217 currency code. |
hasAvailability
|
boolean | Indicates whether the location has availability. |
isManagedExternally
|
boolean | Indicates whether the location is managed externally. |
Example