TourCMS, a leading online booking and channel management solution is operated by Palisis.

Contact Info

Palisis AG
Florastrasse 18A
8610 Uster
support@palisis.com
+41 44 533 40 40

Follow Us

home > support > API > Marketplace API > API: get tour list

Get Tour List

Return the tour list from the subsystem.


Notes

For Tour Operator usage only (not accessible by Marketplace Agents).

REST info

Call/api/tours/importer/get_tour_list
FormatsXML
Example/api/tours/importer/get_tour_list.xml
VerbGET

Code

PHP examples use the PHP Client Library with SimpleXML

Description

object get_list_tours ( int $channel )


Parameters

$channel
ID for the Channel (Operator) - required


Example

// Channel (Operator) ID of the Tour
$channel = 6;

// Query the TourCMS API
$result = $tourcms->get_list_tours($channel);

// Go straight to the tour node
$tour = $result->list_tours;

// Print out the tour name and lead in price
print 'Previous Page Key - '.$tour->previous_page_key;
Previous Page Key - ABC123

Try it

Enter your TourCMS API credentials below to call the Get Tour List endpoint.


            
            

Querystring parameters

The tour facets input querystring data should be passed as querystring parameters (eg: input1=A&input2=B)

Response fields

Response fields
NodeNotes
request Confirmation of the request that you sent
error Any error message returned, if there is no error this will just contain the text OK
list_tours

The list_tours node contains the following child nodes.

NodeNotes
error_messageIf there was an error thrown by the subsystem when returning the tour list
previous_page_keyKey from the previous page
tours

Information about the tours from the list

XML NodeNotes
tour

There will be a tour node for each tour

XML NodeNotes
tour_name_longTour name - Long (Max. 100 characters)
supplier_tour_codeThe supplier set tour code. This field is ideal if you are syncronising TourCMS with an external reservation system as this could be the external reservation system tour ID.
url_thumbnailURL (web address) for thumbnail image size (max 342 pixels wide)
meta

Information about all the meta data.

XML NodeNotes
meta

There will be a meta node for each meta data

XML NodeNotes
labelMeta data label
valueMeta data value

More information