Travel Agency Telephone API Reference
POST |
ticket/travelagency/reservationworkbench/{workbenchID}/travelagency/{travelagencyID}/addtelephone For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response. For {travelagencyID} send the identifier returned in TravelAgency/id in the Workbench Create and Workbench Retrieve responses. Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Put |
ticket/travelagency/reservationworkbench/{workbenchID}/travelagency/{travelagencyID}/updatetelephone See the POST request above for variables and the base path. |
DEL |
ticket/travelagency/reservationworkbench/{workbenchID}/travelagency/{travelagencyID}/deletetelephone/l{emailID} For {emailID} send the identifier returned in TravelAgency/Email/id in the Workbench Create and Workbench Retrieve responses. See the POST request above for other variables and the base path. |
Related Content: Booking Guide, Travel Agency Details API Reference
The Travel Agency Telephone API supports POST, PUT, and DEL requests to add, modify, or delete a travel agency telephone number to the booking A confirmed reservation with the carrier. A held booking is a reservation that has not yet been ticketed. The terms booking and reservation are interchangeable. in the current workbench. All requests must be sent as part of a workbench session, either during the initial booking workflow or a post-commit
Refers to the state of a booking after the booking is created, which happens after the initial booking workbench is commited and the reservation locator code issued. workbench for an existing booking, and followed by a workbench commit.
For adding only, you can instead use the Travel Agency Details API to add all travel agency details in a single request using one payload. Using the Travel Agency Details API for adding is recommended, as the individual POST endpoints for the travel agency corporate ID, telephone, email, and address APIs will eventually be deprecated.
The reservation retrieve for a booking returns any travel agency details associated with that booking.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
Use the following request for the update operation. The delete request does not have a message body.
Note the different endpoints for each operation per above.

Object |
Description |
Required/Optional |
---|---|---|
TravelAgencyQueryTravelAgencyTelephoneWrapper |
Top level object. |
Required |
TelephoneDetail |
Required |
|
|
String. Country code for phone number. |
Optional |
|
String. Any city or area code associated with the phone number. |
Optional |
|
String. Max length 32 characters. Phone number value. |
Optional |
|
GDS
![]() ![]() String. Extension for a phone number. |
Optional |
|
String. Custom user-assigned identifier for this phone number. |
Optional |
|
String. Max length 10 characters. City code for phone number. |
Optional |
Response
The response returns the travel agency identifier and the details sent in the request.

Object |
Description |
---|---|
TravelAgencyResponse |
Top level object. Includes TravelAgency object. |
TravelAgency |
Corporate code value. Key value pair:
|
Identifier |
System-generated identifier for the travel agency; use this in subsequent update and delete request:
|
Telephone |
Returns the telephone details sent in the request in the following key value pairs:
|
Example Request
Use the following request to modify any part of a travel agency telephone number.
The delete request does not send a request payload.

{
"TravelAgencyQueryTravelAgencyTelephoneWrapper": {
"TravelAgencyQueryTravelAgencyTelephone": {
"Telephone": {
"@type": "TelephoneDetail",
"id": "telephone_1",
"countryAccessCode": "91",
"areaCityCode": "666",
"phoneNumber": "12345",
"extension": "989",
"cityCode": "IND"
}
}
}
}
Example Response
The following response is returned for the travel agency telephone modify request.
The delete response returns a No Content message.

{
"TravelAgencyResponse": {
"TravelAgency": {
"@type": "TravelAgencyDetail",
"id": "travelAgency_1",
"Identifier": {
"value": "328a3a99-dd30-486f-9653-37619bdbdbe5",
"authority": "Travelport"
},
"Telephone": [
{
"@type": "Telephone",
"id": "telephone_1"
}
]
}
}
}