Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This is to test RON call and returns (XML-API and JSON-API)

The data is configured against the sales-trinity software organisation (Host ID = SALES). Follow below the methods to be tested:

FYI - For the XML-API, more methods must be executed to read more details from the tour:

 

FYI - For the JSON-API, there is another method to get the extra tours for the tour specified:

 

FYI - There is no method to read availability for Pickup, if it is required, we advise to work with method Check Reservation. 


FYI: Some of the prices cannot be read by this request, for example a special price for Family Package (Smart Rule). We advise to contact the Operator to create a special passenger to work with Family Package (i.e. Passenger 1 = Adult, Passenger 3 = Child and Passenger 5 - Family Child). Or, another idea, is work with the method Check Reservation.


FYI: For the JSON-API, there is another method to read Transfers (Pickup + Dropoff). We hardly recommend this method:

FYI - For the XML-API, there is a special method to also check the price (JSON-API already include the price):

FYI - For the JSON-API, there is also a method to read reservation for a review:

 

FYI - There are some rules that will not allow to Write Cancelation:

  1. Cannot cancel the booking within the web expiry time;
  2. Cannot cancel the booking after tour date;
  3. Cannot cancel booking if the payment was already collected (via Credit Card, PayPal, etc);
  4. After the booking be edited by the Operator, the agent can only cancel what was not edited. For example, the Operator added a new tour, the booking will not be cancelled but the tour will be.

_______________________________________________________________________________________________________________

1. Basic Tour (Tour Code: ADLCITY)

1 x Adult

No Pickup selected

Output - PHP - See below data

Output XML - Click here

 

 

________________________________________

2. Tour with Family Package (Tour Code: )

Monday

1 x Adult

With Pickup on Hotel A

Output - PHP - See below data

Output XML - Click here

 

 

________________________________________

3. Tour with Mandatory Pickup (Tour Code: )

Monday

1 x Adult

Pickup on Hotel B (Route B only has availability on Thursdays)

Output - PHP - See below data

Output XML - Click here

 

 

________________________________________

4. Tour with Pickup and Dropoff (Tour Code: )

Tuesday

1 x Adult (Tuesdays limited to 15 available seats)

With pickup on Hotel A

Output - PHP - See below data

Output XML - Click here

 

________________________________________

5. Tour with no Availability (Tour Code: )

Tuesday

1 x Adult (Tuesdays limited to 15 available seats)

With pickup on Hotel A

Output - PHP - See below data

Output XML - Click here

 

________________________________________

6. Tour with an Extra Tour (Tour Code: )

Tuesday

1 x Adult (Tuesdays limited to 15 available seats)

With pickup on Hotel A

Output - PHP - See below data

Output XML - Click here

 

 

 

  • No labels