getoptionals

Returns the optional services available for a tour (extras/add-ons).

endpoints

production

https://newapi.vpttours.com/getoptionals

request parameters

brochure
[int][required]

Brochure code.


code
[int][required]

Tour code.


language
[int]

Language code in which we want to make the request.


start_date
[date][required]

Start date of the tour


end_date
[date][required]

End date of the tour


response data

codfovia
[int]

"codfovia" is the equivalent of "brochure"..


coditine
[int]

"coditine" is the equivalent of the circuit "code".


fechaini
[int]

The start date of the tour is approximate.


request example

{
  "logindata": {
    "useremail": "{{vpt_login}}",
    "userpass": "{{vpt_pass}}"
  },
   "requestdata": {
    "brochure": "211",
    "code": "51820:",
    "start_date": "2025-06-28",
    "end_date": "2025-07-15",
    "language": "1"
  }
}

response example

[
    {
        "codempre": "1",
        "codfovia": "235",
        "coditine": "18",
        "desitine": "BARRIO LATINO Y BARRIO DE MONTMARTRE",
        "permiweb": "0",
        "codpobla": "823",
        "despobla": "PARIS",
        "precio": "65.00",
        "coddivisa": "2",
        "simdivisa": "USD",
        "fechaini": "2025-07-02"
    },
    {
        "codempre": "1",
        "codfovia": "235",
        "coditine": "14",
        "desitine": "CRUCERO E ILUMINACIONES DE PARIS",
        "permiweb": "0",
        "codpobla": "823",
        "despobla": "PARIS",
        "precio": "83.00",
        "coddivisa": "2",
        "simdivisa": "USD",
        "fechaini": "2025-07-02"
    },
    {
        "codempre": "1",
        "codfovia": "235",
        "coditine": "24",
        "desitine": "VERSALLES CON PALACIO Y JARDINES",
        "permiweb": "0",
        "codpobla": "823",
        "despobla": "PARIS",
        "precio": "106.00",
        "coddivisa": "2",
        "simdivisa": "USD",
        "fechaini": "2025-07-02"
    }
]