---
# System prepended metadata

title: Cancel case 1

---

# Cancel case 1

## Request

This fields are given by params into URL and not as body.
```json
{
   "BookingID":"df1ee811-268",
   "PNR":"KDOR8O"
}
```

## Response

```json
{
   "success":true,
   "token":"ny64aeee49e7e0c",
   "version":2,
   "_doc_version":1,
   "booking":{
      "id":"df1ee811-268",
      "created":"2023-07-12T13:19:01",
      "modified":"2023-07-12T13:19:32",
      "timezone":"America/Lima",
      "lines":[
         {
            "booking_reference":{
               "locator":"KDOR8O",
               "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":"jk64aeee4d7272e0000",
               "services_groups":[
                  {
                     "id":"AMADEUS#1",
                     "source_i_d":"1",
                     "services":[
                        {
                           "id":"UX009220230910",
                           "source_i_d":"1",
                           "segments":[
                              {
                                 "source_i_d":"1",
                                 "origin":{
                                    "id":"52e6e4521382",
                                    "short_name":"JOHN_F_KENNEDY",
                                    "long_name":"JOHN_F_KENNEDY",
                                    "type":"Airport",
                                    "iata":"JFK",
                                    "latitude":40.6397222222,
                                    "longitude":-73.7788888889,
                                    "geonames":"",
                                    "time_zone":"America/New_York",
                                    "country":"US",
                                    "country_name":"ESTADOS UNIDOS",
                                    "city_name":"NUEVA YORK",
                                    "iata_city":"NYC",
                                    "localizacion":"RES"
                                 },
                                 "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-09-10T22:05:00",
                                 "arrival_date_time":"2023-09-11T11:20:00",
                                 "origin_terminal":"4",
                                 "destination_terminal":"1",
                                 "transport_type":"Flight",
                                 "company":{
                                    "id":"5522e251777d",
                                    "short_name":"Air Europa",
                                    "long_name":"Air Europa Lineas Aereas S.A",
                                    "iata":"UX",
                                    "icao":"AEA",
                                    "need_doc":false
                                 },
                                 "operating_company":{
                                    "id":"5522e251777d",
                                    "short_name":"Air Europa",
                                    "long_name":"Air Europa Lineas Aereas S.A",
                                    "iata":"UX",
                                    "icao":"AEA",
                                    "need_doc":false
                                 },
                                 "transport_number":"92",
                                 "class_of_service":"Z",
                                 "fare_basis_code":"ZYYO2L",
                                 "cabin":{
                                    "id":"M",
                                    "short_name":"Economica",
                                    "long_name":"Económica"
                                 },
                                 "equipment":"788",
                                 "status":"HK",
                                 "seats":9,
                                 "baggage":{
                                    "quantity":0,
                                    "unit":"Units"
                                 },
                                 "fare_type":"PUBLIC",
                                 "line_number":"5"
                              }
                           ],
                           "duration":26100,
                           "low_cost":false
                        }
                     ],
                     "context":1,
                     "fare_type":"PUBLIC"
                  }
               ],
               "price":{
                  "currency":"CLP",
                  "base":243546.74800000002,
                  "total_taxes":749270.68,
                  "total_external_fees":0,
                  "fee":0,
                  "emission_fee":0,
                  "commission_percentage":0,
                  "commission_amount":0,
                  "amount":992817.43,
                  "total":992817.43,
                  "fares":[
                     {
                        "source_i_d":"ZYYO2L",
                        "extensions":{
                           "fareBasis":[
                              "ZYYO2L"
                           ],
                           "components":[
                              "1"
                           ],
                           "timeZone":""
                        },
                        "tags":[
                           {
                              "id":"",
                              "source_i_d":"ZYYO2L"
                           }
                        ],
                        "context":0,
                        "passenger_type":"ADT",
                        "passenger_type_normalized":"ADT",
                        "passenger_refs":[
                           "2",
                           "3"
                        ],
                        "quantity":2,
                        "base":69330.826,
                        "total_taxes":187317.671,
                        "total_external_fees":0,
                        "amount":256648.497,
                        "total":256648.497,
                        "validating_company":{
                           "iata":"UX"
                        },
                        "last_ticket_date":"2023-07-16T04:59:00",
                        "last_date":"2023-07-13T04:59:59",
                        "timezone":"UTC",
                        "public":true,
                        "fuel_tax":182.29,
                        "refundable":false,
                        "notes":null,
                        "subtype":"",
                        "special_p_t_c":"",
                        "special_ticket_designator":""
                     },
                     {
                        "source_i_d":"ZYYO2L",
                        "extensions":{
                           "fareBasis":[
                              "ZYYO2L"
                           ],
                           "components":[
                              "1"
                           ],
                           "timeZone":""
                        },
                        "tags":[
                           {
                              "id":"",
                              "source_i_d":"ZYYO2L"
                           }
                        ],
                        "context":0,
                        "passenger_type":"CHD",
                        "passenger_type_normalized":"CHD",
                        "passenger_refs":[
                           "4",
                           "5"
                        ],
                        "quantity":2,
                        "base":52442.548,
                        "total_taxes":187317.671,
                        "total_external_fees":0,
                        "amount":239760.219,
                        "total":239760.219,
                        "validating_company":{
                           "iata":"UX"
                        },
                        "last_ticket_date":"2023-07-16T04:59:00",
                        "last_date":"2023-07-13T04:59:59",
                        "timezone":"UTC",
                        "public":true,
                        "fuel_tax":182.29,
                        "refundable":false,
                        "notes":null,
                        "subtype":"",
                        "special_p_t_c":"",
                        "special_ticket_designator":""
                     }
                  ],
                  "fuel_tax":729.16,
                  "other_taxes":113.8,
                  "markup":0,
                  "opaque":0,
                  "mandatory":false,
                  "refundable":false,
                  "fare_type":"PUBLIC",
                  "valid":true,
                  "penalties":[
                     
                  ],
                  "tsms":[
                     
                  ],
                  "cost":{
                     "amount":1116.96,
                     "currency_code":"EUR",
                     "change_rate":1
                  },
                  "pvp":{
                     "amount":992817.432,
                     "currency_code":"CLP",
                     "change_rate":888.8567481
                  },
                  "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":[
                  
               ],
               "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":true,
                           "pax_refs":[
                              "2",
                              "3"
                           ]
                        },
                        {
                           "name":"birthdate",
                           "mandatory":true,
                           "editable":true,
                           "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":[
                              "PP"
                           ]
                        },
                        {
                           "name":"doc_number",
                           "mandatory":false,
                           "editable":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"doc_expedition_date",
                           "mandatory":false,
                           "editable":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"doc_expedition_country",
                           "mandatory":false,
                           "editable":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"nationality",
                           "mandatory":false,
                           "editable":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"doc_expiration_date",
                           "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":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"surname",
                           "mandatory":false,
                           "editable":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"phone",
                           "mandatory":false,
                           "editable":true,
                           "pax_refs":[
                              "2",
                              "3",
                              "4",
                              "5"
                           ]
                        },
                        {
                           "name":"country",
                           "mandatory":false,
                           "editable":true,
                           "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":true,
                           "pax_refs":null
                        },
                        {
                           "name":"surname",
                           "mandatory":true,
                           "editable":true,
                           "pax_refs":null
                        },
                        {
                           "name":"email",
                           "mandatory":true,
                           "editable":true,
                           "pax_refs":null
                        },
                        {
                           "name":"phone",
                           "mandatory":true,
                           "editable":true,
                           "pax_refs":null
                        },
                        {
                           "name":"phone2",
                           "mandatory":false,
                           "editable":true,
                           "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":true,
                           "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":"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":"jk64aeee4d7272e0000",
               "resident":false,
               "last_ticket_date":"2023-07-15T23:59:00",
               "last_ticket_date_data":{
                  "title":"Último día para emitir: 16/07",
                  "tag":"TL 16/07",
                  "locale":"es"
               },
               "last_date":"2023-07-12T23:59:59",
               "need_doc_apis":true,
               "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":false,
            "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":true,
            "avail_comment_pnr":true,
            "avail_action_comment_pnr":true,
            "tpv_uses_cost":[
               
            ],
            "error":{
               "description":"",
               "code":0
            },
            "need_float64eligence_status":false,
            "pricing_creation_date":false,
            "is_susceptible_covid19":false,
            "is_requested_covid19":false,
            "count_summary":{
               "segments":1,
               "travellers":4
            }
         }
      ]
   },
   "payment_redirect_type":"GET",
   "locator":"",
   "error":null
}
```