Travel Agency Corporate ID API Reference

POST

ticket/travelagency/reservationworkbench/{workbenchID}/travelagency/addcorporatecode

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/

Put

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

For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response.

For {travelagencyID} send the agency identifier returned in TravelAgency/Identifier/value.

Base path:

Pre-production https://api.pp.travelport.com/11/air/

Production https://api.travelport.com/11/air/

DEL

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

For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response.

For /{travelagencyID} send the agency identifier returned in TravelAgency/Identifier/value.

Base path:

Pre-production https://api.pp.travelport.com/11/air/

Production https://api.travelport.com/11/air/

Related Content: Booking Guide

AirReservation 23.11.33 and later.

The Corporate ID request adds a travel agency corporate ID to the booking. This request is sent as part of a workbench session, either during the initial booking workflow or a post-commit workbench for an existing reservation. It must be followed by a workbench commit to add it to the booking.

Use the DEL request above to delete a corporate ID from a booking, either during the initial booking workflow or a post-commit workbench for an existing reservation, and then commit the workbench.

The reservation retrieve for a booking returns any travel agency corporate ID and address associated with that booking.

Request

Query Parameters

None.

Request Body

Use the following request for both the add and update operations; note the different endpoints for each operation per above.

The delete request does not have a message body.

Response

The response returns an identifier for the travel agency.

Example Request

Use the following request for both the add and update operations; note the different endpoints for each operation per above.

Example Response

The following response is returned for the add and update operations.

The delete response returns a No Content message.

The following example shows the corporate code as returned in the Reservation Retrieve response after the corporate code has been added and the workbench committed. The preceding objects have been collapsed for brevity.