Documentation
getreservations {.u-pearl}
Returns every reservation made by the client's users that matches the request filters.
Note:
- Only Admin users hace access to all reservations
- Non admin users only can access their own reservations
endpoints {.u-pearl}
production {.u-lightPearl}
https://newapi.vpttours.com/getreservations
request parameters {.u-pearl}
code {.u-pearl}
[int] {.u-lightPearl}
Reservation code.
paxname {.u-pearl}
[string] {.u-lightPearl}
Reservation passenger's names. If various words are provided, search will be made word by word in an "or" way in every reservation's passenger.
minstartdate {.u-pearl}
[date:yyyy-mm-dd] {.u-lightPearl}
Minimum start date of any reservation's service.
maxstartdate {.u-pearl}
[date:yyyy-mm-dd] {.u-lightPearl}
Maximum start date of any reservation's service.
minbookdate {.u-pearl}
[date:yyyy-mm-dd] {.u-lightPearl}
Minimum creation date of any reservation's service.
maxbookdate {.u-pearl}
[date:yyyy-mm-dd] {.u-lightPearl}
Maximum creation date of any reservation's service.
status {.u-pearl}
[int] {.u-lightPearl}
Reservation's status code.
reference {.u-pearl}
[string] {.u-lightPearl}
Custom agency reference. If various words are provided, search will be made word by word in an "or" way in every reservation's service.
language {.u-pearl}
[int] {.u-lightPearl}
Language{.u-pearl .u-red-hover} code in which we want to make the request.
request example {.u-pearl}
{
"requestdata": {
"code": "507721",
"language": "1"
}
}
response data {.u-pearl}
[array:reservation{.u-pearl .u-red-hover}] {.u-red}
List of reservations that matches the request filters.