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:
- Method - Read Tours
- XML-API: readTours
- JSON-API: read-tours
FYI - For the XML-API, more methods must be executed to read more details from the tour:
- Method - Read Bases and SubBases:
- XML-API: readTourBases
- Method - Read Tour Time:
- XML-API: readTourTimes
FYI - For the JSON-API, there is another method to get the extra tours for the tour specified:
- Method - Read Extras
- JSON-API: read-extras
- Method - Read Payment Options
- XML-API: readPaymentOptions
- JSON-API: read-payment-options
- Method - Read Availability Range
- XML-API: readTourAvailabilityRange
- JSON-API: read-availability-range
FYI - There is no method to read availability for Pickup, if it is required, we advise to work with method Check Reservation.
- Method - Read Tour Price Range
- XML-API: readTourPricesRange
- JSON-API: read-price-range
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.
- Method - Read Tour Pickups
- XML-API: readTourPickups
- JSON-API: read-tour-pickups
FYI: For the JSON-API, there is another method to read Transfers (Pickup + Dropoff). We hardly recommend this method:
- Method - Read Transfers
- JSON-API: read-transfers
- JSON-API: read-transfers
- Method - Check Reservation
- XML-API: checkReservation
- JSON-API: check-reservation
FYI - For the XML-API, there is a special method to also check the price (JSON-API already include the price):
- Method - Check Reservation and Prices
- XML-API: CheckReservationAndPrices
- XML-API: CheckReservationAndPrices
- Method - Write Reservation
- XML-API: writeReservation
- JSON-API: write-reservation
FYI - For the JSON-API, there is also a method to read reservation for a review:
- Method - Read Reservation
- JSON-API: read-reservation
- Method - Cancel Reservation
- XML-API: writeCancelation
- JSON-API: write-cancelation
FYI - There are some rules that will not allow to Write Cancelation:
- Cannot cancel the booking within the web expiry time;
- Cannot cancel the booking after tour date;
- Cannot cancel booking if the payment was already collected (via Credit Card, PayPal, etc);
- 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.
_______________________________________________________________________________________________________________
FOLLOW BELOW SOME TESTS REQUIRED BY RESPAX BEFORE PROCEED TO LIVE:
1. Tour with Levy (Tour Code: CNRCITY)
1x Adult
1x Child
No Pickup included
Price: Adult $60 + $5 (Levy)
Child $50 + $5 (Levy)
_______________________________________
2. Tour with Family Package (Tour Code: CNRCNH)
2x Adults
1x Child
1x Child (Family Discount - Passenger Type 5)
No Pickup included
Price: Adult $240
Child $100
Child (Family Discount) $50
________________________________________
3. Tour with Mandatory Pickup (Tour Code: MB)
1 x Adult
Include Pickup
Price: Adult $90
________________________________________
4. Tour with Pickup and Dropoff - Price included (Tour Code: REEF)
1 x Adult
Include Pickup
Include Dropoff
Price: Adult $150 + Pickup $10 + Dropoff $10 (Mission Beach)
Adult $150 + Pickup $5 + Dropoff $5 (Cairns)
FYI - API-XML cannot provide Dropoff but if the tour has a setting of Dropoff be the same as Pickup, the price will be included for Dropoff
________________________________________
5. Tour with no Availability (Tour Code: CT)
1 x Adult
No Pickup included
Availability only for Thursday to Sunday.
Price: Adult $130
________________________________________
6. Tour with an Extra Tour (Tour Code: PD and Extra Tour: RESTAURANT)
2 x Adults
No Pickup included
Add Extra Tour
Price: Adult $220 + Extra $100
FYI - Extra tour will only work for JSON-API