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 import tours status

Get Import Tours Status

Return the importing status of the tours.


Notes

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

REST info

Call/api/tours/importer/get_import_tours_status
FormatsXML
Example/api/tours/importer/get_import_tours_status.xml
VerbPOST

Code

PHP examples use the PHP Client Library with SimpleXML

Description

object get_import_tours_status ( int $channel, SimpleXmlElement $codes )


Parameters

$channel
ID for the Channel (Operator) - required
$codes
SimpleXmlElement containing the supplier tour codes to search for status


Example

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

// Start building the supplier tour codes XML
$codes = new SimpleXMLElement('<supplier_tour_codes />');

// Add as many supplier tour codes as you want to search for
$codes->addChild('supplier_tour_code', "AC_1234_5");
$codes->addChild('supplier_tour_code', "AC_2345_6");
$codes->addChild('supplier_tour_code', "AC_3456_7");

// Call the TourCMS API
$result = $tourcms->get_import_tours_status($channel, $codes);

print $result->error
OK

Try it

Enter your TourCMS API credentials below to call the Import Tours Status endpoint.

Take care, submitting this form will modify live data!


            
            

Post fields

Post fields
NodeNotes
supplier_tour_codes

The supplier_tour_codes root node

XML NodeNotes
supplier_tour_code Add as many supplier tour codes as you want to search for. The response will return an element for each supplier tour code you sent.

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
tour_status

The tour_status node contains the following child nodes.

NodeNotes
tour

Information about the status of each tour searched for

XML NodeNotes
supplier_tour_codeThe supplier tour code you searched for
descriptionThe description to be used in UI
colorThe color to be used in UI
titleThe title to be used in UI
statusThe importing status of the tour

More information