Travel Agency Email API Reference

POST

ticket/travelagency/reservationworkbench/{workbenchID}/travelagency/{travelagencyID}/addemail

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}/updateemail

See the POST request above for variables and the base path.

DEL

ticket/travelagency/reservationworkbench/{workbenchID}/travelagency/{travelagencyID}/deleteemai/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 Email API supports POST, PUT, and DEL requests to add, modify, or delete a travel agency email address to the bookingClosed 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-commitClosed 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.

The reservation retrieve for a booking returns any travel agency details associated with that booking.

Use the Travel Agency requests only for travel agency contact details. Create and modify traveler details in the Add Traveler and Traveler Updatable Items requests.

Request

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.

Response

The response returns the travel agency identifier and the details sent in the request.

Example Request

Use the following request to modify any part of a travel agency email address.

The delete response returns a No Content message.

Example Response

The following response is returned for the update travel agency email request.

The delete response returns a 204 No Content message.