get https://api.iexitapp.com/v1/searchview//
Retrieve common keyword searches used to filter exit results.
JSON Response
Key | Value | Description |
---|---|---|
searchview | Search View | The Search View object defined by either is_main being 1, or otherwise search_view_id |
This API allows you to show the hierarchy of Search View views in iExit. If you want to show the default Search View, call this API with is_main
equal to 1 and you can omit search_view_id
. From there, you can call this API with is_main
equal to 0 and specify the search_view_id
desired from the returned data.
This is the Default [Search View] returned by setting is_main
equal to 1 (regardless of search_view_id
)
This is the child [Search View] for "All Fuel Options". The data for this view was retrieved by setting is_main
to 0 and setting search_view_id
appropriately.
Common Next API(s)
- Upcoming Exits (assuming the Search Button was selected while viewing Upcoming Exits, supply it with
results[]
.search_result_id
) - Exits for Highway in State (assuming the Search Button was selected while viewing Exits For Highway In State, , supply it with
results[]
.search_result_id
)