Documentation
buscatours {.u-pearl}
Returns every tour{.u-pearl .u-red-hover} 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.
catalog code, as shown in the example below. Otherwise, the response may be too large and significantly slower to process on the server side.
{
"logindata": {
"useremail": "{{vpt_login}}",
"userpass": "{{vpt_pass}}"
"integrator_token": "XXXXXX"
},
"requestdata": {
"catalog": 202503,
"language": "1"
}
}
endpoints {.u-pearl}
production {.u-lightPearl}
https://newapi.vpttours.com/buscatours
request parameters {.u-pearl}
name {.u-red}
[string] {.u-lightPearl}
Tour name filter. If various words are provided the search will be made word by word, in the "or" way.
minprice {.u-pearl}
[int] {.u-lightPearl}
Minimum tour price.
maxprice {.u-pearl}
[int] {.u-lightPearl}
Maximum tour price.
cities {.u-pearl}
[array:int] {.u-lightPearl}
List of city{.u-pearl .u-red-hover} codes that the tour must pass through. If various are provided, the search will be made in the "and" way.
brochures {.u-pearl}
[array:int] {.u-lightPearl}
List of brochure{.u-pearl .u-red-hover} codes the tour must belong to. If various are provided, the search will be made in the "or" way.
catalogs {.u-pearl}
[array:int] {.u-lightPearl}
List of catalogs{.u-pearl .u-red-hover} codes the tour must belong to. If various are provided, the search will be made in the "or" way.
language {.u-pearl}
[int] {.u-lightPearl}
Language{.u-pearl .u-red-hover} code in which we want to make the request.
response data {.u-pearl}
[array:tourlite{.u-pearl .u-red-hover}] {.u-red}
List of tourlites that matches the request filters.