### GET /air/book/reservation/reservations/getbylocator Source: https://developer.travelport.com/apis/flights/retrieve-bookings-and-tickets/getreservationbylocator Retrieves a reservation using its locator code. This endpoint is to be deprecated and replaced by Get by Identifier using identifier Type "Locator". ```APIDOC ## GET /air/book/reservation/reservations/getbylocator ### Description Retrieves a reservation by its locator code. This endpoint is to be deprecated and replaced by Get by Identifier using identifier Type "Locator". ### Method GET ### Endpoint /air/book/reservation/reservations/getbylocator ### Query Parameters - **Locator** (string) - Required - The booking locator code used to retrieve a Reservation. Example: "ABC123" - **creationDate** (string) - Optional - PNR creation Date - **detailViewInd** (boolean) - Optional - If true, ReservationDetail will be returned - **viewBrandCompleteInfoInd** (boolean) - Optional - If true, Brand complete information will be returned in Reservation Response - **viewBaggageDetailInd** (boolean) - Optional - If true, full baggage information will be returned in Reservation Response - **includeFlightAmenitiesInd** (boolean) - Optional - If true, flight amenities will be included in the response - **retrieveNonGDSSourceReservationInd** (boolean) - Optional - If true, reservation information will be retrieved directly from the source supplier ### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated. Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID. Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate. Example: "gzip, deflate" ### Request Example (No request body is typically sent for a GET request of this nature, but headers and query parameters are crucial.) ### Response (Response structure not provided in the source text.) ``` -------------------------------- ### POST /air/book/session/reservationworkbench/buildfromlocator Source: https://developer.travelport.com/apis/flights.md Initiates a post-commit workbench to create a session for ticketing or updating an existing reservation. ```APIDOC ## POST /air/book/session/reservationworkbench/buildfromlocator ### Description Initiate a post-commit workbench to create a session for ticketing or updating an existing reservation. This is a prerequisite step for any transaction that modifies, updates, or tickets any PNR. ### Method POST ### Endpoint /air/book/session/reservationworkbench/buildfromlocator ### Request Body - **LocatorCode** (string) - Required - The locator code of the reservation. ### Request Example ```json { "LocatorCode": "XYZ123" } ``` ### Response #### Success Response (200) - **WorkbenchId** (string) - The identifier for the newly created workbench session. #### Response Example ```json { "WorkbenchId": "workbench_abc123" } ``` ``` -------------------------------- ### POST /air/book/session/reservationworkbench/buildfromlocator Source: https://developer.travelport.com/apis/flights/ticketing/createreservationworkbenchfromlocator Initiates a post-commit workbench session to create or update an existing reservation for ticketing. ```APIDOC ## POST /air/book/session/reservationworkbench/buildfromlocator ### Description Initiate a post-commit workbench to create a session for ticketing or updating an existing reservation. This is a prerequisite step for any transaction that modifies, updates, or tickets any PNR. ### Method POST ### Endpoint /air/book/session/reservationworkbench/buildfromlocator ### Query Parameters - **Locator** (string) - Required - The booking locator code used to retrieve a Reservation. Example: "ABC123" - **source** (string) - Optional - Specifies a unique identifier to indicate the source system which generated the resId. - **detailViewInd** (boolean) - Optional - If true, ReservationDetail will be returned. - **viewBrandCompleteInfoInd** (boolean) - Optional - If true, Brand complete information will be returned in Reservation Response. - **viewBaggageDetailInd** (boolean) - Optional - If true, full baggage information will be returned in Reservation Response. ### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated. Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID. Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate. Example: "gzip, deflate" ### Request Example { "Locator": "ABC123", "source": "ExampleSource", "detailViewInd": true, "viewBrandCompleteInfoInd": false, "viewBaggageDetailInd": true } ### Response #### Success Response (200) - **ReservationDetail** (object) - Details of the reservation. - **BrandCompleteInfo** (object) - Complete brand information. - **ReservationResponse** (object) - Response related to the reservation. #### Response Example { "ReservationDetail": {}, "BrandCompleteInfo": {}, "ReservationResponse": {} } ``` -------------------------------- ### Get Tickets By Locator API (Deprecated POST Method) Source: https://developer.travelport.com/apis/flights/deprecated This endpoint retrieves ticket information using a locator. It is a deprecated endpoint that incorrectly uses the POST method for a GET operation. ```APIDOC ## GET /air/ticket/tickets/getbylocator (Deprecated POST Method) ### Description Retrieves ticket information based on a locator. This endpoint is deprecated and uses a GET method where a POST might be expected for data retrieval based on parameters. ### Method GET ### Endpoint /air/ticket/tickets/getbylocator ### Parameters #### Query Parameters - **locator** (string) - Required - The locator to search for tickets. ``` -------------------------------- ### GET /air/ticket/tickets/getbylocator Source: https://developer.travelport.com/apis/flights.md Retrieves tickets by locator. This endpoint is deprecated. ```APIDOC ## GET /air/ticket/tickets/getbylocator ### Description Retrieve tickets by locator. This endpoint is deprecated. ### Method GET ### Endpoint /air/ticket/tickets/getbylocator ``` -------------------------------- ### POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlist Source: https://developer.travelport.com/apis/flights/deprecated/buildfromofferlist Creates and offers by referencing the OfferList Identifier, which is returned in the Price response. ```APIDOC ## POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlist ### Description Creates and offers by referencing the OfferList Identifier which is returned in the Price response. ### Method POST ### Endpoint /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlist ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The Reservation Identifier Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" #### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate Example: "gzip, deflate" ``` -------------------------------- ### POST /air/book/session/reservationworkbench/buildfromidentifier/{Identifier} Source: https://developer.travelport.com/apis/flights/deprecated/createreservationworkbenchfromidentifier Initiates a post-commit workbench for an existing reservation. ```APIDOC ## POST /air/book/session/reservationworkbench/buildfromidentifier/{Identifier} ### Description Initiate a post-commit workbench to create a session for ticketing or updating an existing reservation. This is a prerequisite step for any transaction that modifies, updates, or tickets any PNR. ### Method POST ### Endpoint /air/book/session/reservationworkbench/buildfromidentifier/{Identifier} ### Parameters #### Path Parameters - **Identifier** (string) - Required - The Reservation Identifier or the Record Locator you would like to view and/or update Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" #### Query Parameters - **detailViewInd** (boolean) - Optional - If true, ReservationDetail will be returned. - **viewBrandCompleteInfoInd** (boolean) - Optional - If true, Brand complete information will be returned in Reservation Response - **viewBaggageDetailInd** (boolean) - Optional - if true, full baggage information will be returned in Reservation Response - **identifierType** (string) - Optional - The type of identifier key used to retrieve the reservation Enum: "Reservation", "Locator", "SupplierLocator", "DocumentNumber" - **documentType** (string) - Optional - When document is selected in IdentifierType, use documentType to identify the type of document Enum: "EMD", "MCO", "Ticket", "TASF", "Invoice" #### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate Example: "gzip, deflate" ### Request Example (No request body example provided in the source text) ### Response #### Success Response (200) (No success response fields provided in the source text) #### Response Example (No response example provided in the source text) ``` -------------------------------- ### GET /air/emds/getbylocator Source: https://developer.travelport.com/apis/flights Retrieves EMDs by locator. This endpoint is currently not implemented. ```APIDOC ## GET /air/emds/getbylocator ### Description Retrieves Electronic Miscellaneous Documents (EMDs) by locator. This endpoint is currently not implemented. ### Method GET ### Endpoint /air/emds/getbylocator ### Parameters #### Query Parameters - **locator** (string) - Required - The locator for the EMD. ### Response #### Success Response (200) - **message** (string) - Indicates the endpoint is not implemented. #### Response Example ```json { "message": "This endpoint is not currently implemented." } ``` ``` -------------------------------- ### BuildFromCatalogProductOfferingsRequest - CatalogProductOfferingSelection Source: https://developer.travelport.com/apis/flights/pricing-and-fare-rules/offerbuildfromcatalogproductofferings Details on how to select catalog product offerings for reservation. ```APIDOC ## BuildFromCatalogProductOfferingsRequest.CatalogProductOfferingSelection ### Description Used to select specific catalog product offerings for reservation. ### Parameters #### Request Body - **CatalogProductOfferingIdentifier** (object) - Required - Identifier for the catalog product offering. - **authority** (string) - Required - The supplier system that created the identifier. For Hotels, this indicates the supplier (e.g., TVPT, BKNG). Example: "TVPT" - **CatalogProductOfferingRef** (string) - Optional - Allows referencing another instance of this object in the same message. Example: "cpo_1" - **ProductBrandOfferingIdentifier** (object) - Optional - A globally unique identifier key for referencing options or retrieving information. - **ProductIdentifier** (array, required) - Identifies the product. - **id** (string) - Local identifier within a given message for this object. Example: "product_1" - **productRef** (string) - Used to reference another instance of this object in the same payload. Example: "product_1" - **Identifier** (object) - Used to reference offers in subsequent requests. - **value** (string) - Unique offer identifier. For form of payment, starts with 'FOP'. For offers, starts with 'O'. For Hotel Create Reservation, use value from CatalogOffering/id or SearchComplete/lowestPublicAvailableRate/rateKey/value. Example: "A0656EFF-FAF4-456F-B061-0161008D7C4E" - **authority** (string) - Name of the supplier system that created this identifier. For Hotels, indicates supplier (TVPT or BKNG). Example: "TVPT" - **SegmentSequence** (array) - Sequence of segments for the offer. Example: [1,2] ### Request Example ```json { "CatalogProductOfferingIdentifier": { "authority": "TVPT" }, "ProductIdentifier": [ { "id": "product_1", "productRef": "product_1", "Identifier": { "value": "A0656EFF-FAF4-456F-B061-0161008D7C4E", "authority": "TVPT" } } ], "SegmentSequence": [1, 2] } ``` ### Response #### Success Response (200) - **Confirmation** (object) - Details of the confirmed reservation. - **ReservationDetails** (object) - Information about the created reservation. ``` -------------------------------- ### GET /air/book/reservation/reservations/{Identifier} Source: https://developer.travelport.com/apis/flights/retrieve-bookings-and-tickets/retrievereservation Retrieves details about a held booking or PNR. ```APIDOC ## GET /air/book/reservation/reservations/{Identifier} ### Description Retrieve details about a held booking, or PNR. While a PNR refers to a held booking that has not been ticketed, the PNR code persists after ticketing to provide the booking records. Once a PNR has been ticketed, you can still use PNR Retrieve to return both booking and ticketing details. A Ticket Display request can also be used to retrieve any ticketed itinerary. ### Method GET ### Endpoint /air/book/reservation/reservations/{Identifier} ### Parameters #### Path Parameters - **Identifier** (string, required) - The Reservation Identifier or Record Locator for the Reservation you wish to retrieve. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" #### Query Parameters - **authority** (string) - The authorising entity creating the identifier. Example: "TVPT" - **detailViewInd** (boolean) - If true, ReservationDetail will be returned. - **viewBrandCompleteInfoInd** (boolean) - If true, Brand complete information will be returned in Reservation Response - **viewBaggageDetailInd** (boolean) - if true, full baggage information will be returned in Reservation Response - **identifierType** (string) - The type of identifier key used to retrieve the reservation. Enum: "Reservation", "Locator", "SupplierLocator", "DocumentNumber" - **documentType** (string) - When document is selected in IdentifierType, use documentType to identify the type of document. Enum: "EMD", "MCO", "Ticket", "TASF", "Invoice" - **includeFlightAmenitiesInd** (boolean) - If true, flight amenities will be included in the response - **retrieveNonGDSSourceReservationInd** (boolean) - if true, reservation information will be retrieved directly from the source supplier #### Header Parameters - **TraceId** (string) - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Identifies the Travelport access group with which the caller is associated. Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - travelportPlusSessionIdentifier used to maintain an established agency session. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Allows user to pass PCC instead of Access Group ID. Example: "DU7_1G" - **Accept-Encoding** (string, required) - Comma-separated list of acceptable encodings like gzip and/or deflate. Example: "gzip, deflate" ``` -------------------------------- ### GET /air/book/session/reservationworkbench/{Identifier} Source: https://developer.travelport.com/apis/flights/workbench-actions/retrievereservationworkbench Retrieves the reservation workbench details for a given identifier. ```APIDOC ## GET /air/book/session/reservationworkbench/{Identifier} ### Description At any point in the booking session, you can retrieve the workbench. The response returns all details added to the workbench at that point. ### Method GET ### Endpoint /air/book/session/reservationworkbench/{Identifier} ### Parameters #### Path Parameters - **Identifier** (string) - Required - The Reservation Workbench Identifier of the Reservation Workbench you are actively working on Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" #### Query Parameters - **detailViewInd** (boolean) - Optional - If true, ReservationDetail will be returned. - **viewBrandCompleteInfoInd** (boolean) - Optional - If true, Brand complete information will be returned in Reservation Response - **viewBaggageDetailInd** (boolean) - Optional - if true, full baggage information will be returned in Reservation Response #### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate Example: "gzip, deflate" ### Request Example (No request body is expected for this GET request) ### Response #### Success Response (200) (Response details are not provided in the source text) #### Response Example (No response example is provided in the source text) ``` -------------------------------- ### POST /air/book/session/reservationworkbench/buildfromlocator Source: https://developer.travelport.com/apis/flights/workbench-actions Initiates a post-commit workbench to create a session for ticketing or updating an existing reservation. This is a prerequisite step for any transaction that modifies, updates, or tickets any PNR. ```APIDOC ## POST /air/book/session/reservationworkbench/buildfromlocator ### Description Initiate a post-commit workbench to create a session for ticketing or updating an existing reservation. This is a prerequisite step for any transaction that modifies, updates, or tickets any PNR. ### Method POST ### Endpoint /air/book/session/reservationworkbench/buildfromlocator ### Request Body (No specific request body fields are detailed in the provided text) ### Response (No specific response fields are detailed in the provided text) ``` -------------------------------- ### GET /documents/documentlist/{identifier} Source: https://developer.travelport.com/apis/flights/retrieve-bookings-and-tickets/documenthistorylist Retrieves a document list for a given reservation identifier. ```APIDOC ## GET /documents/documentlist/{identifier} ### Description Retrieves a document list for a given reservation identifier. ### Method GET ### Endpoint /documents/documentlist/{identifier} ### Parameters #### Path Parameters - **identifier** (string) - Required - The Reservation Identifier or Record Locator for the Reservation you wish to retrieve. Example: "ABC123" #### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated. Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID. Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate. Example: "gzip, deflate" ``` -------------------------------- ### POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/create Source: https://developer.travelport.com/apis/flights/gds-exchanges Creates a manual offer for refunds (coming soon). ```APIDOC ## POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/create ### Description Coming soon. Manual refunds. ### Method POST ### Endpoint /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/create ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The identifier for the reservation workbench. ``` -------------------------------- ### GET /air/book/customrule/customrules Source: https://developer.travelport.com/apis/flights/custom-booking-rules.md Retrieves a list of all custom booking rules set up for your PCC. ```APIDOC ## GET /air/book/customrule/customrules ### Description Retrieves a list of all custom booking rules set up for your PCC. ### Method GET ### Endpoint /air/book/customrule/customrules ### Parameters ### Request Example (No request body for GET requests) ### Response #### Success Response (200) - **rules** (array) - A list of custom rule objects. #### Response Example { "rules": [ { "ReservationWorkbench_Identifier": "123e4567-e89b-12d3-a456-426614174000", "name": "Example Rule", "description": "This is an example custom rule." } ] } ``` -------------------------------- ### POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogproductofferings Source: https://developer.travelport.com/apis/flights/booking Adds an offer to the reservation workbench using a reference payload. Supports NDC and GDS. ```APIDOC ## POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogproductofferings ### Description Use the Add Offer reference payload request to add an offer to the reservation workbench as part of the booking workflow. The reference payload request sends identifiers from the Search response instead of full itinerary details. NDC supports only the reference payload. For GDS, you can send either a reference payload or a full payload. ### Method POST ### Endpoint /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogproductofferings ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The identifier for the reservation workbench. #### Request Body - **offerReference** (object) - Required - Contains identifiers from the Search response. - **type** (string) - Required - Type of the offer reference. - **value** (string) - Required - Value of the offer reference. ### Response #### Success Response (200) - **offerId** (string) - The unique identifier for the added offer. - **reservationStatus** (string) - The current status of the reservation. ``` -------------------------------- ### GET /air/ticket/tickets/{Identifier} Source: https://developer.travelport.com/apis/flights/retrieve-bookings-and-tickets/getticket Retrieves a specific GDS ticket using its unique identifier. ```APIDOC ## GET /air/ticket/tickets/{Identifier} ### Description Retrieves a specific GDS ticket using its unique identifier. This endpoint is for GDS tickets only; use the Ticket Retrieve API for NDC tickets. ### Method GET ### Endpoint /air/ticket/tickets/{Identifier} ### Parameters #### Path Parameters - **Identifier** (string) - Required - The ticket number you wish to retrieve. Example: "1259900123456" #### Query Parameters - **detailViewInd** (boolean) - Optional - If true, TicketDetail will be returned. #### Header Parameters - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated. Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID. Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate. Example: "gzip, deflate" ### Response #### Success Response (200) - **TicketDetail** (object) - Returned if `detailViewInd` is true. #### Error Response - **Error** (object) - Details about the error if the request fails. ``` -------------------------------- ### POST /air/book/reservation/reservations/build Source: https://developer.travelport.com/apis/flights/booking Creates a booking by committing a single payload with all booking details. Does not support optional steps like seat or ancillary additions. ```APIDOC ## POST /air/book/reservation/reservations/build ### Description As an alternative to the booking workflow that takes place in a workbench session, you can send all booking details and commit a single payload to create a booking. The single payload book request does not support any of the optional steps in the booking workflow, such as adding seats or ancillaries. ### Method POST ### Endpoint /air/book/reservation/reservations/build ### Parameters #### Request Body - **bookingDetails** (object) - Required - Contains all details for the booking. - **passengers** (array) - Required - List of passengers. - **flights** (array) - Required - List of flight details. - **payment** (object) - Required - Payment information. ### Response #### Success Response (200) - **reservationId** (string) - The unique identifier for the created reservation. - **bookingStatus** (string) - The status of the booking. ``` -------------------------------- ### POST /air/book/session/reservationworkbench Source: https://developer.travelport.com/apis/flights/workbench-actions Initiates a workbench for a new reservation. This is a prerequisite step for booking, creating the workbench session where all booking details are added before committing to create a PNR. ```APIDOC ## POST /air/book/session/reservationworkbench ### Description Use this request to initiate a workbench for a new reservation. This prerequisite step for booking creates the workbench session in which all booking details are added together to create a PNR at commit. ### Method POST ### Endpoint /air/book/session/reservationworkbench ### Request Body (No specific request body fields are detailed in the provided text) ### Response (No specific response fields are detailed in the provided text) ``` -------------------------------- ### Ticket Receipts List API Source: https://developer.travelport.com/apis/flights/retrieve-bookings-and-tickets.md Get a list of ticket receipts for a given reservation. ```APIDOC ## GET /air/receipt/reservations/{ReservationResource_Identifier}/receipts ### Description Get a list of ticket receipts associated with a reservation. ### Method GET ### Endpoint /air/receipt/reservations/{ReservationResource_Identifier}/receipts ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The identifier of the reservation. ### Response #### Success Response (200) - **receipts** (array) - A list of ticket receipt objects. #### Response Example ```json { "receipts": [ { "receiptId": "R123", "issueDate": "2023-10-27" } ] } ``` ``` -------------------------------- ### CatalogOfferingsAirChangeRequest.BuildFromReservationWorkbench Source: https://developer.travelport.com/apis/flights/gds-exchanges/createexchangesearch Parameters for building an air change request from a reservation workbench. ```APIDOC ## POST /api/flights/catalog/offerings/air/change ### Description This endpoint allows for building an air change request from a reservation workbench, referencing specific catalog offerings. ### Method POST ### Endpoint /api/flights/catalog/offerings/air/change ### Parameters #### Request Body - **ProductIdentifier** (object) - Required - Identifies the product for the air change request. - **Identifier** (object) - Required - Contains the unique value and authority of the offer. - **value** (string) - Required - Unique offer identifier. Can start with 'FOP' for form of payment or 'O' for OfferIdentifier. For Hotel Create Reservation, use CatalogOffering/id or SearchComplete/rateKey/value. Offers expire after 30 minutes. Example: "A0656EFF-FAF4-456F-B061-0161008D7C4E" - **authority** (string) - Required - Supplier system that created the identifier. For Hotels, can be 'TVPT' (Travelport) or 'BKNG' (booking.com). Not returned if property is closed or errors occur. Example: "TVPT" - **SegmentSequenceList** (array) - Optional - Specifies the segment sequence within the product for the action. Used when multiple flights exist within a product. Only one product may be selected. - **TravelerRefs** (array) - Optional - A list of traveler references. Example: ["traveler_1"] ``` -------------------------------- ### GET /air/receipt/reservations/{ReservationResource_Identifier}/receipts Source: https://developer.travelport.com/apis/flights/retrieve-bookings-and-tickets/getreceipts Fetches a list of ticket receipts for a specific reservation. ```APIDOC ## GET /air/receipt/reservations/{ReservationResource_Identifier}/receipts ### Description Get a list of ticket receipts for a reservation. ### Method GET ### Endpoint /air/receipt/reservations/{ReservationResource_Identifier}/receipts ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The Reservation Identifier #### Query Parameters - **ReceiptType** (string) - Optional - The type of receipt you wish to view. Enum: "Cancellation", "Payment", "ConfirmationHold", "ConfirmationTicket", "ConfirmationVehicle" #### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. Example: "TraceID_123456789" - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated. Example: "19Y88702-C27A-4E5D-829A-89D7016688B1" - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session. Example: "49f58f5f-c443-43b4-9f5d-be405fd00a01" - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID. Example: "DU7_1G" - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate. Example: "gzip, deflate" ### Security bearerAuth ### Version 11.33.0 ``` -------------------------------- ### GET /air/book/customrule/customrules Source: https://developer.travelport.com/apis/flights/custom-booking-rules/getcustomrules.md Fetches custom rules based on provided query and header parameters. ```APIDOC ## GET /air/book/customrule/customrules ### Description Retrieves a list of custom rules or details for specific rules. ### Method GET ### Endpoint /air/book/customrule/customrules ### Query Parameters - **PCC** (string) - Required - The owning pcc of the custom rules - **RuleRecordName** (array) - Optional - The name of the rule record for a detail view of the rule. For multiple rules send space delimited list of strings ### Header Parameters - **travelportPlusSessionIdentifier** (string) - Required - travelportPlusSessionIdentifier used to maintain an established agency session - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate ### Request Example ```json { "PCC": "0XS4", "RuleRecordName": ["CORPCODE"] } ``` ### Response #### Success Response (200) - **rules** (array) - List of custom rules matching the criteria. - **ruleName** (string) - The name of the rule. - **ruleId** (string) - The unique identifier of the rule. - **description** (string) - A description of the rule. - **conditions** (object) - The conditions that trigger the rule. - **actions** (object) - The actions to be taken when the rule is triggered. #### Response Example ```json { "rules": [ { "ruleName": "CORPCODE", "ruleId": "rule_123", "description": "Corporate code validation", "conditions": { "field": "booking.corporateCode", "operator": "equals", "value": "XYZ" }, "actions": { "type": "block", "message": "Invalid corporate code" } } ] } ``` ``` -------------------------------- ### POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromproducts Source: https://developer.travelport.com/apis/flights/booking Adds an offer to the reservation workbench using a full payload with itinerary details. Supported for GDS only. ```APIDOC ## POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromproducts ### Description Use the Add Offer full payload request to add an offer to the reservation workbench as part of the booking workflow. The full payload request sends full itinerary details instead of identifiers from the Search response as in the reference payload request. Full payload is not supported for NDC; use the reference payload instead. For GDS, you can send either a reference payload or a full payload. ### Method POST ### Endpoint /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromproducts ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The identifier for the reservation workbench. #### Request Body - **offerDetails** (object) - Required - Contains full itinerary details for the offer. - **origin** (string) - Required - Departure location. - **destination** (string) - Required - Arrival location. - **departureDate** (string) - Required - Date of departure. - **passengers** (array) - Required - List of passengers. ### Response #### Success Response (200) - **offerId** (string) - The unique identifier for the added offer. - **reservationStatus** (string) - The current status of the reservation. ``` -------------------------------- ### POST /air/book/offer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings Source: https://developer.travelport.com/apis/flights/gds-exchanges Adds an offer to the reservation workbench using identifiers from the Exchange Search response. ```APIDOC ## POST /air/book/offer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings ### Description Use the Add Offer reference payload request to add an offer to the reservation workbench as part of the booking workflow. The reference payload request sends identifiers from the Exchange Search response instead of full itinerary details. ### Method POST ### Endpoint /air/book/offer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The identifier for the reservation workbench. ``` -------------------------------- ### Get Additional Pages for Exchange Search Source: https://developer.travelport.com/apis/flights.md Retrieves additional pages of results for the exchange search. ```APIDOC ## GET /exchangesearch/catalogofferingsairchange/{identifier} ### Description Retrieves the next page of exchange search results. ### Method GET ### Endpoint /exchangesearch/catalogofferingsairchange/{identifier} ### Parameters #### Path Parameters - **identifier** (string) - Required - Identifier for the exchange search results page. ### Request Body (Details not provided in source text) ### Response (Details not provided in source text) ``` -------------------------------- ### GET /exchangesearch/catalogofferingsairchange/{identifier} Source: https://developer.travelport.com/apis/flights/gds-exchanges Retrieves additional pages of exchange search results using an identifier. ```APIDOC ## GET /exchangesearch/catalogofferingsairchange/{identifier} ### Description Get additional pages of exchange search results. ### Method GET ### Endpoint /exchangesearch/catalogofferingsairchange/{identifier} ### Parameters #### Path Parameters - **identifier** (string) - Required - The identifier for pagination. ``` -------------------------------- ### POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings Source: https://developer.travelport.com/apis/flights/deprecated/workbenchbuildfromcatalogofferings Adds an offer to the reservation workbench as part of the booking workflow. Supports reference payload for NDC and either reference or full payload for GDS. ```APIDOC ## POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings ### Description Use the Add Offer reference payload request to add an offer to the reservation workbench as part of the booking workflow. The reference payload request sends identifiers from the Search response instead of full itinerary details. NDC supports only the reference payload. For GDS, you can send either a reference payload or a full payload. ### Method POST ### Endpoint /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromcatalogofferings ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The Reservation Identifier #### Header Parameters - **TraceId** (string) - Optional - Identifier used to correlate Air API invocations across a multi-call business flows. - **XAUTH_TRAVELPORT_ACCESSGROUP** (string) - Optional - Identifies the Travelport access group with which the caller is associated - **travelportPlusSessionIdentifier** (string) - Optional - travelportPlusSessionIdentifier used to maintain an established agency session - **TVP-PCC-Core** (string) - Optional - Allows user to pass PCC instead of Access Group ID - **Accept-Encoding** (string) - Required - Comma-separated list of acceptable encodings like gzip and/or deflate ### Request Example ```json { "example": "request body" } ``` ### Response #### Success Response (200) - **field1** (type) - Description #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### GET /eligibility/ticketchangeeligibilities Source: https://developer.travelport.com/apis/flights/gds-exchanges Checks ticket eligibility for exchanges or refunds and provides information on potential fees. ```APIDOC ## GET /eligibility/ticketchangeeligibilities ### Description The Eligibility API is the first step in the GDS exchange workflow. It returns information about whether a ticket may have value in an exchange or refund scenario, and the range of potential exchange and refund fees. This information relates only to fees and not any fare or tax difference for the itinerary. ### Method GET ### Endpoint /eligibility/ticketchangeeligibilities ``` -------------------------------- ### Create Offer from OfferList (Not Implemented - Deprecated) Source: https://developer.travelport.com/apis/flights/deprecated Creates an offer by referencing the OfferList Identifier returned in the Price response. This endpoint is not implemented and is deprecated. ```APIDOC ## POST /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlist ### Description Creates an offer by referencing the OfferList Identifier which is returned in the Price response. ### Method POST ### Endpoint /air/book/airoffer/reservationworkbench/{ReservationResource_Identifier}/offers/buildfromofferlist ### Parameters #### Path Parameters - **ReservationResource_Identifier** (string) - Required - The identifier of the reservation workbench. ### Request Body (Schema not provided in source) ### Response #### Success Response (200) (Schema not provided in source) #### Error Response (Schema not provided in source) ```