home > support > API > Marketplace API > API: get import tours status
Return the importing status of the tours.
For Tour Operator usage only (not accessible by Marketplace Agents).
Call | /api/tours/importer/get_import_tours_status |
Formats | XML |
Example | /api/tours/importer/get_import_tours_status.xml |
Verb | POST |
PHP examples use the PHP Client Library with SimpleXML
object get_import_tours_status ( int $channel, SimpleXmlElement $codes )
// 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
Enter your TourCMS API credentials below to call the Import Tours Status endpoint.
Take care, submitting this form will modify live data!
Node | Notes | ||||
---|---|---|---|---|---|
supplier_tour_codes |
The supplier_tour_codes root node
|
Node | Notes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.
|