Operations on Tours


Get Tour Kids Criteria

Description

Gets the criteria used for quoting tours with kids, this can be '1' for Age or '2' for Height. Also gets the Maximum and Minimum values for the criteria.

Request

URI

https://api.pricetravel.com/services/tours/kidCriteria/{tourId}

Verb

GET

Headers

Accept (optional)

Response

Response code

200 (OK)

Body

XML

<TourKidsCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PriceTravel.Api.Model.Tours">
<KidsRateCriteria> integer (1-Age,2-Height) </KidsRateCriteria>
<MaxKidValue>integer</MaxKidValue>
<MinKidValue>integer</MinKidValue>
</TourKidsCriteria>

JSON

{
   "KidsRateCriteria": integer (1-Age,2-Height),
   "MinKidValue": integer,
   "MaxKidValue": integer
}

Errors

401 (Unauthorized)

Invalid “Authorization” header.