Attraction Endpoints

Below are the endpoints used for order creation, download and cancellation of attractions.

Listing of All Attraction

GET https://secure.mytravellerschoice.com/api/list

This Endpoint will list all the attractions which are available on mytravellerschoice.com

Individual Attraction Listings

GET https://secure.mytravellerschoice.com/api/list/[attractionID]

This endpoint will list all the activities included in an individual attraction

Check Availability of an Activity

POST https://secure.mytravellerschoice.com/api/availability/

This endpoint will list availability on an attraction activity

Initiate an Order

POST https://secure.mytravellerschoice.com/api/initiate

This endpoint will intiate the order

Complete an Order

POST https://secure.mytravellerschoice.com/api/complete

This endpoint will complete the order which is Created using Initiate order endpoint

Download Ticket

GET https://secure.mytravellerschoice.com/api/ticket-download/[orderID]/[activityID]

This endpoint will help in downloading the ticket using order id. make sure the activity type is ticket

Download Booking Confirmation

GET https://secure.mytravellerschoice.com/api/booking-download/[orderID]/[activityID]

This endpoint will help in downloading confirmed tickets using order id.

Check Booking Status

GET https://secure.mytravellerschoice.com/booking-status/[orderID]/[activityID]

This endpoint will help in checking the status of booking of Attraction with attraction type booking.

Cancel Order

POST https://secure.mytravellerschoice.com/cancel-order/[orderID]/[activityID]

This endpoint will help is canceling an order. make sure the attraction or activity is cancelable.

List all orders

GET https://secure.mytravellerschoice.com/api/all-order

This endpoint will help in listing all orders created

Single Order Details

GET https://secure.mytravellerschoice.com/api/single-order/[orderID]

This endpoint will list details of single order

Last updated