getreservationservices {.u-pearl}

Returns every reservation services that belongs to a given reservation.

endpoints {.u-pearl}

production {.u-lightPearl}

https://newapi.vpttours.com/getreservationservices

request parameters {.u-pearl}

reservationcode {.u-red}
[int][required] {.u-lightPearl}

Reservation code.


language {.u-pearl}
[int] {.u-lightPearl}

Language{.u-pearl .u-red-hover} code in which we want to make the request.


lite {.u-pearl}
[boolean] {.u-lightPearl}

Controls the level of detail returned in the tour object.

The default value is true.

When lite is true, the endpoint returns a reduced tour object.

When lite is false, the endpoint returns the complete tour object, including fields such as rates.

The value must be sent as a JSON boolean, not as a string.

request example {.u-pearl}

{
    "requestdata": {
        "reservationcode": "507721",
        "language": "1",
        "lite": false
    }
}


response data {.u-pearl}

[array:reservationService{.u-pearl .u-red-hover}] {.u-red}