Update Travellers
Introduction
Use this API to update the passenger information for a flight booking. The API accepts a booking tracking ID and a passenger information. The API will update the passenger information and return the passenger information.
Update travellers API Request- Sample JSON
Below textbox provides a sample of the request from REST Tool:
{
"booking_tracking_id": "11172725696826193VGXAJ",
"member_id": "1",
"save_pax": "no",
"passenger": [
{
"pax_id": "1",
"pax_type": "ADT",
"gender": "M",
"title": "MR",
"first_name": "John",
"last_name": "Doe",
"dob": "1999-10-24",
"doc_country": "AE",
"doc_no": "A1235121",
"doc_dateofexpiry": "2030-04-25",
"doc_dateofissue": "",
"frequent_flyer": "21321313132",
"isd_code": "+971",
"contact_no": "141234567",
"email_address": "[email protected]",
"wheelchair_required": "no"
}
]
}
Update travellers API Response- Sample JSON
Below textbox provides a sample of the request from REST Tool:
{
"status": "success",
"reason": "Passenger data has been successfully updated.",
"tracking_id": "11172725696826193VGXAJ",
"total_guest": 1,
"data": [
{
"tracking_id": "11172725696826193VGXAJ",
"pax_id": "1",
"pax_type": "ADT",
"gender": "M",
"title": "MR",
"first_name": "John",
"last_name": "Doe",
"dob": "1999-10-24",
"pax_age": "24",
"doc_country": "AE",
"doc_no": "A1235121",
"doc_dateofexpiry": "2030-04-25",
"frequent_flyer_airlines": null,
"frequent_flyer": "21321313132",
"wheelchair_required": "no",
"isd_code": "+971",
"contact_no": "141234567",
"email_address": "[email protected]"
},
{
"tracking_id": "11172725696826193VGXAJ",
"pax_id": "2",
"pax_type": "CNN",
"gender": "M",
"title": "MR",
"first_name": "Saan",
"last_name": "Doe",
"dob": "1999-10-24",
"pax_age": "24",
"doc_country": "AE",
"doc_no": "A1235121",
"doc_dateofexpiry": "2030-04-25",
"frequent_flyer_airlines": null,
"frequent_flyer": "21321313132",
"wheelchair_required": "no",
"isd_code": "+971",
"contact_no": "141234568",
"email_address": "[email protected]"
},
{
"tracking_id": "11172725696826193VGXAJ",
"pax_id": "3",
"pax_type": "INF",
"gender": "M",
"title": "MR",
"first_name": "Jillan",
"last_name": "Khan",
"dob": "1999-10-24",
"pax_age": "24",
"doc_country": "AE",
"doc_no": "A1235121",
"doc_dateofexpiry": "2030-04-25",
"frequent_flyer_airlines": null,
"frequent_flyer": "21321313132",
"wheelchair_required": "no",
"isd_code": "+971",
"contact_no": "141234569",
"email_address": "[email protected]"
},
]
}
|
API Method : POST URL:{{base_url}}/flight/update-travellers |
||
|---|---|---|
| Property | Value | Description |
| booking_tracking_id | 11172725696826193VGXAJ(required) | Booking tracking ID copied from Validation response |
| member_id | 1 | A unique identifier assigned to a specific member in the system. |
| passenger[0].pax_id | 1 (required) | Unique ID of the passenger. |
| passenger[0].pax_type | ADT (required) | Type of passenger: ADT = Adult, CNN = Child, INF = Infant. |
| passenger[0].gender | M (required) | Gender of the passenger. |
| passenger[0].title | MR (required) | Title of the passenger (Mr/Mrs/Ms/Miss/Mstr). |
| passenger[0].first_name | John (required) | First name of the passenger. |
| passenger[0].last_name | Doe (required) | Last name of the passenger. |
| passenger[0].dob | 1985-10-24 (required) | Date of birth of the passenger. |
| passenger[0].doc_country | BD (required) | Country of the document. |
| passenger[0].doc_no | A1235121 (required) | Document number of the passenger. |
| passenger[0].doc_dateofexpiry | 2030-04-25 (required) | Document expiry date. |
| passenger[0].doc_dateofissue | Document issue date. | |
| passenger[0].frequent_flyer | 21321313132 (required) | Frequent flyer number. |
| passenger[0].isd_code | ARE | ISD code for the contact number. |
| passenger[0].contact_no | 141234587 | Contact number of the passenger. |
| passenger[0].email_address | [email protected] | Email address of the passenger. |
| passenger[0].wheelchair_required | no | Indicates if a wheelchair is required. |
| passenger[1].pax_id | 2 (required)/td> | Unique ID of the passenger. |
| passenger[1].pax_type | CNN (required) | Type of passenger: ADT = Adult, CNN = Child, INF = Infant. |
| passenger[1].gender | M (required) | Gender of the passenger. |
| passenger[1].title | MR (required) | Title of the passenger (Mr/Mrs/Ms/Miss/Mstr). |
| passenger[1].first_name | Ahmed (required) | First name of the passenger. |
| passenger[1].last_name | Kamal (required) | Last name of the passenger. |
| passenger[1].dob | 2016-10-24 (required) | Date of birth of the passenger. |
| passenger[1].doc_country | BD (required)/td> | Country of the document. |
| passenger[1].doc_no | A1235121 (required) | Document number of the passenger. |
| passenger[1].doc_dateofexpiry | 2030-04-25 (required) | Document expiry date. |
| passenger[1].doc_dateofissue | Document issue date. | |
| passenger[1].frequent_flyer | 21321313132 (required) | Frequent flyer number. |
| passenger[1].isd_code | +971 | ISD code for the contact number. |
| passenger[1].contact_no | 14234567 | Contact number of the passenger. |
| passenger[1].email_address | [email protected] | Email address of the passenger. |
| passenger[1].wheelchair_required | no | Indicates if a wheelchair is required. |
| passenger[2].pax_id | 3 (required) | Unique ID of the passenger. |
| passenger[2].pax_type | INF (required) | Type of passenger: ADT = Adult, CNN = Child, INF = Infant. |
| passenger[2].gender | M (required) | Gender of the passenger. |
| passenger[2].title | Mstr (required) | Title of the passenger (Mr/Mrs/Ms/Miss/Mstr). |
| passenger[2].first_name | Saan (required) | First name of the passenger. |
| passenger[2].last_name | Ballam (required) | Last name of the passenger. |
| passenger[2].dob | 2023-10-24 (required) | Date of birth of the passenger. |
| passenger[2].doc_country | AE (required) | Country of the document. |
| passenger[2].doc_no | A1235121 (required) | Document number of the passenger. |
| passenger[2].doc_dateofexpiry | 2030-04-25 (required) | Document expiry date. |
| passenger[2].doc_dateofissue | Document issue date. | |
| passenger[2].frequent_flyer | 21321313132 (required) | Frequent flyer number. |
| passenger[2].isd_code | +971 | ISD code for the contact number. |
| passenger[2].contact_no | 141224568 | Contact number of the passenger. |
| passenger[2].email_address | [email protected] | Email address of the passenger. |
| passenger[2].wheelchair_required | no | Indicates if a wheelchair is required. |
| Update Travellers – Response | ||
|---|---|---|
| Property | Value | Description |
| status | success | An indicator that reflects the current state or condition of a request, operation, or resource, such as "failed," or "success. |
| reason | "Passenger data has been successfully updated." | The reason for the success or failure of the request |
| tracking_id | 11172724419726193OVFV1 | A unique identifier used to track the status or progress of a specific flight data |
| total_guest | 3 | The total number of guests in the booking |
| data.tracking_id | 11172725696826193VGXAJ | Unique identifier of the booking |
| data[0].pax_id | 1 | Unique ID of the data. |
| data[0].pax_type | ADT | Type of data: ADT = Adult, CNN = Child, INF = Infant. |
| data[0].gender | M | Gender of the data. |
| data[0].title | MR | Title of the data (Mr/Mrs/Ms/Miss/Mstr). |
| data[0].first_name | john | First name of the data. |
| data[0].last_name | Doe | Last name of the data. |
| data[0].dob | 1985-10-24 | Date of birth of the data. |
| data[0].doc_country | AE | Country of the document. |
| data[0].doc_no | A1235121 | Document number of the data. |
| data[0].doc_dateofexpiry | 2030-04-25 | Document expiry date. |
| data[0].doc_dateofissue | Document issue date. | |
| data[0].frequent_flyer | 21321313132 | Frequent flyer number. |
| data[0].isd_code | +971 | ISD code for the contact number. |
| data[0].contact_no | 141234567 | Contact number of the data. |
| data[0].email_address | [email protected] | Email address of the data. |
| data[0].wheelchair_required | no | Indicates if a wheelchair is required. |
| data[1].pax_id | 2 | Unique ID of the data. |
| data[1].pax_type | CNN | Type of data: ADT = Adult, CNN = Child, INF = Infant. |
| data[1].gender | M | Gender of the data. |
| data[1].title | MR | Title of the data (Mr/Mrs/Ms/Miss/Mstr). |
| data[1].first_name | Saan | First name of the data. |
| data[1].last_name | Doe | Last name of the data. |
| data[1].dob | 2016-10-24 | Date of birth of the data. |
| data[1].doc_country | AE | Country of the document. |
| data[1].doc_no | A1235121 | Document number of the data. |
| data[1].doc_dateofexpiry | 2030-04-25 | Document expiry date. |
| data[1].doc_dateofissue | Document issue date. | |
| data[1].frequent_flyer | 21321313132 | Frequent flyer number. |
| data[1].isd_code | +971 | ISD code for the contact number. |
| data[1].contact_no | 141234568 | Contact number of the data. |
| data[1].email_address | [email protected] | Email address of the data. |
| data[1].wheelchair_required | no | Indicates if a wheelchair is required. |
| data[2].pax_id | 3 | Unique ID of the data. |
| data[2].pax_type | INF | Type of data: ADT = Adult, CNN = Child, INF = Infant. |
| data[2].gender | M | Gender of the data. |
| data[2].title | Mstr | Title of the data (Mr/Mrs/Ms/Miss/Mstr). |
| data[2].first_name | Sam | First name of the data. |
| data[2].last_name | Ballam | Last name of the data. |
| data[2].dob | 2023-10-24 | Date of birth of the data. |
| data[2].doc_country | AE | Country of the document. |
| data[2].doc_no | A1235121 | Document number of the data. |
| data[2].doc_dateofexpiry | 2030-04-25 | Document expiry date. |
| data[2].doc_dateofissue | Document issue date. | |
| data[2].frequent_flyer | 21321313132 | Frequent flyer number. |
| data[2].isd_code | UAE | ISD code for the contact number. |
| data[2].contact_no | 141234569 | Contact number of the data. |
| data[2].email_address | [email protected] | Email address of the data. |
| data[2].wheelchair_required | no | Indicates if a wheelchair is required. |