Traveler Updatable Items API Reference
POST |
book/updatableItem/reservationworkbench/{workbenchID}/travelerupdatableitems/buildfromtraveler For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response. Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Booking Guide, Traveler Modify Guide
Use the Updatable Items request to return a list of traveler information that can be updated. Updatable Items retrieves by one or more traveler IDs a list of objects that are updatable for that traveler/s, and returns for each an indicator for whether that item can be added, modified, or deleted. It is sent as part of a workbench session, either during the initial booking workflow or a post-commit workbench for an existing reservation. It is followed by a Traveler Update request to implement changes.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
Object |
Description |
---|---|
TravelerUpdatableItemsQueryBuildFromTraveler |
Top level object. |
Identifier |
Array. Sends identifier/s as string/s for the traveler/s to retrieve a list of updatable items for. |
After you establish a post-commit workbench session, send a request for updatable items with the traveler identifier for each traveler to update. You can request one or more travelers on the same reservation. If you need the traveler identifiers, retrieve the reservation before you create the workbench, or retrieve the workbench to get full reservation details.
The payload must send the traveler identifier for each passenger with information to update.
Response
Object |
Description |
---|---|
TravelerUpdatableItemsListResponse |
Top level object. Key value pairs:
Includes Identifier and TravelerUpdatableItemsID. |
TravelerUpdatableItemsListResponse/Identifier |
Returns an identifier for the response as a whole in these key value pairs:
|
TravelerUpdatableItemsID |
Key value pairs:
Includes Identifier object. |
TravelerUpdatableItemsID/Identifier |
Returns an identifier for the TravelerUpdatableItemsID object in these key value pairs:
|
TravelerUpdatableItem |
Returns array of updatable objects with an @type value of TravelerUpdatableItem/{ItemName} per below. |
@type value TravelerUpdatableItem{ObjectName} |
Name of the type of data that may be supported for modification, deletion, or addition. Supported objects are:
Each of the objects above include all of the following: Identifier: Unique system-generated identifier for this data element; must be sent in any subsequent Traveler Update request to add, modify, or delete this data. {action}Ind: Returns any of the following key value pairs that are true:
{CurrentData}: When data exists and is either modifiable or deletable, this object returns the current data in that object. Supported objects are:
|
Identifier |
A unique system-generated identifier for this response. |
Example Request
{
"TravelerUpdatableItemsQueryBuildFromTraveler": {
"TravelerIdentifier": [
"371c780b-75ba-448a-8656-aa156f6c363c"
]
}
}
Example Response
The following example includes all information supported for adding, modifying, and deleting.
{
"TravelerUpdatableItemsListResponse": {
"@type": "TravelerUpdatableItemsListResponse",
"transactionId": "453eb1a8-3b4c-4cb0-8f76-b06bb33613cb",
"traceId": "default_34d6b060-1308-44a2-978e-15021f9fbfb2",
"TravelerUpdatableItemsID": [
{
"@type": "TravelerUpdatableItems",
"travelerIdentifier": "371c780b-75ba-448a-8656-aa156f6c363c",
"id": "travelerUpdatableItems1",
"Identifier": {
"authority": "Travelport",
"value": "5350c4c5-37d7-4a9f-8807-9e73e04ef457"
},
"TravelerUpdatableItem": [
{
"@type": "TravelerUpdatableItemEmail",
"modifiableInd": true,
"deletableInd": true,
"Identifier": "69b414bb-6747-47de-a8bf-1e0b4a8ae328",
"Email": {
"emailType": "TO",
"value": "indranil.ghosh@travelport.com"
}
},
{
"@type": "TravelerUpdatableItemEmail",
"addableInd": true,
"Identifier": "585fac39-7123-4409-b721-b2665fa34b6e"
},
{
"@type": "TravelerUpdatableItemTelephone",
"modifiableInd": true,
"deletableInd": true,
"Identifier": "2590fba4-a7c3-4d0d-9b41-989eb4dcdc22",
"Telephone": {
"@type": "TelephoneDetail",
"countryAccessCode": "1",
"areaCityCode": "719",
"phoneNumber": "6401108",
"extension": "123",
"id": "telephone_1",
"cityCode": "DEN",
"role": "Mobile"
}
},
{
"@type": "TravelerUpdatableItemTelephone",
"addableInd": true,
"Identifier": "d0652918-c5c6-4273-b72d-635ffba0263a"
},
{
"@type": "TravelerUpdatableItemAddress",
"addableInd": true,
"Identifier": "1661b29c-388d-4a8c-896e-c0a597e439bf"
},
{
"@type": "TravelerUpdatableItemCustomerLoyalty",
"addableInd": true,
"Identifier": "8fe1e8d3-5e75-4c95-86c3-817ef930d18e"
},
{
"@type": "TravelerUpdatableItemTravelDocument",
"modifiableInd": true,
"deletableInd": true,
"Identifier": "4e61a940-c2c9-43bd-af09-727b5f6559d7",
"TravelDocument": {
"@type": "TravelDocumentDetail",
"docNumber": "88989889",
"docType": "Passport",
"expireDate": "2024-12-05",
"issueCountry": "US",
"birthDate": "1991-12-12",
"Gender": "Male",
"PersonName": {
"@type": "PersonName",
"Given": "SAM",
"Surname": "HOUSTON"
}
}
},
{
"@type": "TravelerUpdatableItemTravelDocument",
"modifiableInd": true,
"deletableInd": true,
"Identifier": "01dcc23f-97ea-4be4-ae27-c640ffa95dea",
"TravelDocument": {
"@type": "TravelDocumentDetail",
"birthDate": "1940-09-18",
"Gender": "Male",
"PersonName": {
"@type": "PersonName",
"Given": "Sam",
"Middle": "Tex",
"Surname": "Houston"
}
}
},
{
"@type": "TravelerUpdatableItemTravelDocument",
"addableInd": true,
"Identifier": "ef2e4357-ceba-40da-bfb5-f5854433a590"
},
{
"@type": "TravelerUpdatableItemPersonName",
"modifiableInd": true,
"Identifier": "1e498ecb-ed3f-45bf-8384-ba5a932141b4",
"PersonNameUpdatable": {
"@type": "PersonNameUpdatable",
"Given": "SAM",
"Surname": "HOUSTON"
}
},
{
"@type": "TravelerUpdatableItemComments",
"addableInd": true,
"Identifier": "725da179-4ffa-404c-a13e-eacf41fb1167"
}
]
}
],
"Identifier": {
"authority": "Travelport",
"value": "e19aae3d-5af1-4527-97ae-f484207c4ea3"
}
}
}