GET Quotation Lines / Reservation lines
Quotation Lines / Reservation lines API will provide you with all the service lines of a specific quotation or reservation. You must provide the unique ID and a language code.
[ENDPOINT]/ToursysConnectionApi/api/quotationLines/{quotationId}&{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
Example Request
curl --location -g --request GET '[ENDPOINT]/ToursysConnectionApi/api/quotationLines/{quotationId}&{language}' \
--header 'X-API-KEY: generatedToken'
--data '[
{
"quotation_line_id": 215787,
"quotation_line_quotation_id": 24500,
"quotation_line_quotation_status": "QUOTATION",
"quotation_line_was_exported": "False",
"quotation_line_start_date": "28-Jan-2027",
"quotation_line_end_date": "31-Jan-2027",
"quotation_line_day_number": 2,
"quotation_line_pick_up_place": "Airport",
"quotation_line_pick_up_time": "9:00 AM",
"quotation_line_drop_off_place": "Hotel",
"quotation_line_drop_off_time": "6:00 AM",
"quotation_line_comments": "",
"quotation_line_special_remarks": "",
"quotation_line_created_by": "arturo",
"quotation_line_created_date": "19-Jan-2023 2:23 PM",
"quotation_line_updated_by": "",
"quotation_line_update_date": "",
"quotation_line_supplier_id": 15507,
"quotation_line_supplier_code": "Hotel Costa Rica",
"quotation_line_supplier_id_number": "78698696698",
"quotation_line_supplier_legal_name": "Hotel Costa Rica",
"quotation_line_supplier_commercial_name": "Hotel Costa Rica",
"quotation_line_supplier_supplier_lat": "10.5424838",
"quotation_line_supplier_supplier_long": "-83.50235520000001",
"quotation_line_service_id": 99951,
"quotation_line_service_type": "Lodging",
"quotation_line_service_information_display_name": "Deluxe Room",
"quotation_line_service_information_short_description": "<p>Whether traveling for business or pleasure, our Deluxe Rooms offer 274-344 square feet of bright work and rest space, fully equipped with fine wood furniture handmade by local artisans, thermo-acoustic glass, bathtub, complimentary coffee and desk.</p>\r\n\r\n<p>An enclosed balcony offers spectacular city and mountain views while watching the bustling sidewalks of Central Avenue. With one king bed or two double beds with comfortable mattresses and linens along with private bathrooms with power showers and complementary toiletries, you'll have everything you need at your disposal.</p>\r\n",
"quotation_line_service_information_long_description": "<p>Whether traveling for business or pleasure, our Deluxe Rooms offer 274-344 square feet of bright work and rest space, fully equipped with fine wood furniture handmade by local artisans, thermo-acoustic glass, bathtub, complimentary coffee and desk.</p>\r\n\r\n<p>An enclosed balcony offers spectacular city and mountain views while watching the bustling sidewalks of Central Avenue. With one king bed or two double beds with comfortable mattresses and linens along with private bathrooms with power showers and complementary toiletries, you'll have everything you need at your disposal.</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/99951_15507_Deluxe1scaled.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230602T172846Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAQU3DEC5RRQ2XBRN5%2F20230602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=c6af7dd98bffd7331a10cde107d0ed8214e9ae525666823abb24441928279a89",
"quotation_line_service_image_2": "https://s3.amazonaws.com/toursys/local/Toursysutils/99951_15507_Balmoral2020043scaled.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230602T172846Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAQU3DEC5RRQ2XBRN5%2F20230602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=928e9f4c3cb34d3a64b790d617a6c50f345be8e9e35210760cf5bc63648e0693",
"quotation_line_service_image_3": "https://s3.amazonaws.com/toursys/local/Toursysutils/99951_15507_DELUXE10scaled.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230602T172846Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAQU3DEC5RRQ2XBRN5%2F20230602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=acbab90d66dbf7199e174904812a35da15dd90efb1bffa6b9458849c5e041c26",
"quotation_line_service_video": "",
"quotation_line_breakfast": "TRUE",
"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": 100.0,
"quotation_line_net_tax": 0.0,
"quotation_line_net_total": 100.0,
"quotation_line_rack_sub_total": 130.0,
"quotation_line_rack_tax": 70.2,
"quotation_line_rack_total": 130.0,
"quotation_line_customer_currency_code": "USD",
"quotation_line_customer_currency_symbol": "$",
"quotation_line_customer_rack_total": 460.2
},
{...}
]'