GET Quotations / Reservations Full information

The Quotations / Reservation Full Information API will provide all the active quotations and reservation that are in Toursys, and it will also provide all the service line information.


The only parameter you must add is a language code in order to fetch the service information from the quotation lines.

[ENDPOINT]/ToursysConnectionApi/api/quotations/full&{language}

Headers

X-API-KEY (requiered, String) generatedToken

trueText (optional, Boolean)         true = HTML tags will be removed, and only text will                                 be shown of the descriptions

false = HTML tags will remain on the descriptions 

status (optional, String)         "quotations" = only quotations will be shown

"reservations" = only reservations will be shown

exported (optional, Boolean)         true = The API will only show quotations or                                 reservations that have been marked as exported

false = The API will only show quotations or reservations that have 

NOT been marked as exported

confirmed (optional, Boolean)         true = The API will only show quotations or                               reservations that have been confirmed in Toursys

false = The API will only show quotations or reservations that have
    NOT been confirmed in Toursys

Example Request

curl --location -g --request GET '[ENDPOINT]/ToursysConnectionApi/api/quotations/full&{language}' \

--header 'X-API-KEY: generatedToken'

--data '[

{

"quotation_id": 24695,

"quotation_name": "Testing Quotation",

"quotation_status": "QUOTATION",

"quotation_start_date": "01-Jan-2023",

"quotation_end_date": "31-Jan-2023",

"quotation_created_by": "195",

"quotation_created_date": "22-May-2023 12:34 AM",

"quotation_updated_by": "195",

"quotation_updated_date": "22-May-2023 12:41 AM",

"quotation_internal_comments": "VIP Client",

"quotation_observations": "They have two children, we will need special car chairs",

"quotation_special_remarks": "They want water bottles when they are traveling.",

"quotation_business_currency_code": "USD",

"quotation_business_currency_symbol": "$",

"quotation_net_sub_total": 9435.0,

"quotation_net_tax": 698.0,

"quotation_net_total": 10133.0,

"quotation_rack_sub_total": 12665.25,

"quotation_rack_tax": 1013.22,

"quotation_rack_total": 13678.47,

"quotation_customer_currency_code": "USD",

"quotation_customer_currency_symbol": "$",

"quotation_customer_rack_sub_total": 12665.25,

"quotation_customer_rack_tax": 1013.22,

"quotation_customer_rack_total": 13678.47,

"quotation_customer_code": "LatinTours",

"quotation_customer_name": "LatinTours",

"quotation_customer_language": "English",

"quotation_lines": [

{

"quotation_line_id": 217583,

"quotation_line_quotation_id": 24695,

"quotation_line_quotation_status": "QUOTATION",

"quotation_line_was_exported": "False",

"quotation_line_start_date": "04-Nov-2023",

"quotation_line_end_date": "04-Nov-2023",

"quotation_line_day_number": 1,

"quotation_line_pick_up_place": "ato",

"quotation_line_pick_up_time": "6:00 PM",

"quotation_line_drop_off_place": "Hotel Costa Rica",

"quotation_line_drop_off_time": "6:00 PM",

"quotation_line_comments": "",

"quotation_line_special_remarks": "",

"quotation_line_created_by": "lcardenas",

"quotation_line_created_date": "22-May-2023 12:34 AM",

"quotation_line_updated_by": "",

"quotation_line_update_date": "",

"quotation_line_supplier_id": 11209,

"quotation_line_supplier_code": "Transportes Costa Rica",

"quotation_line_supplier_id_number": "1234",

"quotation_line_supplier_legal_name": "Transportes Costa Rica",

"quotation_line_supplier_commercial_name": "Transportes Costa Rica",

"quotation_line_supplier_supplier_lat": "10.2092887",

"quotation_line_supplier_supplier_long": "-83.27463999999999",

"quotation_line_service_id": 99570,

"quotation_line_service_type": "Ground Transfer",

"quotation_line_service_information_display_name": "Transfer In",

"quotation_line_service_information_short_description": "<p style=\"text-align:justify\"><span style=\"font-size:16px\"><span style=\"color:#000000\"><span style=\"font-family:Verdana,Geneva,sans-serif\">Welcome to Costa Rica! Get settled in San José, and if your flight arrives earlier in the day, go downtown to explore San José.&nbsp;</span></span></span></p>\r\n",

"quotation_line_service_information_long_description": "<p><span style=\"color:#000000\"><span style=\"font-size:16px\"><span style=\"font-family:Verdana,Geneva,sans-serif\">Welcome to Costa Rica! Get settled in San José, and if your flight arrives earlier in the day, go downtown to explore San José.&nbsp;</span></span></span></p>\r\n",

"quotation_line_service_information_specifications": "",

"quotation_line_service_information_amenities": "",

"quotation_line_service_information_policies": "",

"quotation_line_service_information_itinerary": "",

"quotation_line_service_information_what_you_need_to_take": "",

"quotation_line_service_information_general_information": "",

"quotation_line_service_image_1": "https://s3.amazonaws.com/toursys/local/Toursysutils/11209_hiaceblanco1.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230602T212104Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3599&X-Amz-Credential=AKIAQU3DEC5RRQ2XBRN5%2F20230602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=4a684bd8026efaa93e4a01f8a59f5a1dbc2bacba74e4fa3432f9fb0c6bff248e",

"quotation_line_service_image_2": "https://s3.amazonaws.com/toursys/local/Toursysutils/11209_toyotacoaster.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230602T212104Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAQU3DEC5RRQ2XBRN5%2F20230602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=1b75de675bb75c10da6b347153226244d8aaaec68db8280cdf1dac476fc6f41d",

"quotation_line_service_image_3": "https://s3.amazonaws.com/toursys/local/Toursysutils/11209_MarcopoloParadiso1200G7busAvailablefrom.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230602T212104Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAQU3DEC5RRQ2XBRN5%2F20230602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=54b8b76569e4865b9ca4d54605482c649a3f59bb68fbf35faa598c18961a4dfc",

"quotation_line_service_video": "",

"quotation_line_breakfast": "FALSE",

"quotation_line_lunch": "FALSE",

"quotation_line_dinner": "FALSE",

"quotation_line_fruits": "FALSE",

"quotation_line_snacks": "FALSE",

"quotation_line_soft_drinks": "FALSE",

"quotation_line_alcoholic_beverages": "FALSE",

"quotation_line_tickets": "FALSE",

"quotation_line_ground_transportation": "FALSE",

"quotation_line_air_transportation": "FALSE",

"quotation_line_boat_transportation": "FALSE",

"quotation_line_guide": "FALSE",

"quotation_line_tips": "FALSE",

"quotation_line_all_included": "FALSE",

"quotation_line_non_refundable_rate": "FALSE",

"quotation_line_free_cancellation": "FALSE",

"quotation_line_business_currency_code": "USD",

"quotation_line_business_currency_symbol": "$",

"quotation_line_net_sub_total": 50.0,

"quotation_line_net_tax": 4.0,

"quotation_line_net_total": 50.0,

"quotation_line_rack_sub_total": 67.5,

"quotation_line_rack_tax": 5.4,

"quotation_line_rack_total": 67.5,

"quotation_line_customer_currency_code": "USD",

"quotation_line_customer_currency_symbol": "$",

"quotation_line_customer_rack_total": 72.9

},

{...},

{...}

]'