Operations on Tours


Tours Map Information

Description

Gets the GeoCMS map information to display the specified tour on a map.

Request

URI

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

Verb

GET

Parameters

  • tourId: integer

Headers

Accept (optional)

Response

Response code

200 (OK)

Body

XML

   <ArrayOfTourMapPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PriceTravel.Api.Model.Tours">
<TourMapPoint>
<centerX>string</centerX>
<centerY>string</centerY>
<description>string</description>
<mapType>string</mapType>
<markerX>string</markerX>
<markerY>string</markerY>
<name>String</name>
<pointType>String</pointType>
<tourId>integer</tourId>
<zoomLevel>integer</zoomLevel>
</TourMapPoint>
</ArrayOfTourMapPoint>

JSON

[
  {
   "centerX":"string",
   "centerY":"string",
   "mapType":"string",
   "description":"string",
   "markerX":"string",
   "markerY":"string",
   "name":"string",
   "pointType": integer (LOCATION = 1, DEPARTURE = 2, STOP = 3,),
   "tourId": integer,
   "zoomLevel": integer
  }
]

Errors

401 (Unauthorized)

Invalid “Authorization” header.