Search Sightseeing Category

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 Category request provides the client with static data relating to sightseeing categories held within the GTA system. The API will provide a sightseeing category name along with the unique code used by GTA to identify the sightseeing category.

Example XML Search Sightseeing Category request

The XML message below gives a sample of the expected elements required by the API to execute a Search Sightseeing Category 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>
	   <SearchSightseeingCategoryRequest/>
	</RequestDetails>
</Request>

Source parameters

Please refer to the API Architecture document.

Search Sightseeing Category request parameters

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

Parameters

Description

SightseeingCategoryName

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

Note: Sightseeing Category Names are not case sensitive.

SightseeingCategoryCode

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

Example XML Search Sightseeing Category response

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

 

<?xml version="1.0" encoding="UTF-8"?>
<Response ResponseReference="REF_123-58569737485548282">
  <ResponseDetails Language="en">
<SearchSightseeingCategoryResponse>
  <SightseeingCategories>
  <SightseeingCategory Code="FA"><![CDATA[Fashion]]></SightseeingCategory>
  <SightseeingCategory Code="MU"><![CDATA[Music]]></SightseeingCategory>
  <SightseeingCategory Code="SP"><![CDATA[Sport]]></SightseeingCategory>
</SightseeingCategories>
    </SearchSightseeingCategoryResponse>
  </ResponseDetails>
</Response>

 Search Sightseeing Category response parameters

 

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

Parameter

Description

SightseeingCategories

The collection of <SightseeingCategory> parameters.

SightseeingCategory

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

 

Attribute

Description

 

Code

The unique sightseeing category code held by GTA.

 

Docs Navigation