getreservations

Returns every reservation made by the client's users that matches the request filters.

Note:

endpoints

production

http://api.vpttours.com/getreservations

test

http://apitest.vpttours.com/getreservations

request parameters

code
[int]

Reservation code.


paxname
[string]

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
[date:yyyy-mm-dd]

Minimum start date of any reservation's service.


maxstartdate
[date:yyyy-mm-dd]

Maximum start date of any reservation's service.


minbookdate
[date:yyyy-mm-dd]

Minimum creation date of any reservation's service.


maxbookdate
[date:yyyy-mm-dd]

Maximum creation date of any reservation's service.


status
[int]

Reservation's status code.


reference
[string]

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
[int]

Language code in which we want to make the request.

response data

[array:reservation]

List of reservations that matches the request filters.