Search Sightseeing Type

This module is being phased out and will no longer be supported.

Please view: https://developer.gta-travel.com/docs/read/design_and_best_practices/Sightseeing_Information

The Search Sightseeing Type request provides the client with static data relating to sightseeing types held within the GTA system. The API will provide a sightseeing type name along with the unique code used by GTA to identify the sightseeing type.

All requests will need to be send in a SYNCHRONOUS mode; any requests send in an ASYNCHRONOUS mode will return an error.

Example XML Search Sightseeing Type Request

The XML message below gives a sample of the expected elements required by the API to execute a Search Sightseeing Type request.

<?xml version="1.0" encoding="UTF-8"?>
<Request>
   <Source>
  <RequestorID Client="123" 
               EMailAddress="email@client.com" 
               Password="P123"/>
      <RequestorPreferences Language="en">
         <RequestMode>SYNCHRONOUS</RequestMode> 
      </RequestorPreferences>
   </Source>
	<RequestDetails>
		<SearchSightseeingTypeRequest/>
	</RequestDetails>
</Request>

 Source parameters

Please refer to the API Architecture document.

Search Sightseeing Type request parameters

A Search Sightseeing Type request can contain optional parameters to filter the sightseeing types returned. The following lists the parameters that can be specified:

Parameters

Description

SightseeingTypeName

Optional. If specified all sightseeing types containing the given characters will be returned, in the language requested (if available).

Note: Sightseeing Type Names are not case sensitive.

SightseeingTypeCode

Optional. If specified the sightseeing type details for the single code will be returned, in the language requested (if available).

Example XML Search Sightseeing Type response

The XML message below gives a sample of that given by the API in response to a Search Sightseeing Type request.

<?xml version="1.0" encoding="UTF-8"?>
<Response ResponseReference=" REF_123-288315526413579">
  <ResponseDetails Language="en">
<SearchSightseeingTypeResponse>
  <SightseeingTypes>
  <SightseeingType Code="AR"><![CDATA[Air Sightseeing]]></SightseeingType>
  <SightseeingType Code="CR"><![CDATA[Sightseeing Cruises]]></SightseeingType>
  <SightseeingType Code="RS"><![CDATA[Sightseeing Tours]]></SightseeingType>
</SightseeingTypes>
    </SearchSightseeingTypeResponse>
  </ResponseDetails>
</Response>

Search Sightseeing Type response parameters

The following parameters can form part of the <SearchSightseeingTypeResponse>:

Parameter

Description

SightseeingTypes

The collection of <SightseeingType> parameters.

SightseeingType

The sightseeing type, in the language requested (if available).

 

Attribute

Description

 

Code

The unique sightseeing type code held by GTA.

Docs Navigation