Returns the information associated of the Destinations with the specified country id.
https://api.pricetravel.com/services/catalogs/countries/{countryId}/destinations[/{destinationId}]
GET
Accept (optional)
Response code
200 (OK)
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PriceTravel.Api.Model.External">
<CountryCode>string</CountryCode>
<Name>string</Name>
<Uri>string</Uri>
<Destinations>
<Destination>
<Airports>
<Airport>
<Code>string</Code>
<CountryCode>string</CountryCode>
<CountryName>string</CountryName>
<DestinationId>integer</DestinationId>
<Name>string</Name>
<CityName>string</CityName>
</Airport>
</Airports>
<CountryCode>string</CountryCode>
<CountryName>string</CountryName>
<Id>integer</Id>
<IsActive>boolean</IsActive>
<Type>integer(3 - Destination, 6 - City)</Type>
<Name>string</Name>
</Destination>
</Destinations>
</Country>
{
"CountryCode": string,
"Name": string,
"Uri": string,
"Destinations": [
{
"Id": integer,
"Name": string,
"IsActive": boolean,
"CountryCode": string,
"CountryName": string,
"Type": integer (3 - Destination, 6 - City),
"Airports": [
{
"Code": string,
"Name": string,
"CityName": string,
"CountryCode": string,
"CountryName": string,
"DestinationId": integer
}
]
}
]
}
Returns the information associated of the Destinations with the specified query.
https://api.pricetravel.com/services/catalogs/destinations
GET
Accept (optional)
Response code
200 (OK)
<ArrayOfDestination xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PriceTravel.Api.Model.External">
<Destination>
<Airports />
<CountryCode>string</CountryCode>
<CountryName>string</CountryName>
<Id>integer</Id>
<IsActive>boolean</IsActive>
<Name>string</Name>
<Type>integer (3 - Destination, 6 - City)</Type>
</Destination>
</ArrayOfDestination>
[
{
"Id": integer,
"Name": string,
"IsActive": boolean,
"CountryCode": string,
"CountryName": string,
"Type": integer (3 - Destination, 6 - City)
}
]