Documentation
buscatours
Returns every tour that matches the request filters.
This should be the main way of finding available tours. If no filter is provided all tours will be returned.
endpoints
production
https://api.vpttours.com/buscatours
test
https://apitest.vpttours.com/buscatours
request parameters
name
[string]
Tour name filter. If various words are provided the search will be made word by word, in the "or" way.
maxlength
[int]
Maximum tour length, in days.
minlength
[int] [required]
Minimum tour length, in days.
minstartdate
[date:yyyy-mm-dd]
Minimun tour start date.
maxstartdate
[date:yyyy-mm-dd]
Maximum tour start date.
minprice
[int]
Minimum tour price.
maxprice
[int]
Maximum tour price.
cities
[array:int]
List of city codes that the tour must pass through. If various are provided, the search will be made in the "and" way.
brochures
[array:int]
List of brochure codes the tour must belong to. If various are provided, the search will be made in the "or" way.
catalogs
[array:int]
List of catalogs codes the tour must belong to. If various are provided, the search will be made in the "or" way.
language
[int]
Language code in which we want to make the request.
response data
[array:tourlite]
List of tourlites that matches the request filters.