Operations on Tours


Get Tour Destinations List

Description

Lists destinations with tours. These are NOT the same destinations used with Hotels, but some may have the same name.

Request

URI

https://api.pricetravel.com/services/catalogs/tours/destinations

Verb

GET

Parameters

  • query: string

Headers

Accept (optional)

Response

Response code

200 (OK)

Body

XML

<ArrayOfDestination xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PriceTravel.Api.Model.External">
<Destination>
<Airports xmlns:d3p1="http://schemas.datacontract.org/2004/07/PriceTravel.Api.Model.Common" />
<CountryCode>string</CountryCode>
<CountryName>string</CountryName>
<HotelsCount>integer</HotelsCount>
<Id>integer</Id>
<IsActive>boolean</IsActive>
<Name>string</Name>
<Type>integer</Type>
<URIName>string</URIName>
</Destination>
</ArrayOfDestination>

JSON

[
 {
   "Id": integer,
   "Name": string,
   "IsActive": boolean,
   "CountryCode": string,
   "CountryName": string,
   "Type": integer,
   "Airports":[
   ],
   "HotelsCount": integer
 }
]

Errors

401 (Unauthorized)

Invalid “Authorization” header.