## Request **This json is made only for guidance and flow reference but the request has been made over URL** ```json { "booking_id": "80443f44-0a1" } ``` ## Response ```json { "token":"0E64af130a44e9f", "version":2, "_doc_version":1, "booking":{ "id":"80443f44-0a1", "created":"2023-07-12T16:02:46", "modified":"2023-07-17T11:13:03", "timezone":"America/Lima", "lines":[ { "booking_reference":{ "locator":"KEC8P4", "status":"CNLD", "source_i_d":"" }, "holder":{ "name":"jon", "surnames":[ "doe" ], "contact":{ "type":"Passenger", "mails":[ "foo@bar.com" ], "phones":[ { "number":"111111" } ] }, "in_booking":true, "index":0 }, "travellers":[ { "type":"ADT", "gender":"Male", "title":"Mr", "name":"john", "surnames":[ "doe" ], "documents":[ { "type":"PP", "number":"F26612874", "city":"", "country":"CL", "nationality":"CL" } ], "in_booking":true, "index":0 }, { "type":"ADT", "gender":"Male", "title":"Mr", "name":"johnn", "surnames":[ "doee" ], "documents":[ { "type":"PP", "number":"F26612875", "city":"", "country":"CL", "nationality":"CL" } ], "in_booking":true, "index":1 }, { "type":"CHD", "gender":"Male", "title":"MR", "name":"johnnn", "surnames":[ "doeee" ], "documents":[ { "type":"PP", "number":"F26612876", "city":"", "country":"CL", "nationality":"CL" } ], "in_booking":true, "index":2 }, { "type":"CHD", "gender":"Male", "title":"MR", "name":"johnnnn", "surnames":[ "doeeee" ], "documents":[ { "type":"PP", "number":"F26612877", "city":"", "country":"CL", "nationality":"CL" } ], "in_booking":true, "index":3 } ], "travel":{ "id":"h864af130b1c07c0000", "services_groups":[ { "id":"AMADEUS#1", "source_i_d":"1", "services":[ { "id":"IB374220230910", "source_i_d":"1", "segments":[ { "source_i_d":"1", "origin":{ "id":"52e6e452090b", "short_name":"BARAJAS ADOLFO SUÁREZ", "long_name":"BARAJAS ADOLFO SUÁREZ", "type":"Airport", "iata":"MAD", "latitude":40.4722222222, "longitude":-3.56083333333, "geonames":"", "time_zone":"Europe/Madrid", "country":"ES", "country_name":"ESPAÑA", "city_name":"MADRID", "iata_city":"MAD", "localizacion":"ESP" }, "destination":{ "id":"52e6e452190a", "short_name":"CHARLES DE GAULLE", "long_name":"CHARLES DE GAULLE", "type":"Airport", "iata":"CDG", "latitude":49.0127777778, "longitude":2.55, "geonames":"", "time_zone":"Europe/Paris", "country":"FR", "country_name":"FRANCIA", "city_name":"PARIS", "iata_city":"PAR", "localizacion":"EUR" }, "departure_date_time":"2023-09-10T21:50:00", "arrival_date_time":"2023-09-10T23:50:00", "origin_terminal":"4", "destination_terminal":"3", "transport_type":"Flight", "company":{ "id":"5522e2516a51", "short_name":"Iberia", "long_name":"Iberia Lineas Aereas de Espana S.A.", "iata":"IB", "icao":"IBE", "need_doc":false }, "operating_company":{ "id":"5522e2516a25", "short_name":"Iberia Express", "long_name":"Iberia Express", "iata":"I2", "icao":"IBS", "need_doc":false }, "transport_number":"3742", "class_of_service":"Q", "fare_basis_code":"QDNNENB2", "cabin":{ "id":"M", "short_name":"Economica", "long_name":"Económica" }, "equipment":"32A", "status":"HK", "seats":9, "baggage":{ "quantity":0, "unit":"Units" }, "fare_type":"PUBLIC", "line_number":"5" } ], "duration":7200, "low_cost":false } ], "context":1, "fare_type":"PUBLIC" }, { "id":"AMADEUS#1", "source_i_d":"1", "services":[ { "id":"IB344320231010", "source_i_d":"2", "segments":[ { "source_i_d":"2", "origin":{ "id":"52e6e4521916", "short_name":"ORLY", "long_name":"ORLY", "type":"Airport", "iata":"ORY", "latitude":48.7252777778, "longitude":2.35944444444, "geonames":"", "time_zone":"Europe/Paris", "country":"FR", "country_name":"FRANCIA", "city_name":"PARIS", "iata_city":"PAR", "localizacion":"EUR" }, "destination":{ "id":"52e6e452090b", "short_name":"BARAJAS ADOLFO SUÁREZ", "long_name":"BARAJAS ADOLFO SUÁREZ", "type":"Airport", "iata":"MAD", "latitude":40.4722222222, "longitude":-3.56083333333, "geonames":"", "time_zone":"Europe/Madrid", "country":"ES", "country_name":"ESPAÑA", "city_name":"MADRID", "iata_city":"MAD", "localizacion":"ESP" }, "departure_date_time":"2023-10-10T17:20:00", "arrival_date_time":"2023-10-10T19:20:00", "origin_terminal":"1", "destination_terminal":"4", "transport_type":"Flight", "company":{ "id":"5522e2516a51", "short_name":"Iberia", "long_name":"Iberia Lineas Aereas de Espana S.A.", "iata":"IB", "icao":"IBE", "need_doc":false }, "operating_company":{ "id":"5522e2516a51", "short_name":"Iberia", "long_name":"Iberia Lineas Aereas de Espana S.A.", "iata":"IB", "icao":"IBE", "need_doc":false }, "transport_number":"3443", "class_of_service":"A", "fare_basis_code":"ADNNANB4", "cabin":{ "id":"M", "short_name":"Economica", "long_name":"Económica" }, "equipment":"321", "status":"HK", "seats":9, "baggage":{ "quantity":0, "unit":"Units" }, "fare_type":"PUBLIC", "line_number":"6" } ], "duration":7200, "low_cost":false } ], "context":2, "fare_type":"PUBLIC" } ], "price":{ "currency":"CLP", "base":344552.495, "total_taxes":180654.31, "total_external_fees":0, "fee":0, "emission_fee":0, "commission_percentage":0, "commission_amount":0, "amount":525895.913, "total":525895.91, "fares":[ { "source_i_d":"QDNNENB2", "extensions":{ "fareBasis":[ "QDNNENB2", "ADNNANB4" ], "components":[ "1", "2" ], "timeZone":"" }, "tags":[ { "id":"", "source_i_d":"QDNNENB2" } ], "context":0, "passenger_type":"ADT", "passenger_type_normalized":"ADT", "passenger_refs":[ "2", "3" ], "quantity":2, "base":86138.124, "total_taxes":45163.578, "total_external_fees":0, "amount":131473.978, "total":131473.978, "validating_company":{ "iata":"IB" }, "last_ticket_date":"2023-07-14T04:59:00", "last_date":"2023-07-12T23:59:59", "timezone":"UTC", "public":true, "fuel_tax":0, "refundable":true, "notes":null, "subtype":"", "special_p_t_c":"", "special_ticket_designator":"" }, { "source_i_d":"QDNNENB2", "extensions":{ "fareBasis":[ "QDNNENB2", "ADNNANB4" ], "components":[ "1", "2" ], "timeZone":"" }, "tags":[ { "id":"", "source_i_d":"QDNNENB2" } ], "context":0, "passenger_type":"CHD", "passenger_type_normalized":"CHD", "passenger_refs":[ "4", "5" ], "quantity":2, "base":86138.124, "total_taxes":45163.578, "total_external_fees":0, "amount":131473.978, "total":131473.978, "validating_company":{ "iata":"IB" }, "last_ticket_date":"2023-07-14T04:59:00", "last_date":"2023-07-13T04:59:59", "timezone":"UTC", "public":true, "fuel_tax":0, "refundable":true, "notes":null, "subtype":"", "special_p_t_c":"", "special_ticket_designator":"" } ], "fuel_tax":0, "other_taxes":199.24, "markup":0, "opaque":0, "mandatory":false, "refundable":true, "fare_type":"PUBLIC", "valid":true, "penalties":[ ], "tsms":[ ], "cost":{ "amount":580, "currency_code":"EUR", "change_rate":1 }, "pvp":{ "amount":525895.91, "currency_code":"CLP", "change_rate":906.7170909 }, "total_emission_fee":0 }, "unconverted_price":{ "currency":"", "base":0, "total_taxes":0, "amount":0, "total":0, "fares":null, "mandatory":false, "refundable":false, "fare_type":"", "valid":false, "penalties":null, "tsms":null, "total_emission_fee":0 }, "provider":{ "id":"1A", "short_name":"Amadeus", "long_name":"Amadeus", "type":"TRANSPORT", "subtype":"FLIGHT", "active":true, "default_priority":20 }, "supplements":[ { "category":"Refund", "currency":"EUR", "fee":0, "included":true, "indicator":"INC", "seg_references":[ "1" ], "short_name":"REFUNDABLE", "total":0 }, { "category":"Refund", "currency":"EUR", "fee":0, "included":true, "indicator":"INC", "seg_references":[ "2" ], "short_name":"REFUNDABLE", "total":0 } ], "multi_fare":true, "payment_in_booking":false, "need_card_payment_in_booking":false, "using_special_office":false, "parameters_booking":[ { "context":"pax", "type":"passenger", "fields":[ { "name":"gender", "mandatory":true, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] }, { "name":"name", "mandatory":true, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] }, { "name":"surname", "mandatory":true, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] }, { "name":"frequent_traveller", "mandatory":false, "editable":false, "pax_refs":[ "2", "3" ] }, { "name":"birthdate", "mandatory":true, "editable":false, "pax_refs":[ "4", "5" ] }, { "name":"doc_type", "mandatory":false, "editable":true, "pax_refs":[ "2", "3", "4", "5" ], "enums":[ "NI", "PP", "TR" ] }, { "name":"doc_number", "mandatory":false, "editable":true, "pax_refs":[ "2", "3", "4", "5" ] } ], "info":{ "range":{ "INF":[ 0, 2 ], "CHD":[ 2, 12 ], "YTH":[ 12, 16 ], "ADT":[ 12, 150 ], "YCD":[ 60, 150 ], "UMN":[ 12, 16 ] } } }, { "context":"pax", "type":"emergency", "fields":[ { "name":"name", "mandatory":false, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] }, { "name":"surname", "mandatory":false, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] }, { "name":"phone", "mandatory":false, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] }, { "name":"country", "mandatory":false, "editable":false, "pax_refs":[ "2", "3", "4", "5" ] } ], "info":{ "range":{ "INF":null, "CHD":null, "YTH":null, "ADT":null, "YCD":null, "UMN":null } } }, { "context":"travel", "type":"contact", "fields":[ { "name":"name", "mandatory":true, "editable":false, "pax_refs":null }, { "name":"surname", "mandatory":true, "editable":false, "pax_refs":null }, { "name":"email", "mandatory":true, "editable":false, "pax_refs":null }, { "name":"phone", "mandatory":true, "editable":false, "pax_refs":null }, { "name":"phone2", "mandatory":false, "editable":false, "pax_refs":null } ], "info":{ "range":{ "INF":null, "CHD":null, "YTH":null, "ADT":null, "YCD":null, "UMN":null } }, "mandatory":true }, { "context":"travel", "type":"emission", "fields":[ { "name":"book", "mandatory":false, "editable":false, "pax_refs":null }, { "name":"seat", "mandatory":false, "editable":false, "pax_refs":null }, { "name":"bag", "mandatory":false, "editable":false, "pax_refs":null }, { "name":"priority", "mandatory":false, "editable":false, "pax_refs":null } ], "info":{ "range":{ "INF":null, "CHD":null, "YTH":null, "ADT":null, "YCD":null, "UMN":null } } }, { "context":"travel", "type":"refund", "fields":[ { "name":"partial_by_passenger", "mandatory":true, "editable":false, "pax_refs":null } ], "info":{ "range":{ "INF":null, "CHD":null, "YTH":null, "ADT":null, "YCD":null, "UMN":null } } }, { "context":"travel", "type":"changes", "fields":[ { "name":"partial_by_passenger", "mandatory":false, "editable":false, "pax_refs":null } ], "info":{ "range":{ "INF":null, "CHD":null, "YTH":null, "ADT":null, "YCD":null, "UMN":null } } }, { "context":"travel", "type":"upgrades", "fields":[ { "name":"partial_by_passenger", "mandatory":false, "editable":false, "pax_refs":null } ], "info":{ "range":{ "INF":null, "CHD":null, "YTH":null, "ADT":null, "YCD":null, "UMN":null } } } ], "solution_i_d":"h864af130b1c07c0000", "resident":false, "last_ticket_date":"2023-07-13T23:59:00", "last_ticket_date_data":{ "title":"Último día para emitir: 14/07", "tag":"TL 14/07", "locale":"es" }, "last_date":"2023-07-12T23:59:59", "need_doc_apis":false, "need_ruc":false, "need_ctcl":{ "show":false, "require":false }, "accept_national_document":false, "emit_on_booking_detail":{ "emit_on_booking":false, "emit_on_ancillary_add":false }, "extra_services":[ ], "multi_family":false, "allow_multi_family":true, "catalogue":true, "allow_seat_selection_pre":false, "allow_baggage_pre":false, "seats":false, "is_umnr":false, "passenger_types_normalized":[ ], "need_expedient_validation":false }, "provider":{ "id":"1A", "short_name":"Amadeus", "long_name":"Amadeus", "type":"TRANSPORT", "subtype":"FLIGHT", "active":true, "default_priority":20 }, "agency":{ "id":"11176", "short_name":"Agencia Test Lleego", "long_name":"Agencia Test Lleego", "extensions":{ "fareBasis":null, "components":null, "timeZone":"America/Lima" } }, "info_is_complete":true, "is_transferred":false, "is_accesible":true, "is_disney":false, "allow_booking_changes":true, "avail_seat_selection":false, "avail_cryptic":false, "avail_repolicy":true, "avail_repricing":false, "avail_comment_pnr":true, "avail_action_comment_pnr":false, "tpv_uses_cost":[ ], "error":null, "need_inteligence_status":true, "pricing_creation_date":false, "is_susceptible_covid19":false, "is_requested_covid19":false, "count_summary":{ "segments":2, "travellers":4 } } ], "consolidator":146, "agency":11176, "agent":39937, "is_surface":false, "email":"foo@bar.com", "contact":"jon doe" }, "payment_redirect_type":"GET" } ```