gettour

Returns the complete information of the tour.

πŸ’‘ Full representation of a circuit.
This is the main product that can be booked using this system considering a brochure and a departure date.
We can identify a circuit through its itinerary code and brochure code.
The same circuit can be repeated in different brochures.

We must distinguish two types of itineraries:

Tourist circuit (excursions): Short trip made for leisure, sport or study.

Circuit: An itinerary is a closed trip, usually predefined, that returns to the starting point when it ends.

Endpoints

https://newapi.vpttours.com/gettour

Postman request

{
  "logindata": {
    "useremail": "{{vpt_login}}",
    "userpass": "{{vpt_pass}}"
  },
  "requestdata": {
    "brochure": 185,
    "code": 6971,
    "language": "1"
  }
}

Response

See responsegettour.json


Response fields


Comportamiento

Currently, gettour also returns the codes of supplements (both optional and included) and discounts applied.
This new tag groups the different types of supplements/discounts under a common concept code.

For example:

⚠️ Important: This codconce must not be confused with the code used when sending a quotation (bookprice).
In that case, what must be used is the codsuple (code) of each specific supplement or discount.
codconce is only a grouping code for concepts; it does not replace the individual code of each item.