V2
User's Guide

Interface: PoweredPNR


Introduction

The Powered PNR interface has been designed and implemented to facilitate thecreation, manipulation, retrieval andcancellation of passenger name records and Miscellaneous Documents (MD) in the Amadeus System.

The PNR operations have been categorized into the following functions:

AddFrequentFlyer

This function provides the possibility to add a Frequent Flyer card.

AddMultiElements

Main operations that create and modify elements within a PNR.

AddRedemption

This function provides the possibility to request a redemption by adding an SSR FQTR element in a PNR.

Cancel

Operations that will cancel elements of a PNR.

ChangeElement

This function allows user to accomplish modification on PNR elements. It is based on the cryptic element change function and it follows the same behavior.

CreateTSM
DeleteTSM
DisplayHistory

This function is used to retrieve the history of a PNR which contains creation and modification information.

DisplayTSM
ListTSM
NameUpdate

This function provides the possibility to update a passenger name name or change a passenger name..

ReduceNIP

This function provides the possibility to reduce the numberof passenger contained in a group PNR.

Retrieve

This function retrieves a PNR and/or its contents.

RetrieveByOARloc

The transaction Retrieve active PNRs by OA record locator enables agents to retrieve the PNRs by the record locator that the customer has as a reference from its booking originator.

There is an OA record locator present in a PNR: the true originator (original booking source)record locator stored in the responsible line. It corresponds to the PNR created originally in another system ie. GDS or external airline system. This record locator is retrievable using the Function Retrieve by OA Record Locator.

Split

This function divides a PNR with 2 or more passengers into two different records.

TransferOwnership

The TransferOwnership function is used to change the office of responsibility of a PNR.

UpdateTSM

This function is used to update data of a particular TSM.

UpgradeRedemption

This function provides the possibility to request a class upgrade, by adding an SSR FQTU in a PNR.

Considerations

The PNR

For each reservation made, the Amadeus host system assigns a unique six character codecalled a record locator and identifies this record as a Passenger Name Record (PNR).

PNR Elements

A PNR contains all the details pertaining to a passenger's trip reservation consistingof system mandatory and optional segment and data elements.The following is a breakdown of these elements:

Mandatory Elements*Description
Name ElementName of the passenger
Phone ElementTelephone number or contact information for the passenger
Ticketing ElementAn indication of the arrangements for issuing a ticket for the reservation
Itinerary Segment Element (Air, Car, Hotel, Auxiliary, ARNK.)A reservation for a flight or other service
Form of Payment ElementAn indication of how the reservation is to be paid for
Received From ElementAn indication of the agent responsible for the reservation or modifications to a reservation

* At least one of each is required.

Optional Data Elements
Additional Itinerary Segment Elements
Accounting Information Elements
Billing Address Elements
Mailing Address Elements
Commission Elements
Fare & Pricing Elements
Flight Seat Elements
Frequent Flyer Elements
Manual Segment information Elements
Manual Ticketing Elements
Memo Segment Elements
Other Service Information Elements
Queuing Elements
Remark Elements
Security Elements
Special Service Request Elements
Validating Carrier Elements

The system mandatory elements must be created prior to storing thereservation in the system, but may be modified(within the guidelines of the particular element) at any time after thereservation is made.The optional data elements may be added, ormodified (within the guidelines of the particular element) at anytime.

In the Reply sample above, the field elements of/originDestinationDetails/itineraryInfo could all be repetitive, whereeach level ([1]) could be repeated and would bereturned in the reply structure.

Note: the further down in the reply, the additional sub indexed itemsunder the /originDestinationDetails/itineraryInfo levelone ([1]) could additionallybe repeated as is done in a few instances in the reply given here.

TSM Manipulation

A Miscellaneous Document) (MD) is a document used to collect charges associated to a passenger for any kind of services except standard air transportation. The Transitional Stored Miscellaneous Document (TSM) is the pricing record of the MD, it stores its data.

The 3 different types of Miscellaneous Documents are:

The TSM is accessible for all MD types, except type F for US market and BA.

In addition a fourth flavour of TSM has been designed to handle charges related to optional services (represented as SSR elements in a PNR). The corresponding type is type P and is not linked to any MD. TSM type P can however be associated to multiple passengers and multiple SSR elements.

Operation Structures

When navigating through the operation structures of this document,please notice that in certain instances the full structure is notseen due to the fact that some field elements are repetitive.The repetitive field elements are identifiedby "[N]" after the field identifier ([N] being the indexed number):

PoweredPNR_PNRReply - Data elementValue
/pnrHeader/reservationInfo/reservation/companyId1A
/pnrHeader/reservationInfo/reservation/controlNumber3KEW7C
/pnrHeader/reservationInfo/reservation/date220108
/pnrHeader/reservationInfo/reservation/time1221
/securityInformation/responsibilityInformation/typeOfPnrElementRP
/securityInformation/responsibilityInformation/agentIdAASU
/securityInformation/responsibilityInformation/officeIdNCE1A0950
/securityInformation/responsibilityInformation/iataCode12345675
/securityInformation/queueingInformation/queueingOfficeIdNCE1A0950
/securityInformation/cityCodeNCE
/securityInformation/secondRpInformation/creationOfficeIdNCE1A0950
/securityInformation/secondRpInformation/agentSignature0001AA
/securityInformation/secondRpInformation/creationDate220108
/ securityInformation/secondRpInformation/creatorIataCode12345675
/ securityInformation/secondRpInformation/creationTime1221
/freetextData/freetextDetail/subjectQualifier3
/freetextData/freetextDetail/typeP12
/freetextData/longFreetext--- RLR ---
/sbrPOSDetails/sbrUserIdentificationOwn/originIdentification/originatorId12345675
/sbrPOSDetails/sbrUserIdentificationOwn/originIdentification/inHouseIdentification1NCE1A0950
/sbrPOSDetails/sbrUserIdentificationOwn/originatorTypeCodeA
/sbrPOSDetails/sbrSystemDetails/deliveringSystem/companyId1A
/sbrPOSDetails/sbrSystemDetails/deliveringSystem/locationIdNCE
/sbrPOSDetails/sbrPreferences/userPreferences/codedCountryFR
/sbrCreationPosDetails/sbrUserIdentificationOwn/originIdentification/originatorId12345675
/sbrCreationPosDetails/sbrUserIdentificationOwn/originIdentification/inHouseIdentification1NCE1A0950
/sbrCreationPosDetails/sbrUserIdentificationOwn/originatorTypeCodeA
/sbrCreationPosDetails/sbrSystemDetails/deliveringSystem/companyId1A
/sbrCreationPosDetails/sbrSystemDetails/deliveringSystem/locationIdNCE
/sbrCreationPosDetails/sbrPreferences/userPreferences/codedCountryFR
/sbrUpdatorPosDetails/sbrUserIdentificationOwn/originIdentification/originatorId12345675
/sbrUpdatorPosDetails/sbrUserIdentificationOwn/originIdentification/inHouseIdentification1NCE1A0950
/sbrUpdatorPosDetails/sbrUserIdentificationOwn/originatorTypeCodeA
/sbrUpdatorPosDetails/sbrSystemDetails/deliveringSystem/companyId1A
/sbrUpdatorPosDetails/sbrSystemDetails/deliveringSystem/locationIdNCE
/sbrUpdatorPosDetails/sbrPreferences/userPreferences/codedCountryFR
/technicalData/enveloppeNumberData/sequenceDetails/number1
/technicalData/lastTransmittedEnveloppeNumber/currentRecord0
/technicalData/purgeDateData/year2008
/technicalData/purgeDateData/month03
/technicalData/purgeDateData/day21
/travellerInfo/elementManagementPassenger/reference/qualifierPT
/travellerInfo/elementManagementPassenger/reference/number1
/travellerInfo/elementManagementPassenger/segmentNameNM
/travellerInfo/elementManagementPassenger/lineNumber1
/travellerInfo/travellerInformation/traveller/surnameCHILDS
/travellerInfo/travellerInformation/traveller/quantity1
/travellerInfo/travellerInformation/passenger/firstNameLISA
/originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/reference/ qualifierST
/originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/reference/ number2
/originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/ segmentNameCCR
/originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/ lineNumber3
/originDestinationDetails/itineraryInfo[1]/travelProduct/product/depDate110308
/originDestinationDetails/itineraryInfo[1]/travelProduct/product/arrDate170308
/originDestinationDetails/itineraryInfo[1]/travelProduct/boardpointDetail/ cityCodeORY
/originDestinationDetails/itineraryInfo[1]/travelProduct/companyDetail/ identificationZI
/originDestinationDetails/itineraryInfo[1]/travelProduct/productDetails/ identificationECMN
/originDestinationDetails/itineraryInfo[1]/itineraryMessageAction/business/ function2
/originDestinationDetails/itineraryInfo[1]/relatedProduct/quantity01
/originDestinationDetails/itineraryInfo[1]/relatedProduct/statusHK
/originDestinationDetails/itineraryInfo[1]/selectionDetails/selection/optionP10
/originDestinationDetails/itineraryInfo[1]/generalOption[1]/optionDetail/typeBS
/originDestinationDetails/itineraryInfo[1]/generalOption[1]/optionDetail/freetext00000000
/originDestinationDetails/itineraryInfo[1]/generalOption[2]/optionDetail/typeARR
/originDestinationDetails/itineraryInfo[1]/generalOption[2]/optionDetail/freetext0900
/originDestinationDetails/itineraryInfo[1]/generalOption[3]/optionDetail/typeRC
/originDestinationDetails/itineraryInfo[1]/generalOption[3]/optionDetail/freetextBEST
/originDestinationDetails/itineraryInfo[1]/generalOption[4]/optionDetail/typeRT
/originDestinationDetails/itineraryInfo[1]/generalOption[4]/optionDetail/freetext0900

Limitations

The number of elements that can be displayed in a PNR display has been increased to 999(From Proxy release 2.1.23.1 December 2003)

It is strongly recommended to use the enumerated types providedinstead of hard coded numerical values in your code.

Regarding TSM manipulation, this interface only deals with operations corresponding to the cryptic entries IMC, TQM and TMI.

Unsupported Functions

Not applicable

Prerequisites

The Miscellaneous Document Table must be set to support the MD type for the market/airline.





Function: AddFrequentFlyer


Overview

The Add Frequent Flyer function is used to add a Frequent Flyer card in a PNR. It has two functions corresponding to the FFN and FFA entries:

Frequent Flyer SSR FQTV Creation (FFN)

This function is used to create one or several SSR FQTV elements associated to a name element that is already in the PNR.

The SSR FQTV element indicates that the passenger will be accruing miles under that card number for the segment being flown.

For airlines which store their frequent flyer database within the Amadeus system the frequent flyer number is validated against the card owning airline's database and the name with which it is associated is used to match the name already entered into the PNR. If the airline does not store the frequent flyer database within Amadeus system, the frequent flyer number is stored in the PNR without validation.

Multiple SSR elements can be created in one single transaction by specifying a list of target airlines.

For airlines which are users of the AF group Customer Application, the card number validation is performed in the Customer Application. The Customer Application may respond to the user with a FD element which will be added to the PNR.

This function allows creating an SSR FQTV that is validated against the Frequent Flyer database. It also checks the correspondence between the name in the PNR and the owner of the card. This function can also add in the PNR the name of the owner of the card.

Frequent Flyer Name and SSR FQTV Creation (FFA)

This function is for airlines that have a Frequent Flyer database in Amadeus. It is used to create passenger name and SSR FQTV elements in the PNR.

The SSR FQTV element indicates that the passenger will be accruing miles under that card number for the segment being flown.

The frequent flyer number is validated against the card owning airline's database and the name with which it is associated is used to build a PNR name element.

Multiple SSR elements can be created in one single transaction by specifying a list of target airlines.

For airlines which are users of the AF group Customer Application, the card number validation is performed in the Customer Application. The Customer Application may respond to the user with a FD element which will be added to the PNR.

Special for Air France

With some Air France Frequent Flyer cards, the message can create FD (Fare Discount) elements instead of SSR FQTV. FD elements are distinguished from SSR FQTV in the Reply if the Frequent Traveler Verification contains the category PAX.

Supported Operations

Not applicable.

Limitations

There can be only one Frequent Flyer card per request.

The exact frequent flyer number must be provided in an SSR FQTV creation. Any other characters, such as blanks, must be avoided.

For instance, SSR FQTV entry with the Frequent flyer number 2220 12956097 213 will be rejected,although an SSR FQTV entry with the Frequent flyer number 22201296097213will succesfully create the associated SSR FQTV.

Unsupported Operations

Not applicable.

Prerequisites

Frequent Flyer SSR FQTV creation (FFN)

A PNR must be retrieved:

If the user works on an existing PNR that has already been end-transacted, the PNR has to be previously retrieved. This can be done via the structured service Retrieve .

If he works on a new PNR, at least one name element has been added to the PNR. This can be done via the structured service AddMultiElements

The context must be kept between the different transactions.

Frequent Flyer Name and SSR FQTV creation (FFA)

This transaction may be used as first transaction to create a PNR or may be used on a non end-transacted PNR.

Building A Query

Input parameters

Only the input parameters containing the frequent traveler information are mandatory.

Input parameters involved in the Frequent Traveler Verification

Input parameters involved in the Reservation Control Information:

Input parameters involved in the Traveler Information

Receiving A Reply

Remark: This transaction does not save the PNR. The update will become effective after a Commit transaction. Therefore a context must be kept between the different transactions.

Error Reply Structure

A generic reply can contain

Note: this is only a generic reply. In reality, all these fields can not be present atthe same time.

In case of error, see the "Error Message" section.


Double Click To Show XML

ZEWOYI MARTINEZDEMATA JOSE 1 O EMERALD IB AF 00300004 HK 6132 ZZZ 1A INVALID - NO AGREEMENTS BETWEEN IB AND AF

Error Messages

Generic Edifact error

The reply contains only the error information and the error message.

MessageCodeDescription
INVALID EDIFACT FORMAT3973Some fields are missing, or does not respect the predefined size or contain invalid characters.

Generic errors

In these cases, the reply contains the record locator if given in the request,the error information and the error message.

MessageCodeDescription
PNR NOT PRESENT1383There is no retrieved PNR
NO MATCH FOR RECORD LOCATOR1931The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS11Technical error. Contact help desk.
IGNORE AND RE-ENTER55Technical error. Contact help desk.

Errors linked to the Frequent Flyer Add process

In these cases, the reply contains the record locator if given in the request,the Frequent Traveler Verification given in the request, the error information and the error message.

MessageCodeDescription
SINGLE PASSENGER ASSOCIATION ALLOWED35The card can be associated to only one passenger
NO MATCH FOR NAME39The name in the PNR does not match the name of the card
INVALID ACCOUNT NUMBER313The frequent flyer card does not exist
INVALID FREQ FLYER AIRLINE535The frequent flyer owner airline or the target airline is not valid
NEED NAME1436There is no name in the PNR (this error is only for FFN entries)
PASSENGER AND/OR SEGMENT DATA NOT VALID1949The passenger association is not valid
NO FREQUENT FLYER CARD2415The frequent flyer card does not exist
NO FREQUENT FLYER CARD - REENTER AS FOID2416The frequent flyer card does not exist
NEED PASSENGER ASSOCIATION3500The passenger association must be specified if there are several names in the PNR
FARE ELEMENT ALREADY EXISTS FOR PASSENGER/SEGMENT3671FD element already exists in the PNR (only for Air France)
INVALID PASSENGER ASSOCIATION4725The passenger association of the FD is incorrect
INVALID - NO AGREEMENTS BETWEEN6132No agreements between the frequent flyer card owner and the target airline
NO DATABASE FOR AIRLINE6182The frequent flyer card owner airline does not maintain a frequent flyer database.
LINK DOWN - RETRY IN 2 MINUTES2162The link is down with the frequent flyer database
Warning MessageCodeDescription
WARNING:APU NOT PROCESSED - CSX NOT AVAILABLE11938The Automatic PNR Update has failed because the profile database link is down
AUTOMATIC PNR UPDATE PERFORMED12939The Automatic PNR Update has been done


Operation: Add a Frequent Flyer Name and SSR FQTV (FFA)

There may be a PNR in creation, or this can be the first transaction to create a PNR.

The example shows the message required to add a frequent flyer name and SSR FQTV specified by the following data:

Card Owner AirlineCard Number
IB00300004

Query Structure


Double Click To Show XML

P IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTV on retrieved PNR (FFN)

There must be a retrieved PNR, with record locator XXXXXX.

The example shows the message required to add an SSR FQTV specified by the following data:

Card Owner AirlineCard Number
IB00300004

Query Structure


Double Click To Show XML

XXXXXX O IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTV with passenger association on retrieved PNR (FFN)

There must be a retrieved PNR, with record locator XXXXXX.

The example shows the message required to add an SSR FQTV specified by the following data:

Card Owner AirlineCard Number
IB00300004

The associated passenger is specified by the following data:

Card Owner AirlineCard NumberPassenger reference number
SURNAMEGIVENNAME MR3

Query Structure


Double Click To Show XML

XXXXXX SURNAME GIVENNAME MR 3 O IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTV with target airlines on retrieved PNR (FFN)

There must be a retrieved PNR, with record locator XXXXXX.

The example shows the message required to add an SSR FQTV specified by the following data:

Card Owner AirlineCard Number
IB00300004

The SSR FQTV is created for the airlines specified in the message: IB, BA

Query Structure


Double Click To Show XML

XXXXXX O IB IB 00300004 O IB BA 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.






Function: AddMultiElements


Overview

The AddMultiElements function allows a user to make an entire reservation in the Amadeus system with one transaction, bearing in mind that the full itinerary details mustbe known at the time of the function usage.This function combines allows many different elements to be combined into one transaction, thus it is more efficient by reducing the number of transactions required from the client application.

The power behind such a function makes the process of making a reservation as simple as 1, 2, 3:

  1. The client application gathers traveler profile information for the mandatory andoptional reservation elements: Passenger names, phone contact numbers, frequenttraveler numbers, accounting information, and special service requests.
  2. Open Conversation
    • The client application provides air and auxiliary availability information and stores the traveler's selected itinerary.
    • The AddMultiElements function is utilized to build one transaction including all of the information obtained.It is sent to the Amadeus system and a reservation control number is returned.
  3. Close Conversation

Supported Operations

The following operations are supported within this function:

Adding Names

This function may be used to add the following types of traveler names:

Utilized for general travelers.

Utilized for children under the age of 2 years.

Utilized for children between the ages of 2-14years.

Utilized to incorporate a group of travelers.

Utilized to identify a corporation.

Utilized to reserve extra space for excess cabin baggage.

Utilized to reserve an extra seat in the cabin for a traveler.

Adding Itinerary Elements

When all of the mandatory the details of the itinerary element required for booking are known, this function may be used to add the following types of itinerary elements:

Air Segments

Non Automated Segments

Hotel Segments

Adding Miscellaneous Data Elements

This function may be used to add the following miscellaneous PNR data elements:

Utilized to send additional information to an agency back office accounting system.

Utilized to store comments in the PNR that can only be viewed by selected agencies specified.

Mandatory PNR element containing telephone contact information.

Utilized to customize information contained on documents such as itineraries or invoices.

Utilized to automatically price travel itinerary at a discounted rate without the need to specify the fare discount in a pricing request.

Utilized to identify any restrictions, rules or airline comments that may apply to a ticket.

Utilized to override the fare, tax, and total information printed on a document.

Utilized to identify the specific amount for agency commission on the tickets issued.

Utilized to store the form of payment to be taken into account when issuing the ticket.

Utilized to store applicable frequent flyer numbers for travelers.

Utilized to store general remarks in a passenger record.

Utilized to send special service request information, such as a special meal, to applicable airlines.

Utilized to specify special security rules regarding the retrieval of traveler PNRs.

Utilized to store ticket numbers for tickets not issued via the system.

Element containing (structured) mailing information

Utilized to store record data for accounting purposes with association to record the ticketing image.

Utilized when a new ticket is issued in exchange for a coupon, a voucher or another airline ticket.

Utilized to send other special information, such as child indicators, to applicable airlines.

Utilized to place a newly created or retrieved PNR to on a specified queue within a specified office ID for a specified date.

Mandatory PNR element containing information identifying the agent responsible for creating or modifying the reservation.

Utilized to define different destination offices for the accounting interface records from a back office accounting system.

Utilized to store traveler billing address information.

Utilized to store traveler mailing address information.

Used to contain special information about a booking or passenger that can be used by an airline for service or marketing purposes.

Mandatory PNR Element identifying information regarding the issuance of the ticket, such as a ticketing time limit, or date for ticket issuance.

Utilized to store a tour code when a published tour or special negotiated fare is sold in conjunction with a ticket.

Limitations

Stand-alone entry (Special Service Request)

Once an SSR (Special Service Request) OTHS ZZ is entered in a PNR it can no longer be update: an error message is displayed by the system at the entry input time.In addition it is also not possible to add SSR OTHS ZZ in a already modified PNR.

Error message:

RESTRICTED: COMBINATION NOT ALLOW WITH SSR OTHS ZZ

Other Service Information (OSI)

If no company ID is provided, an element without company ID is temporarily created and then removed at EOT time because no airline code of the segments in the itinerary obviously matches the two blank characters.

Unsupported Operations

The following operations are currently unsupported within this function:

Note: the structures for such operations may already be in place within the message in anticipation of the functionality, but currently will notfunction until the Amadeus System Enhancements are completed.

Prerequisites

Air, Hotel, Non-Automated Auxiliary segments

All mandatory element information must be known for segment reservations prior to using this function. Selling from previous availability responses is not allowed with this function, as it is not cross-referenced with any availability processes.

Amadeus system element limitations

This function will forward all requests to the Amadeus system regardless of the content. As this function allows for numerous operations to be combined the security and limitations of each Amadeus system element requested within this operation is verified at the time of processing in the Amadeus system. Therefore, functional errors may be returned to the user at processing time on the Amadeus system.

Building A Query

The queries for the operations are clearly explained with data element examples in a generic table view.

It is important to note that the examples given are only illustrations and are meant to provide the basis for a better understanding on which fields are mandatory for basic operation utilization. It is not a full explanation of every field that can be utilized for the operation, but rather a guideline to its use.

Note: The Fare Discount element cannot process multiple discounts. If you wish to enter multiple discounts for a passenger, you should enter several FD elements and associate them to the same passenger.

Receiving A Reply

For each query sent, the Reply message structure will be returned with the appropriate PNR information requested or applicable errors.

Please refer to the Reply for detailed message information.

As each query receives only the Reply message structure, any errors that are returned to the query will be found in the appropriate section of the Reply .

Error Reply Structure

Names Elements

When creating a name item within this function the following information should be noted:

General

A passenger name is mandatory for the creation of a passenger name record (PNR). A minimum of 1 passenger name must be entered prior to storing (ending) the record.

A maximum of 99 names may be added in a passenger name record.

The passengers surname is limited to 30 characters.

The passengers first name is limited to 30 characters.

A title for the passenger is not mandatory.

Passenger Type Codes

A passenger type code is not mandatory. If a passenger type code is not included, it is automatically defaulted to ADT for Adult.

A maximum of one passenger type code may be specified, except in the condition of an ID code where a passenger type code and an ID code may both be specified in conjunction.

Group Names

A maximum of one group name may exist in the passenger name record. A group name may contain a maximum of 99 individual passengers

Itinerary Elements

Using the Function Message Structure

The following should be noted when using the AddMultiElements function for reserving an itinerary element:

AIR / Flight Reservations

The type of element being added is an AIR segment and therefore the elementManagementItinerary Segment Name is set to AIR.

General

A maximum of 99 itinerary element reservations may be requested. The reservation requests are manual requests and therefore are processed via the standard Amadeus system processing. i.e., direct access bookings are not possible.

Miscellaneous Date Elements

Using the Function Message Structure

The following should be noted when using the AddMultiElements function for reserving a miscellaneous data element:

Accounting Information

The accounting information is identified with a segment name of AI. Each optional element for the accounting information is of free flow text.

Contact Information

The contact information is identified with a segment name of AP and consists of freeflow text. Each type of contact is qualified with a free form text detail type number in the message structure in conjunction with a free form indicator following the actual contact number. The common indicators for different contact numbers that are entered at the end of the contact number and their applicable detail types are as follows:

Type of contactFree form indicator to include after the numberFree Form Text Detail Type
Passenger Business NumberB3
Passenger Home NumberH4
Unknown TypeBlank5
Agency Contact NumberAGCY6
Fax NumberFAXP01
E-mail ContactEmailP02
Internet ContactURLP03


Fare Discount Element

The fare discount information is identified with a segment name of FD and consists of a type of discount identifying code and any additional information the applicable discount requires.

The following standard fare discounts are applicable in the Amadeus system:

Type of DiscountCodeRequirements:
AgentAD--
Senior CitizenCDPercentage Discount
Tour ConductorCGPercentage Discount
ChildCHDate of Birth/Age in Yrs
ClergyCLPercentage Discount
Adult with CompanionCN--
CompanionCPPercentage Discount
Seriously Disabled PsgrDB--
Government OfficialsDGPercentage Discount
LaborDL--
TeacherDTPercentage Discount
EmigrantEMPercentage Discount
GroupGCPercentage Discount
School GroupGP--
Group - Inclusive TourGV--
Air Industry EmployeeIDPercentage Discount/Status Code
InfantINDate of Birth/Age in Yrs
Individual Inclusive TourIT--
MilitaryMMPercentage Discount
FamilyPD--
Family - Head of familyPH--
General Sales AgentRGPercentage Discount
Regular PassenterRPPercentage Discount
SeamanSCPercentage Discount or Country Code
StudentSDDate of Birth/Age in Yrs
Special EventSE--
SpouseSH--
Spouse - AccompanySTPercentage Discount
StandbyUU--
Youth - Student Certificate RequiredZSDate of Birth/Age in Yrs
YouthZZDate of Birth/Age in Yrs

Note: Certain fare discounts require specific parameters to be included in the request for proper processing, such as; age, birth date, certificate numbers, etc.

The Fare Discount element cannot process multiple discounts. If you wish to enter multiple discounts for a passenger, you should enter several FD elements and associate them to the same passenger.

Frequent Flyer Information

The frequent flyer information is deemed as a type of special services request, and therefore will utilize the special services request (/dataElementsMaster /dataElementsIndiv /serviceRequest (SSR)) structure in this function. The segment name will be requested as an SSR will be have an associated type of FQTV, indicating frequent traveler information.

Being that this is stored as an SSR item, the applicable airline information for the surrounding SSR structure will need to be propagated in the structure to indicate which airlines should receive the transmitted frequent traveler information. Failure to complete the SSR required structure information would result in an error message for the request.

Note:Some airlines may reject these manual SSR FQTV. These elements are not validated against Amadeus Frequent Flyer database

General Remark Information

In addition, the RM and RI remark types may contain an additional sub category indicator for system sorting. i.e., all sub categories of similar type will be grouped together. The Category indicator is not applicable for RC and RQ remark Types.

Following types of remarks may be requested:

Remark TypeCode
Miscellaneous RemarkRM
Confidential RemarkRC
Invoice RemarkRI
Quality Control RemarkRQ


Mailing & Billing Address Information

The mailing and billing address information is optional information used for the itinerary and invoice documents.

Two forms of the mailing and billing address information exist:

Type DefinitionSegment Name Code
Structured Billing----AB
Structured Mailing----AM
UnStructured Billing----ABU
UnStructured Mailing----ABU

----The billing and mailing address information is structured in a specific manner to identify each element of the address. This format is typically used in conjunction with a back office accounting system.

----The billing and mailing address information is created with a free format, allowing maximum flexibility for the address structure.

When creating a structured mailing or billing address, the type of address being entered is mandatory. The following types are applicable for structured addresses:

Type of AddressType Code
Billing Address2
General Mailing AddressP08
Miscellaneous AddressP19
Home Mailing AddressP24
Delivery Mailing AddressP25


Received From Information

The received from element is mandatory for a passenger name record to be stored. The information is free flow text and is qualified with an information type of P22 under the segment name of RF.

Ticketing Information

The ticketing information elements are identified with the segment name of TK with an associated sub type of ticketing information. The following types of ticketing information elements may be requested:

Ticketing TypeCode
Ticketing time limitTL
Domestic Ticket TypeDO
International Ticket TypeIN
Ticket issued, No Queue Placement requiredOK
Automatic cancel DateXL
Tickets to be MailedMA
Tickets to be issued at the airport officeAT
Revalidated TicketTR

Amadeus System Functional Aspects

Accounting Information

Accounting information may be stored in the Amadeus Record. This information will be transmitted to the applicable back office accounting system. The accounting information may contain the following optional elements:

The accounting elements may be passenger and segment associated. A maximum of 1 accounting information element may be requested for per passenger per segment.

Contact Information

A PNR must contain at least one contact element prior to storage. A maximum of 127 contact elements may be requested. Each contact element is of free form text and therefore the content is not verified by the Amadeus System.

Fare Discount

The fare discount information stored in a passenger record is verified and applied at the time of a pricing request. Up to 3-fare discount codes per passenger may be stored in the Amadeus system record.

Note: The Fare Discount element cannot process multiple discounts. If you wish to enter multiple discounts for a passenger, you should enter several FD elements and associate them to the same passenger.

Frequent Flyer Information

The frequent flyer information is transmitted to the applicable airlines at the time the record is stored. As this information is a unique identifier for an individual passenger, it must be passenger associated in the case of a multiple passenger record.

Mailing and Billing Address Information - Structured

A structured mailing or billing address must contain at least 1 address line. Therefore, the A1 option is mandatory in this function. Each element of the structured mailing or billing address is identified with a specific code. The following coded structured address elements may be stored in the passenger record:

CodeOptionMax Number of characters
CYCOMPANY NAME30
NANAME30
A1ADDRESS LINE 150
A2ADDRESS LINE 250
POPOST OFFICE BOX8
ZPPOSTAL/ZIP CODE20
CICITY30
STSTATE25
COCOUNTRY25


Mailing and Billing Address Information - UnStructured

The billing and address information for unstructured format is of free form text. A maximum of 126 characters may be stored. The information is printed on Amadeus generated itinerary and invoice documentation inline formats. The start of each new line of information may be indicated by a comma (,) in the freeform text information for printing purposes.

The maximum number of character per line on an Amadeus generated document is 27. Therefore, a maximum of 27 characters should be adhered to between commas to avoid any truncation by the Amadeus system when generating documentation.

The following illustrates a free form text with new line indicators for printing purposes:

Free Form Text EnteredPrinted Format on Amadeus Generated Documents
Mr. John Smith, 124 south Hampton, Atlanta GA 30039Mr. John Smith
124 south Hampton
Atlanta GA 30039


Received From Information

The received from information is a mandatory element for a passenger name record. This element is of free form text and is used to identify who has created or updated the passenger name record or who has given the instruction / authorization for the creation or update to the passenger name record. A maximum of one received from information element may exist in the record.

Ticketing Information

The ticketing information is a mandatory element prior to record storage. This information details the ticketing arrangements with the date of when the ticket will be issued. A maximum of one ticketing information element may exist in the record.


Double Click To Show XML

Error Messages



Operation: Accounting Information

The example below illustrates a request to add an accounting element with the following information:

ParameterInformation
Account NumberDEC001029
Cost Center NumberDV123
Company ID NumberDEC038FR
Client Reference NumberLOFKFD122

Query Structure


Double Click To Show XML

0 1 OT AI DEC038FR DV123 DEC001029 1 PT

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Confidential Remark

The example below illustrates a request for a confidential remark.

Query Structure


Double Click To Show XML

0 13 OT RC CONFIDENTIAL REMARK FREE TEXT RC

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Connection Flight

The following example below illustrates a request to reserve connection flight:

ParameterInformation
AirlineAir France (AF)
Flight Number (1)7715
Date120702
City PairNCE/LON
Flight Number (2)0005
Date120702
City PairNCE/CDG
Class of serviceY
Number of seats to reserve1

Query Structure


Double Click To Show XML

0 1 PR NM BARBARA 1 WILSON LON NCE 1 SR AIR NCE AF CDG 120702 Y 7715 1 1 NN 2 SR AIR CDG AF LHR 120702 Y 1270 1 1 NN

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Contact Information

The example below illustrates the request for an agency contact element with the following information:

ParameterInformation
Phone Number04.92.94.70.00
Agency contact indicatorAGCY

Query Structure


Double Click To Show XML

0 1 OT AP 3 6 04.92.94.70.00 - AGCY

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Creating an OSI with Mandatory Airline Code

This example shows how to create an OSI including mandatory airline code LH:

Query Structure


Double Click To Show XML

11 OS LH 3 P27 LH FB00S7 B744 UMLAUF71343

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: E-mail

The example below illustrates the request for an EMAIL contact elementwith the following information:

ParameterInformation
E-mail ContactLchildrens@Amadeus.net
Agency contact indicator- EMAIL

Query Structure


Double Click To Show XML

0 AP 3 P02 LCHILDRENS@AMADEUS.NET

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Extra Seat

The example below illustrates a simple name request for an extra seat with the following information:

ParameterInformation
Traveler SurnameCHIKKLES
Traveler First nameJOHN
Extra Seat QualifierE

Query Structure


Double Click To Show XML

0 1 PR NM JOHN E 1 CHIKKLES

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Fare Discount for a child

The example below illustrates a request to store a fare discount element for child with 10% dicount.

Query Structure


Double Click To Show XML

0 1 OT FD CH 10

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Fare Discount for a child with a birth date

The example below illustrates a request to store a fare discount element for child with 10% dicount and birth date 01FEB03.

Query Structure


Double Click To Show XML

0 1 OT FD CH 010203

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Fare Discount for senior citizen

The example below illustrates a request to store a fare discount element senior citizen with 10% discount.

Query Structure


Double Click To Show XML

0 1 OT FD PAX CD 10

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Fax Number

The example below illustrates the request for a fax contact element with the following information:

ParameterInformation
Fax Number04.92.93.44.99
Agency contact indicator- FAX

Query Structure


Double Click To Show XML

0 16 OT AP
A1 04.92.93.44.99
P01

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Form of Payment

Used to specify the form of payment for a ticket.

Query Structure


Double Click To Show XML

0 FP MS 1 TYUES

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Frequent Flyer Numbers

The example below illustrates a request for a frequent flyer number with the following information

ParameterInformation
FQTV AirlineQF
Membership NumberQF1117622
Passenger AssociationPassenger element number 1

Query Structure


Double Click To Show XML

0 1 PT SSR QF P01 FQTV QF QF1117622 1 PT

Reply Structure


Double Click To Show XML

Possible Errors

Using the YY as company id results in an error "UNABLE TO PROCESS", you must enter a valid airline code.


Operation: General Remarks

The example below illustrates a request for a general miscellaneous remark.

Query Structure


Double Click To Show XML

0 1 OT RM accounting remark RM

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Group Name

The example below illustrates a group name with 2 travelers containing the following information:

ParameterInformation
Group NameMARTIEN GROUP
Traveler1 SurnameCHILDS
Traveler1 First nameLISA
Traveler2 SurnameCHIKKLES
Traveler2 First nameROBERT

Note: the /elementManagementPassenger /reference /qualifier and the /elementManagementPassenger /reference /number are not set for the group name, but rather only for the individual names entered beneath the group name title.

Query Structure


Double Click To Show XML

0 NG G 10 MARTIEN GROUP 1 PR NM LISA 1 CHILDS 2 PR NM ROBERT 1 CHIKKLES

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Infant With First And Last Name And Date of Birth

The infant has to be associated to another passenger, and is attached to the same /travellerInfo /passengerData /travellerInformation element field quantity = 2.

Query Structure


Double Click To Show XML

0 2 PR NM A MRS 3 ADT 2 SMITH JIMMY INF BROWN 10JAN08

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Infant With First Name Only

The infant has to be associated to another passenger, and is attached to the same /travellerInfo /passengerData /travellerInformation element,field quantity = 2.

Query Structure


Double Click To Show XML

0 2 PR NM A MRS 2 ADT JIMMY INF 2 SMITH

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Infant With No Information

The infant has to be associated to another passenger, andis attached to the same /travellerInfo /passengerData /travellerInformation element,field quantity = 2

Query Structure


Double Click To Show XML

0 2 PR NM A MRS 1 ADT 2 SMITH

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Name With ID Code

The example below illustrates a simple name request with thefollowing information:

ParameterInformation
Traveler SurnameCHIPIE
Traveler First nameROBERT
Passenger ID CodeID12344

Note: Two identification codes are supported they are 'ID' andor 'CR'. The ID codes are individually assigned and can form part of aclient's department name and or even a description, however it has to remain unique to a passenger. The CR code can form part of a name element and can reference when a PNR has been created from a Cruise Application via a specific message.

Query Structure


Double Click To Show XML

0 1 PR NM MATHIEU ID1234 1 DUPONT

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Name With Passenger Type Code

The example below illustrates a simple name request with the following information:

ParameterInformation
Traveler SurnameCHIPIE
Traveler First nameWILLIAM
Passenger TypeCHILD (CHD)

Query Structure


Double Click To Show XML

0 1 PR NM MATHIEU CHD 1 DUPONT 20MAR00

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Original exchange document

This operation describes the addition of an FO element in the PNR.

Query Structure


Double Click To Show XML

0 9 OT FO E 220 2000000112 2 FRA 200508 23491193

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Query with Connection Flight

This query demonstrates a sole passenger traveling from Nice to London with a connection flight at Charles de Gaule airport in Paris.

The example below illustrates a request with the following combination of information:

ParameterInformation
Passenger Name:--
Passenger 1Traveler, SMITH
Itinerary Elements:--
Outward journey:Nice to London, connection at CDG
Flight 1AF7715, NCE to CDG, 12 JUL 02, Y class
Flight 2AF1270, CDG to LHR, 12 JUL 02, Y class
----
Inward journey:London to Nice, connection at CDG
Flight 3AF2071, LHR to CDG, 20 JUL 02, Y class
Flight 4AF7710, CDG to NCE, 20 JUL 02, Y class

Note: it is important to note that each of the flight segment values must be entered independently

Query Structure


Double Click To Show XML

0 1 PR NM WILLIAM 1 SMITH LON NCE 1 SR AIR NCE AF CDG 120702 Y 7715 1 1 NN 2 SR AIR CDG AF LHR 120702 Y 1270 1 1 NN NCE LON 3 SR AIR LHR AF CDG 200702 Y 2071 1 1 NN 4 SR AIR CDG AF NCE 200702 Y 7710 1 1 NN

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Received From Information

The example below illustrates a received from information element:

Query Structure


Double Click To Show XML

0 RF 3 P22 internet/MADI128ZZ

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Seat Request

This example shows a seat request for a non-smoking aisle seat (NSSA).

Query Structure


Double Click To Show XML

0 STR NSSA 1 PT 1 ST

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Service Fee

This example shows an example of a service fee paid using Master Card.

Query Structure


Double Click To Show XML

0 1 OT FP 5499840000000006 30 CA EUR 1205 CC SV

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Simple Name

The example below illustrates a simple name request with the following information:

ParameterInformation
Traveler SurnameCHIKKLES
Traveler First nameBENJAMIN

Query Structure


Double Click To Show XML

0 1 PR NM MATHIEU 1 DUPONT

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Simple Return Flight

The benefit of using this powered interface is the ability to create a combination of many passenger elements with one function call.

The example below illustrates a request with the following combination of information:

ParameterInformation
Passenger Names:--
Passenger 1Traveler, William
Passenger 2Traveler, Benjamin
Contact elements:--
Home phone Contact04.93.33.34.98 - H
Fax Contact04.93.33.35.99 - FAX
Itinerary Elements:--
Flight 1AF7713, NCE to CDG, 12 JAN 03, Y class
Flight 2AF7700, CDG to NCE, 18 JAN 03, Y class
Frequent Flyer Information:--
AirlineAF
Number123338874
PassengerTraveler, William (reference element number 1)
Ticketing Information:--
Time limit ticket w/date10 JAN 03
Received from Information:--
Creation Agent IdLAH44

Query Structure


Double Click To Show XML

0 1 PR NM ROBERT 1 WILLIAMS 2 PR NM BENJAMIN 1 WILLIAMS CDG NCE 1 SR AIR NCE AF CDG 120103 Y 7713 1 2 NN NCE CDG 2 SR AIR CDG AF NCE 180103 Y 7700 1 2 NN 1 OT SSR AF P01 1 HK FQTV AF AF12234456 1 PR 2 OT RF 3 P22 LAH44 3 OT TK PAX 110103 TL 4 OT AP 3 3 04.93.33.34.98 - H 5 OT AP 3 P01 04.93.33.35.99 - FAX

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Single Flight

The following example below illustrates a request to reserve a flight with the following information:

ParameterInformation
AirlineAir France (AF)
Flight Number005
Date12/05/05
City PairEWR to CDG
Class of serviceJ
Number of seats to reserve1

Query Structure


Double Click To Show XML

0 1 SR AIR EWR AF CDG 120505 J 005 1 1 NN

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Special A.I.R remark

This example shows how to create aspecial A.I.R. remarks (RM*), note that the category isset to '*'.

Query Structure


Double Click To Show XML

0 RM * A.I.R or Accouting Remark RM

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Structured Mailing

The example below illustrates a structured mailing address element including the following optional address information:

TypeData
NameDave Johnson
Address Line 11234 so. Main street
Address Line 2Villa 9
CityAtlanta
StateGeorgia
Zip Code30039
CountryUSA

Note: a structured billing address will follow the same constraints asa mailing address. By simply changing the segment name code to AB, the below example will illustrate a structured billing address.

Query Structure


Double Click To Show XML

0 AM
A1 1234 so main street
P08 villa 9 Atlanta USA Dave Johnson Georgia 30039

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Ticketing Arrangement Element

The example below illustrates a request for a ticketing element with the following information:

ParameterInformation
Ticketing Type indicatorTicket Time Limit (TL)
Date of Ticketing12/12/01

Query Structure


Double Click To Show XML

0 1 OT TK PAX 121201 TL

Reply Structure


Double Click To Show XML

Possible Errors


Operation: UnStructured Mailing and Billing Addresses

The example below illustrates an unstructured mailing address element including free form address text information in the following desired printable format:


Dave Johnson
1234 so main street
Atlanta GA 30039
USA

Note: an unstructured billing address will follow the same constraints as a mailing address. By simply changing the segment name code to ABU, the below example will illustrate an unstructured billing address.

Query Structure


Double Click To Show XML

0 1 OT AMU 3 P08 Dave Johnson, 1234 so main street, Atlanta GA 30039, USA

Reply Structure


Double Click To Show XML

Possible Errors






Function: AddRedemption


Overview

The AddRedemption function is used to create one or several SSR FQTR. The SSR FQTR elementindicates that the passenger will be redeeming miles which were accrued under that card numberfor the segments to be flown.

For airlines which store their frequent flyer database within the Amadeus Global Core systemthe frequent flyer number is validated against the card owning airline's database but there isno validation of the name since a card holder may redeem his points in favor of someone else.If the airline does not store the frequent flyer database within Amadeus Global Core system,the SSR FQTR is stored in the PNR without validation.

For airlines which are users of the AF group Customer Application, the card number validationis performed in the Customer Application. The Customer Application may respond to the user withan FD element which will be added to the PNR.

For airlines which are users of interactive validation application,the validation of theredemption is performed in the Loyalty System of the airline asking for this interactive validation(it can be target airline or card owner airline or the both). In this case, the SSR FQTR is storedin the PNR only if it is approved by the interactive validation: if an error is returned by Loyaltysystem of the airline concerned by interactive validation, the SSR FQTR is not added in the PNR.

Supported Operations

Not applicable.

Limitations

Not applicable.

Unsupported Operations

Not applicable.

Prerequisites

A PNR must be present in the AAA:
If the user works on an existing PNR that has already been end-transacted, the PNR has tobe previously retrieved. This can be done via the verb PoweredPNRRetrieve.

If he works on a new PNR, name elements and segments must be present in the PNR. Thiscan be done via the verb PoweredPNRAddMultiElements.

The context must be kept between the different transactions.

Building A Query

Input parameters:

Only the input parameters containing the frequent traveler information are mandatory.

Input parameters involved in the Frequent Traveler Verification:

  • action request: see fqtvData in the codesets
  • airline code: Frequent Flyer Card owning airline
  • frequent flyer number
  • In the context of interactive validation, the certificate number:this field contains a number, delivered by card owner airline, which identifies the contentof upgrade request in card owner airline system. (passenger name, flights, dates..)

Input parameters involved in the Related Product Information

  • The status code that will be used for the SSR FQTR added

Input parameters involved in the Interactive Free Text

  • Free text: can contain a reason for the redemption

Input parameters involved in the Reservation Control Information

  • reservation control number: this field contains the Amadeus record locator

Input parameters involved in the Traveler Information

  • The passenger surname
  • The passenger given name
  • The traveler reference number: this field contains the tattoo number of the passengerthat will be associated to the SSR FQTV. It has been transmitted in a previous response message.

Input parameters involved in the Travel Product Information

  • The segment reference number: this field contains the tattoo number of the segment thatwill be associated to the SSR FQTR. It has been transmitted in a previous response message.

Receiving A Reply

If the process is successful

  • For airlines users of the AF group Customer Application:
    • One or several validated SSR FQTR elements are created.
    • And/Or an FD element is created.
    • And/Or Warning messages are displayed.
    • SSR FQTR elements, warnings, FD element are sent in the reply message.

  • For other airlines
    • One or several SSR FQTR elements are created. They may be validated or not.
    • SSR FQTR elements are sent in the reply message.


If the process is not successful: an error is sent in the reply message

Remark: This transaction does not save the PNR. The update will become effective after aCommit transaction. Therefore a context must be kept between the different transactions.

Error Reply Structure

A generic reply can contain

  • a record locator
  • a generic error containing:
    • An error code: the Amadeus canned message number corresponding to the error
    • An error category for either a Mutually defined warning (code WZZ) or a Mutually defined error (code ZZZ)
    • An error code owner (always 1A)

  • A generic error message
  • One or several Travel Product Information containing:
    • The segment reference

  • A Traveler Information containing:
    • The passenger surname
    • The passenger given name
    • The passenger reference

  • One Frequent Traveler Verification per SSR FQTR created containing:
    • The alliance tier description
    • The Frequent Flyer Card owning airline
    • The target airline
    • The Frequent Flyer number
    • The category: set to PAX if the element is an FD
    • The certificate number
    • The airline priority code or tier level
    • The award code

  • A Related Product Information containing:
    • The status code of the SSR / FD

  • A Free Text containing:
    • The reason for the redemption

  • A Frequent Flyer error containing:
    • An error code: the Amadeus canned message number corresponding to the error
    • An error category for either a Mutually defined warning (code WZZ) or a Mutually defined error (code ZZZ)
    • An error code owner (always 1A)

  • A Frequent Flyer error message

Note: this is only a generic reply. In reality, all these fields can not be present atthe same time.

In case of error, see the "Error Message" section.

Generic reply containing Passenger information:


Double Click To Show XML

Error Messages

Generic Edifact error

The reply contains only the error information and the error message.

Message Code Description
INVALID EDIFACT FORMAT 3973 Some fields are missing, or does not respect thepredefined size or contain invalid characters.

Generic errors

In these cases, the reply contains the record locator if given in the request,the error information and the error message.

Message Code Description
PNR NOT PRESENT1383There is no PNR present in AAA
NO MATCH FOR RECORD LOCATOR1931The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS11Technical error. Contact help desk.
IGNORE AND RE-ENTER55Technical error. Contact help desk.

Errors linked to the Frequent Flyer Add process

In these cases, the reply contains the record locator if given in the request,the Frequent Traveler Verification given in the request, the error information and the error message.

Message Code Description
SINGLE PASSENGER ASSOCIATION ALLOWED35The card can be associated to only one passenger
NO MATCH FOR NAME39The name in the PNR does not match the name of the card
INVALID ACCOUNT NUMBER313The frequent flyer card does not exist
INVALID FREQ FLYER AIRLINE535The frequent flyer owner airline or the target airline is not valid
NEED NAME1436There is no name in the PNR (this error is only for FFN entries)
PASSENGER AND/OR SEGMENT DATA NOT VALID1949The passenger association is not valid
NO FREQUENT FLYER CARD2415The frequent flyer card does not exist
NO FREQUENT FLYER CARD - REENTER AS FOID2416The frequent flyer card does not exist
NEED PASSENGER ASSOCIATION 3500The passenger association must be specified if there are several names in the PNR
FARE ELEMENT ALREADY EXISTS FOR PASSENGER/SEGMENT3671FD element already exists in the PNR (only for Air France)
INVALID PASSENGER ASSOCIATION4725The passenger association of the FD is incorrect
INVALID - NO AGREEMENTS BETWEEN6132No agreements between the frequent flyer card owner and the target airline
NO DATABASE FOR AIRLINE6182The frequent flyer card owner airline does not maintain a frequent flyer database in Amadeus
LINK DOWN - RETRY IN 2 MINUTES2162The link is down with the frequent flyer database

Errors linked to the Interactive validation process

In these cases, the reply contains the record locator, the errorinformation returned by the airline loyalty system (the airline which was asking for aninteractive validation) and the error message.

Note:

  • The messages below are just examples. The list is not an exhaustive list.
  • These error messages are returned by the loyalty system of the airline which is askingfor an interactive validation. Do not forget it could be target airline or card owner airline.

Errors linked to the Interactive validation process

In these cases, the reply contains the record locator, the errorinformation returned by the airline loyalty system (the airline which was asking for aninteractive validation) and the error message.

Note:

  • The messages below are just examples. The list is not an exhaustive list.
  • These error messages are returned by the loyalty system of the airline which is askingfor an interactive validation. Do not forget it could be target airline or card owner airline.

Message Code Description
MEMBER NUMBER NOT FOUND IN DATABASE21744The Frequent Flyer was not found in the system
INVALID CARRIER FOR FQTX21775The target airline is not authorized for redemption
CERTIFICATE NUMBER ALREADY USED21754The certificate number identifying this redemption was already used
INVALID CLASS FOR FQTX21778The redemption is not authorized on the class requested



Operation: Add an SSR FQTR

There must be a PNR retrieved with record locator XXXXXX or in creation in the AAA.

The example shows the message required to add an SSR FQTR specified by the following data:

Card Owner Airline Card Number
IB00300004

Query Structure


Double Click To Show XML

ZEWNS4 O IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTR with associations

There must be a PNR retrieved with record locator XXXXXX or in creation in the AAA.

The example shows the message required to add an SSR FQTR specified by the following dataand associations:

Card Owner Airline Card Number
IB00300004

Query Structure


Double Click To Show XML

ZEWNU7 1 MARTINEZDEMATA JOSE 1 O IB 00300004 2 MARTINEZDEMATA JOSE 1 O IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTR with certificate number for interactive validation

There must be a PNR retrieved with record locator XXXXXX or in creation in the AAA.

The example shows the message required to add an SSR FQTU specified by the following dataand associations, with a certificate number:

Card Owner Airline Card Number
SA100178

Query Structure


Double Click To Show XML

YXGKNK O SA 100178 12345

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Generic Reply

Query Structure


Double Click To Show XML

Reply Structure


Double Click To Show XML

ZEWNS4 0 MARTINEZDEMATA JORGE 1 O IB 00300004 HK

Possible Errors






Function: Cancel


Overview

The Cancel is used to cancel selected elements from a PNR. A PNR contains all the elements (details) pertaining to a passenger's trip and reservation.

PNR Overview
PT

Example elements for Passenger Tattoo:

  • Name element
  • Group element
ST

Example elements for Segment Tattoo:

  • Air Segment
  • Hotel element
  • Car element
  • Miscellaneous element ...
OT

Example elements for Other Element (non name, non segment) Tattoo:

  • Remark element
  • Special Service Request element
  • Other Service Request element ...

With the cancel function single and multiple elements are cancelled and moved to the PNR history. The cancel function is also used to cancel all active itinerary elements, except certain rail segments and all non-mandatory PNR elements. Itinerary flight segments that are marked as flown, or auxiliary segments that are marked as past, cannot be canceled from a PNR.

Multiple instances of the cancel structure to cancel different types and or same types are not allowed. For example to cancel a combination of name elements and itinerary elements or using two instances to cancel more than one of the same element type is not allowed. However, multiple instances of the same element type are supported in a single instance of the structure with multiple instances of the element i.e. multiple OT elements shouldbe identified under the same cancel structure as multiple instances the following are examples of a valid entries.

Query - Data elementValue
/pnrActions/ optionCode0
/cancelElements/ entryTypeE
/cancelElements/element [1]/ identifierOT
/cancelElements/element [1]/ number7
/cancelElements/element [2]/ identifierOT
/cancelElements/element [2]/ number12

Note:

Repetition factors

The cancelElements/entryType below are used to cancel elements. The structure is limited to a repetition of '1':

DXD type.
ECancel element type.
GName integration.
ICancel itinerary type.

For group PNRs, depending on the way your office profile is set up, the effect that thisl function has upon non-mandatory PNR elements is that it may cancel all elements with the exception of Air remark elements, however these can be removed separately. Alternatively, it may keep all remark elements.

A PNR must contain the following five elements:

  • Name element

A passenger name.

  • Itinerary element

A booking for a flight or other service.

  • Contact element

Telephone number or contact information for the person making the booking.

  • Ticketing element

A indication of the arrangements for issuing a ticket for the booking.

  • Received from element

The name of the person who has made the booking.

Each PNR that is created is assigned a six Character code called a Record Locator, which is the unique identifier for the PNR andcan be used to retrieve the PNR. For more information regarding other methods and the rules for retrieving a PNR, please refer to the Retrieve function in this document.

Supported Operations

Following is a list of examples showing some of the supported operations:

  • Single Data Element

This operation cancels a data element from a PNR to the PNR history.

  • Multiple Data Elements

Multiple data elements are canceled from the active PNR and placed in the PNR history.

  • Cancel Elements in Retrieved PNR

This operation cancels data elements from a retrieved PNR to the PNR history.

  • Cancel Elements and End Transaction

This operation permits the deletion of multiple data elements from an active PNR andends the transaction.

  • Cancel Elements and End Transaction (Automatic add of Receive From)

This operation permits the deletion of multiple data elements from an active PNR andfiles and closes the PNR with the end transaction action.Thereafter, automatically adding a received from element that identifies the person responsible for performing the modification the PNR.

  • Cancel the entire Itinerary

This operation removes the entire Itinerary from an active PNR to the PNR history.

  • Cancel the entire Itinerary and other Elements

This operation removes the whole Itinerary from an active PNR and other data elementsto the PNR history.

  • Cancel Itinerary and End Transaction

This operation removes an Itinerary and other data elements from an active PNR followed by an End of Transaction action that files and closes the PNR.

The action return line numbers and the end transaction action are automatically built into the reply feature of the cancel function.

Name Integration

A group name element in a PNR specifies the collective name and the number of members (a group of people) traveling together. The Name Integration operation reduces the space that has already been booked for agroup by canceling named or unnamed group members from the group element.

Future

  • Canceling seat elements
  • Override all End Transaction warnings
  • End transaction with retrieve

Exceptions to the supported functions

These features are special cases as they are supported however they are incorporated directly into the function action.

  • Outbound display not required
  • Ignore
  • Ignore and retrieve

The 'Received From' element is a mandatory element following a cancelled (modified) element, it is used to identify who has made the modification. This is automatically administered and you can not personalize this element with a user's identification. The option to personalize this element could be a future enhancement.

Limitations

Following is a list of some limitations using certain operations in the Cancel PNR element:

  • Billing element

Removes the element to the PNR history and renumbers the remaining elements

  • Confidential remark

Removes the element to the PNR history and renumbers the remaining elements

  • Contact element

Removes the element to the PNR history and renumbers the remaining elements

  • Fare elements

Removes the element to the PNR history and renumbers the remaining elements

  • General remarks

Removes the element to the PNR history and renumbers the remaining elements

  • Group name

The group name element can not be cancelled; however, you can reduce the group size.

  • Itinerary elements

When all the itinerary elements are cancelled, the segments will remain in the PNR until the end transaction. All Special Service Requests are then canceled from the PNR and any remaining Other Service Information elements will need to be cancelled before the end transaction. Itinerary flight segments that are marked as flown or auxiliary segments that are marked aspast can not be canceled or canceled from a PNR.

Important: any elements associated to the cancelled itinerary will also be cancelled simultaneously following this action.

Mailing address

Removes the element to the PNR history and renumbers the remaining elements

Name element

The name element can be canceled with no reverberation as long as the PNR has not beenSaved.Once a PNR has been save it can not exist without at least one name element, if anattempt is made to cancel the last remaining name element an error will be received.

Important: any elements associated to the cancelled name will also be cancelled simultaneouslyfollowing this action.

Option element

Removes the element to the PNR history and renumbers the remaining elements

Other Service Information

Removes the element to the PNR history and renumbers the remaining elements

Special Service Request

When added during the current session the cancelled element is removed and the remaining elementsare renumbered

Ticketing element

Removes the element to the PNR history and renumbers the remaining elements

Unsupported operations

  • End transaction and queue place
  • Cancel MCO sub-elements
  • Cancel segment but do not transmit to airline

Unsupported Operations

Not applicable

Prerequisites

Prior to using the function Cancel, it is necessary to have a PNR that has just been created and or a PNR that has just been retrieved.

This example is a query request to retrieve a PNR by Record Locator and is used throughout this chapter and is NOT part of the PNR cancel function. For more information about the function Retrieve, please refer to its user's guide.

Retrieve Query- Data elementValue
/retrievalFacts/retrieve/ type2

/retrievalFacts/reservationOrProfileIdentifier /

reservation/ controlNumber

YCH3G9

Building A Query

Applicable Codes Sets

The following code sets may be utilized when building a query with this function:

PNR Action Codes
0No special processing
10End Transaction
11End Transaction with retrieve
20Ignore
52Return line numbers
Types of Cancel Entries
ECancel Element
ICancel itinerary
GName Integration
Reference qualifier
OTOther element (non name, non segment) Tattoo reference number
PTPassenger Client-request-message-defined ref. Number
STSegment Tattoo reference number
DDominant segment in a marriage
NNon dominant segment in a marriage

Receiving A Reply

For each PNR query cancel presented, there is a corresponding reply structure returned. The following is an extract of a typical reply returned from a retrieved PNR, it shows some different elements and segments that are encountered.

Note: the reply structure has not been provided in each example case.

Error Reply Structure


Double Click To Show XML

Error Messages

The following errors can be returned while trying to use the cancel function.

No Match for Record Locator

This error message is returned when the control number (PNR record locator) entered can not be found, therefore ensure that the PNR being referenced is valid, refer to the function Retrieve for further methods of retrieving a PNR.

1931 - NO MATCH FOR RECORD LOCATOR

Invalid format

This error message is received if the identifier for the action is missing and the data element to be canceled is present. The solution is to return to the query and add the missing information.

0 - INVALID FORMAT/NOT ENTERED/>XE



Operation: 1 - PNR used as example

The sample PNR scenarios consist of the following elements:

  • Record locator (XXXXXX)
  • 3 passenger names
  • 2 flights
  • 1 phone
  • 1 ticket
  • 1 Service information

Query Structure


Double Click To Show XML

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Cancel element number 9

This query is a request to cancel element number 9, which happens to be a contact element from the sample PNR.

Outline of the query structure using smart names for deleting a single element. The control number is the PNR Record locator number, followed by theaction code 0 (Zero). The value 'E' in line 2 declares the type of cancel entry, hence to cancel an element. The 'OT' value signifies the type of element (other) and the last item line 4, indicates the reference number of the element to be cancelled.

As a result only 154 items are listed in the reply, indicating that for a cancellation to be successful, for each canceled element and or segment there will be a reduction in the reply dispensed, which is equal in number to the lines associated to the contact element canceled.

Listed are the items that have been removed from the original PNR.

Reply - Data elementValue
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/reference/ qualifierOT
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/reference/ number9
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/ segmentNameAP
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/ lineNumber8
/dataElementsMaster/dataElementsIndiv[1]/ otherDataFreetext/freetextDetail/ subjectQualifier3
/dataElementsMaster/dataElementsIndiv[1]/ otherDataFreetext/freetextDetail/ type5
/dataElementsMaster/dataElementsIndiv[1]/ otherDataFreetext/ longFreetextNCE 7654

Query Structure


Double Click To Show XML

X2684K 0 E OT 9

Reply Structure


Double Click To Show XML

Possible Errors

1895 - CHECK ELEMENT NUMBER

If no data elements are matching the element value entered in the query, the system will ask for you to check the value entered.


Operation: Cancel Elements in PNR

This query is a request to cancel two elements, this illustration signifies that the PNR is an active PNR and or is in current session.

This query is a request to cancel elements and to save the changes.

The reply returned is the same as the example Cancel Element ; the only difference being is the query uses a Record Locator to retrieve the PNR.

Query Structure


Double Click To Show XML

0 E OT 7

Reply Structure


Double Click To Show XML

Possible Errors

1935 - ELEMENT CONFLICT

If different element types are added in a single cancellation entry, such as Other data elements and Name elements then there is a possibility that an error indicating an element conflict is listed.


Operation: Cancel Elements, End Transaction

The Receive From element indicates who has made or updated a reservation. The element is mandatory after a creation or modification of a PNR and is recorded in the PNR history.

The PNR action code value 10 indicates that regardless of the operation on the PNR and End of transaction command will be automatically performed by the application.

Query Structure


Double Click To Show XML

10 E OT 9 OT 7

Reply Structure


Double Click To Show XML

Possible Errors

3350 - RESTRICTED/NAME ELEMENT PREVIOUSLY CANCELLED

If a name element had been cancelled in the current session. The next action must be a Received From action and an End of Transaction operation before proceeding. In other words you must perform two steps, cancel the name and save the CHANGES in the PNR and then your next operation.


Operation: Cancel Entire Itinerary

To recapitulate - an itinerary is a list of a passenger's travel arrangements. It can include flight information, hotel and car rental information, and any other miscellaneous information.

This query is a request to cancel the entire itinerary from the PNR and place the segments in the PNRs history. Evidently, the value used to cancel an itinerary is the letter 'I'.

Query Structure


Double Click To Show XML

0 I

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Cancel Itinerary

This query is a request to cancel an itinerary and to End the Transaction. To recapitulate - the End Transaction entry is the last mandatory entry for creating anew PNR or modifying a retrieved PNR.

The PNR optionCode value 10 signals that following the deletion of the itinerary the End of transaction command will be performed by the application.

This is the reply given after removal of the itinerary closely followed by the operation to End of transaction.

Reply - Data elementValue
/pnrHeader/ reservationInfo/ reservation/ companyId1A
/pnrHeader/ reservationInfo/ reservation/ controlNumberX2684K
/securityInformation/ responsibilityInformation/ typeOfPnrElementRP

Query Structure


Double Click To Show XML

10 I

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Cancel Name Element

This query is a request to cancel a name element, Passenger Tattoo

This illustration signifies that the PNR is an active PNR and or is in current session, hence as the record has not been stored, no Record Locator exists; however manipulation of the PNR can be performed. Important: A PNR must have at least one name element.

The following is an extract of the items that are removed from the returned reply, indicating the canceled passenger name.

Reply - Data elementValue
/travellerInfo[1]/ elementManagementPassenger/ reference/ qualifierPT
/travellerInfo[1]/ elementManagementPassenger/ reference/ number1
/travellerInfo[1]/ elementManagementPassenger/ segmentNameNM
/travellerInfo[1]/ elementManagementPassenger/ lineNumber1
/travellerInfo[1]/ travellerInformation/ traveller/ surnameWILLIAMS
/travellerInfo[1]/ travellerInformation/ traveller/ quantity1
/travellerInfo[1]/ travellerInformation/ passenger/ firstNameJOHN MR

Query Structure


Double Click To Show XML

0 E PT 1

Reply Structure


Double Click To Show XML

Possible Errors

1959 - NEED PNR

This error is produced when an entry has been made to cancel all the name elements in a PNR. Every PNR must contain at least one name element; hence you are not permitted to perform this action if no name elements are remaining in the PNR.


Operation: Name Integration for Group PNR

This query is a request to cancel a group name element. The group name element can be a maximum of 53 characters in length. The maximum group size is 99 passengers; the group name element can only be entered and modified during PNR creation.

Two name counters appear in the group name: Element to show the number of unnamed and named group members:Unassigned names counter shows how many group members have not yet been named. This decreases as individual name elements are entered. Individual name counter shows how many group members have been named using name element entries. The combination of named and unnamed counters is equal to the total number in the group.

Note: once you have entered the group name, you cannot change the number of passengers in the group name element.

This query is a request to cancel a group name element for one of the travelers.

Query Structure


Double Click To Show XML

0 G PT 5

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Remove particular data

The control number is the PNR Record locator number, followed by the action code 0 (Zero).The value 'E' in line 2 declares the type of cancel entry, hence to cancel an element. The 'OT' value signifies the type of element (other). This query is a request to cancel elements with the value 7 and 12, which are both Other elements.

The following is an extract of the data that should be removed from the original PNR depicting the items that have been removed following the cancellation action.

Reply - Data elementValue
/dataElementsMaster/ dataElementsIndiv[1] / elementManagementData/ reference/ qualifierOT
/dataElementsMaster/ dataElementsIndiv[1]/ elementManagementData/ reference/ number9
/dataElementsMaster/ dataElementsIndiv[1]/ elementManagementData/ segmentNameAP
/dataElementsMaster/ dataElementsIndiv[1]/ elementManagementData/ lineNumber8
/dataElementsMaster/ dataElementsIndiv[1]/ otherDataFreetext/ freetextDetail/ subjectQualifier3
/dataElementsMaster/ dataElementsIndiv[1]/ otherDataFreetext/ freetextDetail/ type5
/dataElementsMaster/ dataElementsIndiv[1]/ otherDataFreetext/ longFreetextNCE 7654
/dataElementsMaster/ dataElementsIndiv[2]/ elementManagementData/ reference/ qualifierOT
/dataElementsMaster/ dataElementsIndiv[2]/ elementManagementData/ reference/ number12
/dataElementsMaster/ dataElementsIndiv[2]/ elementManagementData/ segmentNameOS
/dataElementsMaster/ dataElementsIndiv[2]/ elementManagementData/ lineNumber9
/dataElementsMaster/ dataElementsIndiv[2]/ otherDataFreetext/ freetextDetail/ subjectQualifier3
/dataElementsMaster/ dataElementsIndiv[2]/ otherDataFreetext/ freetextDetail/ type28
/dataElementsMaster/ dataElementsIndiv[2]/ otherDataFreetext/ freetextDetail/ companyIdYY
/dataElementsMaster/ dataElementsIndiv[2]/ otherDataFreetext/ longFreetext1CHD
/dataElementsMaster/ dataElementsIndiv[2]/ referenceForDataElement/ reference/ qualifierPT
/dataElementsMaster/ dataElementsIndiv[2]/ referenceForDataElement/ reference/ number3

Query Structure


Double Click To Show XML

X2684K 0 E OT 7 OT 12

Reply Structure


Double Click To Show XML

Possible Errors

1939 - DUPLICATE ELEMENT

If the same data element number has been included more than Once in a cancellation entry, then the duplicate element error is produced.






Function: ChangeElement


Overview

This function provides the element change feature corresponding with the Central System one.

In order to use this interface correctly, user should already be familiar with the Amadeus element change product. This product is used through the element change cryptic entry.

PNR change parameters:

  • Element Number (Mandatory)
  • New Element Data (Optional)
  • New Segment Association (Optional)
  • New Passenger Association (Optional)

At least one optional parameter should be filled.

Supported Operations

PNR change element:

  • Content element modification
  • Segment association modification
  • Passenger association modification

Limitations

Not applicable

Unsupported Operations

Not applicable

Prerequisites

User must be Amadeus system user. Record must be held in AAA.

Building A Query

The query should contains a free text according to the relevant change cryptic entry.

The cryptic entry have to match the following format

[element_number]/[new_data]/[segment_association]/[passenger_association]

Receiving A Reply

The reply is a structured message showing new PNR details.

Error Reply Structure

For further information see Retrieve function on PoweredPNR interface.


Double Click To Show XML

Error Messages

Error code Error Text
01938ELEMENT DOES NOT EXIST -
03213ELEMENT DOES NOT EXIST - XX
00477INVALID FORMAT
01892ERR INVALID FORMAT/NOT ENTERED/
00308INVALID REQUEST
01919INVALID REQUEST FOR ELEMENT
01496ENTRY IS RESTRICTED
02133CHANGE NOT PERMITTED



Operation: PNR Element Change

Here is an example of query modifying the content and the passenger-segment association for the element at the line 5.

Query Structure


Double Click To Show XML

M 3/modified ap

Reply Structure


Double Click To Show XML

1A 27RV8T 241108 DAP MUC1A0701 BMPR MUC1A0701 RP 9999BM 241108 MUC1A0701 1008 3 P12 --- RLR --- MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 0 22 5 2009 MOD 1 1 PT NM JOHN 1 DOE 2 1 ST AIR LHR 6X JFK 220509 1350 220509 1100 Y 175 ET 1 1 HK 744 0 5 4 3 8 OT AP 3 5 MODIFIED AP 4 9 OT TK 241108 OK MUC1A0701

Possible Errors

See "Error Messages" section






Function: CreateTSM


Overview

The function CreateTSM creates a TSM with at least:

  • one passenger association
  • a MD or TSM type (M,E,F,P)

and other data when specified (date, accounting data, reason for issuance code, reason for issuance description, international sales indicator, VAT country).

The presence of some data depends on the market/carrier and the MD type.

This transaction returns the tattoo of the created TSM or an error.

Supported Operations

The TSM creation for a passenger or an infant is not supported.

Limitations

It is only possible to create up to 127 active TSM.

TSM type M,E,F are single passenger associated. Multiple passenger associations are only allowed for TSM type P.

Unsupported Operations

Not applicable

Prerequisites

It is necessary to have an active PNR in the session with at least a passenger name.

Building A Query

Following data are mandatory in the query message:

  • passenger tattoo (/mcoData /paxTattoo)
  • MD/TSM type (/mcoData /mceDocData /tktNumber /documentDetails /type)

Receiving A Reply

The reply consists in the confirmation of the TSM creation (with passenger and TSM tattoo number) or an error.

Error Reply Structure

 


Double Click To Show XML

Error Messages

Error CodeError Text
11UNABLE TO PROCESS
339NEED NAMES
432INVALID CURRENCY CODE
477INVALID FORMAT
1157INVALID CITY CODE
1916MAXIMUM NUMBER OF ELEMENTS EXCEEDED
1946NO INFANT NAME EXISTS
2978INVALID DOCUMENT TYPE
3570INVALID PASSENGER/SEGMENT DATA
7811INVALID CARRIER CODE
10569INVALID INTERNATIONAL INDICATOR
10735NEED MCO AIRLINE CARRIER
11504BA BUDGET: ACCOUNT / CENTRE CODE NOT FOUND
12705INVALID REASON FOR ISSUANCE/CHARGE CODE
24108INVALID VAT COUNTRY


Operation: Create TSM type E

This query requests the creation of a TSM type E, for an AY ATO/CTO.

Query Structure


Double Click To Show XML

47 A 2 24.50 EUR B AY HEL 15FEB A 47 4 E

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type F, BA ATO/CTO

This query requests the creation of a TSM type F, for a BA ATO/CTO.

Query Structure


Double Click To Show XML

47 A 1 12.50 EUR B AY HEL 15FEB P 47 4 **-8622-95021*COMMENT 13 3 F

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type F, TASF

This query requests the creation of a TSM type F, TASF, on CH market.

Query Structure


Double Click To Show XML

47 A 1 5 B XB 01JUN A OVERRIDE DESCRIPTION 47 4 F

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type F, US market

Query Structure


Double Click To Show XML

47 A 1 10.00 USD B 09AUG NOCODE RFI DESCRIPTION 47 4 F

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type M, FR market

This query requests the creation of a TSM type M, for a Travel Agency on French market.

Query Structure


Double Click To Show XML

47 A 1 AF PAR 10AUG A 47 4 M

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type M, LH ATO/CTO, infant

This query requests the creation of a TSM type M for an infant, for a LH ATO/CTO.

Query Structure


Double Click To Show XML

47 IN 2 15 B I ABC 47 4 M

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type M, LH ATO/CTO, VAT country DE, RFIC Q for emco

This query requests the creation of a TSM type M, for a LH ATO/CTO, with a VAT country DE, and international indicator Domestic.

Query Structure


Double Click To Show XML

47 A 1 15 B DE I ABC 47 4 M

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Create TSM type P

This query requests the creation of a TSM type P

Query Structure


Double Click To Show XML

47 A 1 SSR 3 12 EUR B AF PAR 10AUG P

Reply Structure


Double Click To Show XML

Possible Errors






Function: DeleteTSM


Overview

The function DeleteTSM allows deleting:

  • all TSM of a given PNR
  • all TSM associated to given passenger(s) tattoo
  • given TSM(s) based on the TSM tattoo.

Supported Operations

Delete all TSM of an active PNR.
Delete given TSM thanks to their tattoo.
Delete all TSM associated to given passenger(s).

Limitations

TSM tattoo and passenger tattoo cannot be combined.

Unsupported Operations

Not applicable

Prerequisites

Prior to using the function operations, it is necessary to have an active PNR in the session with at least a passenger name.

Building A Query

No data is mandatory to build the query. The criteria to DeleteTSM are optional: passenger tattoo, TSM tattoo.

Receiving A Reply

The reply consists in the confirmation of the deletion with deleted TSM tattoos, or an error.

Error Reply Structure


Double Click To Show XML

Error Messages

Error Code Error Text
11 UNABLE TO PROCESS
1908 CHECK PASSENGER NUMBER
9922 CHECK TSM NUMBER
10747 NO TSM RECORD EXISTS


Operation: Delete all TSM of a PNR

The query is used to delete all existing TSMs of a given PNR: 37L35E'.

Query Structure


Double Click To Show XML

37L35E

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Delete by passengers tattoo

The query deletes all TSM for passenger 1 and 3

Query Structure


Double Click To Show XML

PAX 1 PAX 3

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Delete by TSM tattoo

The query deletes TSMs with tattoo 5 and 7

Query Structure


Double Click To Show XML

TSM 5 TSM 7

Reply Structure


Double Click To Show XML

Possible Errors






Function: DisplayHistory


Overview

The DisplayHistory function is used to retrieve the history of a PNR.

It is possible to retrieve all the PNR history, or a filtered view of it by using predicates in the query.

Supported Operations

PNR history retrieve.

Limitations

Not applicable.

Unsupported Operations

Not applicable.

Prerequisites

Not applicable.

Building A Query

Following data is mandatory in the query message:

in the Reservation Control Information (/pnrInfo /reservation):

  • controlNumber: Amadeus PNR record locator
  • date: the date when the PNR has been created.
    The format is: 4 digits for year, 2 digits for month, 2 digits for day
  • time: the time when the PNR has been created.
    The format is: 2 digits for hours, 2 digits for minutes

in /redundantElements /selectionDetails:

  • option indicating whether redundant elements (as robotic tool looping updates) have to be filtered out or not from the PNR display.
CodeDescription
SStandard history
FFiltered history

It is also possible to add up to 20 filter options (named predicate) in order to filter the PNR history lines that will be returned.

There are different types of filter options: they can be used to select certain history lines matching a criterion, or they can be used to exclude history lines matching a criterion. The filter options can be combined.

Each filter option is consisting of a:

  • selectionDetails segment to indicate the type of filter

and one of the following:

  • rangeDetails segment to indicate a range of envelope to match
  • predicateElementType segment to indicate a type of element to match
  • predicateFreeText Information segment to indicate a freetext to match


/predicate /predicateDetails /selectionDetails segment:

Mandatory:

  • option
CodeDescription
FILDiscard history lines matching the criterion
SELKeep history lines matching the criterion
FNDFind history lines containing a certain freetext
  • optionInformation
CodeDescription
0Predicate type

Optional:

  • option
CodeDescription
QUEMatch queue update history lines
  • optionInformation
CodeDescription
1Match queue update history lines


/predicate /predicateDetails /rangeDetails segment:

At least one of the two min and max value needs to be set, corresponding to the minimum and maximum envelope number to match.

/predicate /predicateDetails /predicateElementType Segment:

Mandatory:

  • segmentName
CodeDescription
AIRAir segment
IFOInformational segment
ARKARNK
ATXAir Taxi segment
CARManual Car segment
TURManual Tour segment
HTLManual Hotel segment
CCRCar segment
HHLHotel segment
OPNOpen Air segment
TRNTrain segment
TTOTour Source segment
CRUCruise segment
FERFerry segment
MISManual Miscellaneous segment
SURSurface segment
GTGroup Name
NMName element
SSRSSR element
STSeat element
OSIOSI element
SKKeyword element
FAFA fare element
FBFB fare element
FDFD fare element
FEFE fare element
FGFG fare element
FHFH fare element
FIFI fare element
FKFK fare element
FMFM fare element
FNFN fare element
FOFO fare element
FPFP fare element
FSFS fare element
FTFT fare element
FVFV fare element
FYFY fare element
FZFZ fare element
RMRemark element
RXRX secured remark element
RCRC secured remark element
RIInvoice remark element
APPhone element
ABBilling address element
AMMailing address element
AQAddress verification element
AIAccounting information element
TKTicket element
MCOMCO element
ESSecurity element
OPOption element

Optional:

It is also possible to precise the tattoo number to get history lines corresponding to a particular element.

  • reference /qualifier
CodeDescription
PTPassenger tattoo indicator
STSegment tattoo indicator
OTOther element tattoo indicator
  • reference / tattoo number

Here are some examples of possible filter options:

  • To select a range of history envelope, by giving the minimum and/or the maximum envelope number.

    selectionDetails segment

    • option: SEL
    • optionInformation: 0

    rangeDetails segment

    • min envelope number: 5
    • max envelope number: 15
  • To select history lines concerning one or several element types.

    selectionDetails segment

    • option: SEL
    • optionInformation: 0

    a group of predicateElementType Segments (all remarks)

    • RM
    • RC
    • RX
    • RI
    • RQ
  • To filter queuing lines.

    selectionDetails segment

    • option: FIL
    • optionInformation: 0
    • option: QUE
    • optionInformation: 1
  • To select history lines containing some specific text.

    selectionDetails segment

    • option: FND
    • optionInformation: 0

    /predicateFreeText /freeText Information segment

    • TEST

It is possible to combine these predicates to have complex queries.

Receiving A Reply

  • If the process is successful, the PNR history is returned in a structured way. A follow-up mechanism is in place if the history display is too long to enter in one reply message: in this case, resending the same query with the reference number of the last item retrieved will give the rest of the history display.
  • If the process is not successful, an error is sent in the reply message.

Error Reply Structure

The reply will contain:

  • the PNR record locator and creation date
  • the PNR history lines in PNH segments
  • the number of remaining lines and the reference of the last line sent.

In case of error, see the "Error Message" section.

Generic reply with 2 history envelopes


Double Click To Show XML

Error Messages

For generic errors the reply contains the record locator if given in the request, the error information and the error message.

ERROR MESSAGECODEDESCRIPTION
UNABLE TO RETRIEVE PNR119The record locator given in the request has not been found.
RESTRICTED20The requestor is not authorized to retrieve the PNR.
UNABLE TO DISPLAY103Technical error. Contact help desk
NO ITEMS FOUND511PNR history contains no item corresponding to the query.


Operation: Display a Simple History

This corresponds to PNR history without the queuing actions.

Query Structure


Double Click To Show XML

X37G8V 20070716 0 1

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Display all the history

This corresponds to displays the entire PNR history.

Query Structure


Double Click To Show XML

X37G8V 20070716

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Display the history for a range of envelope

This corresponds to displays the PNR history beginning at envelope 3.

Query Structure


Double Click To Show XML

X37G8V 20070716 0 3

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Display the History for the Remark elements

This corresponds to display only the PNR history lines concerning the Remark elements (RM, RC, RX, RI), without the queuing actions.

Query Structure


Double Click To Show XML

X37G8V 20070716 0 RM RC RX RI 0 1

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Display the history with a freetext filter

This corresponds to display the PNR history lines that contain the freetext 'TEST'

Query Structure


Double Click To Show XML

X37G8V 20070716 0 3 A 2 TEST

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.






Function: DisplayTSM


Overview

The function DisplayTSM retrieves all TSM data based on a TSM tattoo number.

The response sends the full data of the TSM. In particular, the Ticketed status is showing whether the TSM has been issued or not.

Supported Operations

Display any existing TSM type M, E, F (TASF only) or P in anactive PNR.

Limitations

The display is for one TSM only.

Unsupported Operations

TSM type F for US market and BA ATO/CTO can't be displayed.

Prerequisites

Prior to using the function operations, it is necessary to have an active PNR in the session with at least a passenger name.

The TSM tattoo is required in case of multi TSM in the PNR.

Building A Query

Following data are mandatory in the query message:

  • passenger name (except for TSM type P)
  • TSM tattoo

The query has the same format for all TSM types.

Receiving A Reply

The reply consists in the display of TSM data or an error.

Error Reply Structure

 


Double Click To Show XML

Error Messages

Error Code Error Text
11 UNABLE TO PROCESS
1499 DISPLAY IS RESTRICTED
10747 NO TSM RECORD EXISTS


Operation: Display a TSM

This query requests the display of the TSM 3. The query is the same for all TSM types.

Query Structure


Double Click To Show XML

47 REF 3

Reply Structure


Double Click To Show XML

Possible Errors






Function: ListTSM


Overview

The function ListTSM proposes a list of all the TSM contained in a PNR (all types). A TSM is indexed with its tattoo, its type and its passenger association(s). It can be filtered by passenger tattoo or type and/or by MDtype.
The list is not sorted.

Deleted TSM are not taken into account.

Supported Operations

Display all TSMs of an active PNR.
Display list of TSMs for a given passenger and/or with agiven type.
Display list of TSMs for a given passenger type and/or witha given type.

Limitations

The number of TSM that can be displayed is limited to 127. Deleted TSMs don't appear in the list.

Unsupported Operations

Display list of TSMs for several passengers.

Prerequisites

Prior to using the function operations, it is necessary to have an active PNR in the session with at least a passenger name.

Building A Query

No data is mandatory to build the query. The criteria to list TSM are optional: passenger tattoo, passenger type, MD/TSM type.

Receiving A Reply

The reply consists in the display of a TSM list with passenger association, MD/TSM type and tattoo, or an error.

Error Reply Structure


Double Click To Show XML

Error Messages

Error Code Error Text
11 UNABLE TO PROCESS
1499 DISPLAY IS RESTRICTED
1908 CHECK PASSENGER NUMBER
3570 INVALID PASSENGER/SEGMENT DATA
9922 CHECK TSM NUMBER
12709 MISC.DOCUMENT SELECTION DOES NOT MATCH PASSENGERSELECTION


Operation: List all the TSM contained in PNR

The query is to list all existing TSMs of agiven PNR: 37L35E.

Query Structure


Double Click To Show XML

47 37L35E

Reply Structure


Double Click To Show XML

Possible Errors


Operation: List all TSM for a passenger tattoo

The query is to list all TSM for passenger 1.

Query Structure


Double Click To Show XML

47 A 1

Reply Structure


Double Click To Show XML

Possible Errors


Operation: List all TSM for infant passengers

The query is to list all TSM associated to infants.

Query Structure


Double Click To Show XML

47 IN 1

Reply Structure


Double Click To Show XML

Possible Errors


Operation: List TSM type M for pax 1

The query is to list all TSM type M associated to passenger1.

Query Structure


Double Click To Show XML

47 A 1 M

Reply Structure


Double Click To Show XML

Possible Errors






Function: NameUpdate


Overview

The NameUpdate transaction allows to Update or Change a name.

- The name Update function is used to update the surname, first name or title of a name element. Passenger types and Identification code (ID or CR)attached to the name element remain unchanged.This function retains all PNR associations.

- The Name Change function is used to change surname, given name/initial(s)/title, passenger type codes and ID / CR in the name element.

The name element can be changed/updated at creation of the PNR or on a retrieved from file PNR.

Supported Operations

Not applicable.

Limitations

Only one name element can be updated.

Unsupported Operations

Not applicable.

Prerequisites

A PNR must be present in the AAA work area.If the user works on an existing PNR that has already beenend-transacted, the PNR has to be previously retrieved.This can be done via PoweredPNR_Retrieve.If he works on a new PNR, at least a name element has been added to the PNR.This can be done via PoweredPNR_Add Multi Elements.

Building A Query

Name update:

Only the input parameters that contain the traveler informationare mandatory.Traveler Information relatedinput parameters are:

  • Traveler's surname
  • Quantity - always 1 since only one name element can be updated.
  • Status - The status code is always C for name update.
  • Traveler's given name
  • Traveler reference number - the tattoo number of the passenger that willbe updated. It has been transmitted in a previous response message.

Reservation Control Information relatedinput parameter is:

  • Reservation control number, this field contains the Amadeus record locator.

Name change:

The NEW name element image including surname, first name, title, passenger type code, ID/CR number (and not only modified data) is passed in the request.

Input parameters:

Traveler Information related input parameters are:

Mandatory

  • Traveler s surname
  • Quantity - always 1 since only one name element can be changed
  • Status - The status code is always M for name change.
  • Traveler s given name
  • Traveler reference number: This field contains the tattoo number of the passenger that will be changed. It has been transmitted in a previous response message.

Optional

  • Passenger type code
  • Infant indicator

    Code Description
    1Infant with no surname
    2Infant with given name
    3Infant with name and given name
  • Infant surname
  • Infant given name
  • ID/CR number

Date Of Birth (of the infant) related input parameters are (optional):

  • Year
  • Month
  • Day

Reservation Control Information related input parameter is (optional):

  • Reservation control number, this field contains the Amadeus record locator.

Receiving A Reply

If the process is successful:

  • The name element is updated with the new data.
  • The name field is reviewed for reordering and renumbering if applicable.
  • Modification of a name element on a retrieved PNR causes the dataaffected to be moved into the historical section of the PNR.
  • Name change

    • If the surname and /or first name are part of the modified data:

      The elements associated with the modified name element are reduced and/or cancelled from the PNR, except for itinerary, fare, ticket, MCO and some seat elements, see A02RES3700 for seat processing and A02-3282 - Miscellaneous charge order.

    • If the surname and /or first name are not part of the modified data:

      The elements associated to the modified name element are retained.

  • Name update

    • Passenger types and Identification code (ID or CR) attached to the name element remain unchanged.
    • The elements associated to the modified name element are retained.
  • The modified name element is sent in the reply message. Some warnings can be returned as well in the reply message. New name order and reconfigured associations are not part of the reply.They will be returned on a subsequent PNR Retrieve.

If the process is not successful an error is sent in the reply message.

Error Reply Structure

If the name update process is successful, the reply message contains onlythe record locator if it was given in therequest, and the updated passenger information.

In case of error, see the 'Error Message' section.


Double Click To Show XML

Error Messages

Generic Edifact error, this type of error can be returned isthere is a problem with the contents of the message.

MessageCodeDescription
INVALID EDIFACT FORMAT3973Some fields are missing, or does not respect thepredefined size or contain invalid characters.

Generic errors.In these cases the reply contains the record locator, if given in therequest, the error information and the error message.

MessageCodeDescription
INVALID NUMBER IN PARTY1194The quantity field does not contain 1
INVALID REQUEST308The status field does not contain C
PNR NOT PRESENT1383There is no PNR present in AAA
NO MATCH FOR RECORD LOCATOR1931The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS11Technical error. Contact help desk.
IGNORE AND RE-ENTER55Technical error. Contact help desk.

Errors linked to the name update process.In these cases, the reply contains the record locator, if given in the request,the passenger information, the error information and the error message.

MessageCodeDescription
CHECK NAME ELEMENT NUMBER2577The passenger reference given in the request does not correspond to any passenger in the PNR. It also applies if the PNR does not contain any name.
INPUT TOO LONG1891The name element including first name, title, passenger type, and identification code must not exceed 58 characters
RESTRICTED NAME9410NTBA must not be entered as surname
FREQUENT FLYER/NAME MODIFICATION RESTRICTED3214The name change/update is restricted when a validated Frequent Flyer number is present in the PNR
INVALID/DUPLICATE NAME EXISTS1898A duplicate match has been made between an existing name item and the name item
NAME CHANGE IS RESTRICTED BY AIRLINE - XX9411Depending on the setting of NMP and NMR APT indicators, the name change/update is not allowed.
RESTRICTED/CALL AIRLINE XX/Sn1893A surname change/update entry has been performed on a previously modified surname or the modification is for more than three characters by a NON System User airline/ subscriber and a System user flight in the itinerary is at critical level.
PASSENGER ASSOCIATE1950Name change has been performed at creation of a PNR and number of names is greater than number of services with no passenger association
UNABLE TO PROCESS/SERVICES EXCEED NAMES3432Name change has been performed at creation of a PNR and number of names is less than number of services.
INVALID PASSENGER TYPE89
  • Invalid passenger type
CHECK DATE OF BIRTH4759
  • The INF is more than 2 years old or
  • The CHD is more than 12 years old.
  • Incorrect Format of Date of Birth in the INF and CHD PTC
RESTRICTED - FA/ET EXISTS9029A name change/update entry has been performed on a PNR where the tickets have been issued by electronic ticketing. The FA/ET element exists in the PNR
RESTRICTED - PAX(S) BOARDED OR CHECKED-BAGS ON xxxxxx-Pn15870If the flight is not departed and the passenger on which the name change/update is performed is boarded or has checked-bags, then the name change/update is restricted
NAME CHANGE NOT ALLOWED4207A name change transaction has been performed on a PNR containing Non Air segments only and the Non Air providers do not allow the name change.
NAME UPDATE NOT PERMITTED11040A name update transaction has been performed on a PNR containing Non Air segments only and the Non Air providers do not allow the name change.

Warning messages.

MessageCodeDescription
NAME UPDATED - UPDATE NAME WITH CRUISE9666The name change/update is performed at PNR level and not to the cruise segments. The following informational message will be displayed to inform the user to contact the cruise company for the name update.
WARNING PAX CHECKED-IN. PAX WILL BE OFFLOADED AT EOT ON xxxxxx15781If the flight is not departed and the passenger on which the name change/update is performed is accepted without baggage or is in Standby without baggage, a warning is displayed
WARNING: SPLIT RELOCATES SERVICE PROVIDER TO NEW PNR7366A name change/update transaction has been performed on a MIXED PNR, a split has been done and a new PNR is created containing the non air segments on which the name change is not allowed.


Operation: Name change on retrieved PNR

The example shows the message required to change the name of the passenger specified by the reference number with the following data:


Passenger surname: SURNAME

Passenger given name / title: GIVENNAME MR

Passenger reference number: 1

Passenger type code: ADT

Infant name: SMITH

Infant given name: BABY

Infant date of birth: 15 SEP 2007


Note: There must be a retrieved PNR in the AAA, with record locator XXXXXX

Query Structure


Double Click To Show XML

XXXXXX SURNAME 1 M GIVENNAME MR ADT 1 3 SMITH 1 BABY 1 2007 9 15

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Name Update On Newly Created PNR

The example shows the message required to update the name of the passengerspecified by the reference number with the following data:

  • Passenger surname - SURNAME
  • Passenger given name/title - GIVENNAME MR
  • Passenger reference number - 3

Note: There must be a PNR in creation in the AAA, containing at least 1 name.

Query Structure


Double Click To Show XML

SURNAME 1 C GIVENNAME MR 3

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Name Update On Retrieved PNR

The example shows the message required to update the name of the passengerspecified by the reference number with the following data:

  • Passenger surname - SURNAME
  • Passenger given name/title - GIVENNAME MR
  • Passenger reference number - 3

Note: There must be a retrieved PNR in the AAA, with record locator XXXXXX.

Query Structure


Double Click To Show XML

XXXXXX SURNAME 1 C GIVENNAME MR 3

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.






Function: ReduceNIP


Overview

This function provides the possibility to reduce the numberof passenger contained in a group PNR.

Supported Operations

This function cancels a given number of non-assigned passengers from a group.

Limitations

Only unassigned names can be cancelled from the group PNR with this function.

Unsupported Operations

The following operations are not available from within this function:

  • Cancellation of an individual name.

Prerequisites

The agent must have a group PNR in creation or a PNRretrieved from file in its context.

Building A Query

Depending on the flavor of the API that is used, each query will follow agiven structure. The queries for the function operations are clearly explainedwith data element examples in a generic table view that can beadapted to the specific flavor of the API in use.

It is important to note that the examples in each chapter are onlyillustrations and are meant to provide the basis for a better understandingon which fields are mandatory for basic operation utilization.It is not a full explanation of every field that can be utilized for theoperation, but rather a guideline to its use.

Receiving A Reply

Error Reply Structure

The reply structure is basically an acknowledgement.


Double Click To Show XML

Error Messages

Number Message Description
1892 INVALID FORMAT/NOT ENTERED When trying to delete more names than the number of unassigned names contained in the group PNR.


Operation: Reduce From Group

This message only needs the number of passenger that should bedeleted from the PNR.It is coded in the numberOfUnit.You also need to indicate that you are cancellingunassigned name by filling unitQualifier with U.

In case that a PNR has already been filled, the recordlocator will be returned in the reply.

recordLocator/reservation/controlNumber/2WZTBT

Query Structure


Double Click To Show XML

3 U

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages", section.






Function: Retrieve


Overview

The function Retrieve is used to retrieve and display an active passenger name record (PNR) or to redisplay a PNR during the current user session.

Supported Operations

The PNR Retrieve function allows for the following operations:

Re-retrieval of the PNR

The active PNR can be redisplayed at any time.

Retrieval of associated PNR list (Split PNRs)

A list of all PNRs associated to one another from the result of Split PNR operations can be requested.

Merge of Split PNRs

Itinerary and data elements for all passengers listed in an associated split display can be merged into one retrieval reply. This operation can be performed directly on the active PNR if it is, itself, an associated PNR to other split records.

Retrieve by Record Locator

Each record created and stored in the Amadeus system has a record locator which can be used to retrieve its associated data.

Re-retrieval

The specific PNR can be retrieved with the specification of its associated record locator.

With name

If multiple records exist for the same passenger name, it is possible to retrieve the specific record by specifying the system record locator and the specific name.

With Name and Ticket Number

It is possible for any airline system to retrieve a PNR, regardless of who made the reservation, by specifying the three key elements of record Locator, passenger name, and ticket number.

Retrieve by name

If more than one PNR matches the criteria requested, a list of matching PNRs is returned in each operation instance.

When retrieving records with a name specification, a surname is mandatory. Optionally, a first name may be specified to narrow the search request.

For Default Office

Specifying only the name in the retrieval request will result in the retrieval of all PNRS containing the name specified that are associated to the requesting office.

With specific Office ID

Specifying the name with an office ID allows for the retrieval of all PNRs containing the name specified for a specific office. This is of particularinterest if the requesting agency has associations with other agencies.

Wildcard (asterisks - *) may be substituted when specifying an office ID. For example, MIA1A0111 may be detailed as MIA1A*** to provide a list of all PNRs for the passenger name in any associated agencies that begin with MIA1A. Note: Only the agencies with security agreements will be displayed.

With Date

Specifying the name with a specific date will result in the retrieval of all PNRs for the associated name with flight segments containing a departure date of that specified.

With Date and only active PNRs

Specifying the name with a specific date and only requesting active PNRs will result in the retrieval of all PNRs that contain segments not yet past date for the associated name with segment containing a departure date of that specified.

The list of PNRs will not include PNRs that are still in the system but whose last segment has already been traveled.

Retrieve by Service and Name

Specifying service information in combination with a passenger name may retrieve Amadeus system records.

With Flight Number

Specifying an airline carrier code and flight number in conjunction with a passenger name may retrieve a record. If a departure date is not specified, the default date of the current date will be used.

With Board Point

In addition to specifying a flight number, a board point for the flight number may be specified. This is of particular interest, and in fact is mandatory, in the case where the flight contains more than one leg or involves a change of gauge or achange of date.

With Board Point and Off Point

In addition to specifying a flight number and a board point for the flight number, and off point may be specified. This is of particular interest in the case where the flight contains more than one leg or involves a change of gauge or a change of date.

For Auxiliary Segments

A record may be retrieved by specifying the type of auxiliary segment in conjunction with a passenger name. If a date is not specified, the default ofthe current date will be used.

The actual system auxiliary code must be specified.

Retrieve by Frequent Traveler Information

Specifying a frequent flyer or bonus number that appears in a valid frequent traveler information field may retrieve a PNR.

The retrieval by frequent flyer number will only work for airlines which store their frequent flyer data base within the Amadeus system for validation processing. If the airline does not store the frequent flyer database within Amadeus system, the frequent flyer number may be stored in the PNR without validation but may not be used for retrieval process. The attempt to use the frequent flyer number in the retrieval in such a case will result in the following error: "No Database from Airline".

If multiple PNRs contain the same frequent traveler information specified, a list of all matching PNRs will be returned.

Retrieve by Account Number

If an account number was stored as an accounting remark in the PNR, it is possible to retrieve the PNR by that account number. Specifying the account number will result in the return of all PNRs containing a matching account number to the one specified in the retrieval request.

Retrieve by Customer Profile

Specifying the customer profile record locator may retrieve all active PNRs that were created using a customer profile.

If more than one active PNR that uses the specified customer profile record locator is found, a list of all matching PNRs will be returned.

Retrieval Rules

System User Airlines and User Airline Help Desks

These users may retrieve the following:


Travel Agencies

All agencies have the ability to retrieve any PNRs for which they are responsible for.

In addition, any bookings made by another office for which they have an end of sale agreement with may be retrieved provided that the office is properly identified within the system security profile of the agency requesting the retrieval.

Service Providers

Any PNR containing an auxiliary segment that includes the provider's two-character identification code can be retrieved.

Wholesalers

A wholesaler representing other service providers can retrieve any PNRs that include active segments belonging to the companies that they represent.

Amadeus Participating Carriers

Any PNR containing an active segment belonging to the airline can be retrieved.

Amadeus Help Desk

All PNRs residing in the Amadeus system can be retrieved.

National Marketing Company Help Desks

All PNRs residing in the Amadeus system, except those belonging to System User Airlines can be retrieved.

Prepaid Ticket Advice Retrievals

The following can only retrieve all PNRs containing prepaid ticket advice information:

Limitations

The function Retrieve will only work on completed reservations. The reservation must have been completed and stored with an assignment of a system record locator to be acknowledged in the retrieval process. Except in the case of a simple redisplay retrieval request, where the active unfinished reservation information will be returned.

It is not possible to retrieve a PNR by specifying segment information for a segment that is past its departure date. In addition, any PNR that has a completion date greater than three days is no longer available in the system for retrieval.

It is strongly recommended to use the enumerated types provided instead of hard coded numerical values in your code.

Unsupported Operations

The following operations are not available from within this function:

  • Partial PNR element retrievals
  • Retrieval of group PNRs with individual names returned
  • Displaying Airline System record locators
  • Retrieval of PNRs by specifying MCO information
  • Retrieval of PNR elements applicable to a specific passenger
  • Retrieval of PNR by a Customer or Product Number
  • Retrieval of PNR AIR element detailed information only
  • Retrieval of PNR CAR element detailed information only
  • Retrieval of PNR HOTEL element detailed information only
  • Retrieval of merged split PNR elements direct with specification of record locator.

Prerequisites

Prior to using the function operations, it is necessary to have ( either depending on the type of operation) an active PNR in the session or stored records in the system.

Building A Query

Applicable Code Sets

The following code sets may be utilized when building a query with this function:

Retrieval Type
1Re-retrieve
2Retrieve by record locator
3Retrieve by office and name
4Retrieve by service and name
5Retrieve by frequent traveler
6Retrieve by account number
7

Retrieve by customer profile

8Retrieve by Insurance policy number
9Retrieve by numeric record locator
PNR Segment or Element Name
AIRAirline segment
ATXAir taxi segment
SURSurface transportation segment
MISMiscellaneous segment
HTLManual hotel segment
HHLAutomated hotel segment
CARManual car segment
CCRAutomated car segment
MCOMiscellaneous charges order
INSInsurance
TURTour segment
TTOTour source segment
CRUCruise segment
FRRFerry segment
Retrieval Option
AActive PNRs only
VRetrieve merged split PNRs
XRetrieve associated split PNR list
Class of Service

It should be noted that the Class of Service is a mandatory field if any pricing entry or itinerary is made on a newly created PNR or an existing PNR.

Receiving A Reply

Generally, there are only two types of replies applicable for the PNR Retrieve function:

  • Single PNR content
  • Multiple PNR index list

Any Reply structures that vary from these two types are listed and explained with their applicable operation.

Error Reply Structure

Single PNR Content

When a reply to the operation query contains only the information pertaining to a single PNR, the entire record content is returned directly. Below is a classic example received in the single PNR Content reply structure for a PNR containing the following elements

Reply - Data elementValue
/pnrHeader/reservationInfo/reservation/ companyId1A
/pnrHeader/reservationInfo/reservation/ controlNumberYCHVA9
/pnrHeader/reservationInfo/reservation/ date300101
/pnrHeader/reservationInfo/reservation/ time1032
/securityInformation/responsibilityInformation/ typeOfPnrElementRP
/securityInformation/responsibilityInformation/ agentIdAASU
/securityInformation/responsibilityInformation/ officeIdMUC1A0701
/securityInformation/queueingInformation/ queueingOfficeIdMUC1A0701
/securityInformation/ cityCodeDAP
/securityInformation/secondRpInformation/ creationOfficeIdMUC1A0701
/securityInformation/secondRpInformation/ agentSignature0001AA
/securityInformation/secondRpInformation/ creationDate300101
/freetextData/freetextDetail/ subjectQualifier3
/freetextData/freetextDetail/ typeP12
/freetextData/ longFreetext--- RLR ---
/travellerInfo/elementManagementPassenger/reference/ qualifierPT
/travellerInfo/elementManagementPassenger/reference/ number1
/travellerInfo/elementManagementPassenger/ segmentNameNM
/travellerInfo/elementManagementPassenger/ lineNumber1
/travellerInfo/travellerInformation/traveller/ surnameCHILDS
/travellerInfo/travellerInformation/traveller/ quantity1
/travellerInfo/travellerInformation/passenger/ firstNameLISA
/originDestinationDetails/itineraryInfo[1]/ elementManagementItinerary/reference/ qualifierST
/originDestinationDetails/itineraryInfo[1]/ elementManagementItinerary/reference/ number4
/originDestinationDetails/itineraryInfo[1]/ elementManagementItinerary/ segmentNameAIR
/originDestinationDetails/itineraryInfo[1]/ elementManagementItinerary/ lineNumber2
/originDestinationDetails/itineraryInfo[1]/ travelProduct/product/ depDate110301
/originDestinationDetails/itineraryInfo[1]/ travelProduct/product/ depTime0810
/originDestinationDetails/itineraryInfo[1]/ travelProduct/product/ arrDate110301
/originDestinationDetails/itineraryInfo[1]/ travelProduct/product/ arrTime0935
/originDestinationDetails/itineraryInfo[1]/ travelProduct/boardpointDetail/ cityCodeNCE
/originDestinationDetails/itineraryInfo[1]/ travelProduct/offpointDetail/ cityCodeORY
/originDestinationDetails/itineraryInfo[1]/ travelProduct/companyDetail/ identificationAF
/originDestinationDetails/itineraryInfo[1]/ travelProduct/productDetails/ identification6203
/originDestinationDetails/itineraryInfo[1]/ travelProduct/productDetails/ classOfServiceY
/originDestinationDetails/itineraryInfo[1]/ travelProduct/typeDetail/ detailET
/originDestinationDetails/itineraryInfo[1]/ itineraryMessageAction/business/ function1
/originDestinationDetails/itineraryInfo[1]/ itineraryReservationInfo/reservation/ companyIdAF
/originDestinationDetails/itineraryInfo[1]/ itineraryReservationInfo/ reservation/ controlNumber2DKTIM
/originDestinationDetails/itineraryInfo[1]/ relatedProduct/ quantity1
/originDestinationDetails/itineraryInfo[1]/ relatedProduct/ statusHK
/originDestinationDetails/itineraryInfo[1]/ flightDetail/productDetails/ weekDay0
/originDestinationDetails/itineraryInfo[1]/ flightDetail/ departureInformation/ departTerminal2
/originDestinationDetails/itineraryInfo[1]/ flightDetail /timeDetail/ checkinTime0750
/originDestinationDetails/itineraryInfo[1]/ selectionDetails /selection/ optionP2
/originDestinationDetails/itineraryInfo[2]/ elementManagementItinerary/ reference/ qualifierST
/originDestinationDetails/itineraryInfo[2]/ elementManagementItinerary/ reference/ number2
/originDestinationDetails/itineraryInfo[2]/ elementManagementItinerary/ segmentNameCCR
/originDestinationDetails/itineraryInfo[2]/ elementManagementItinerary/ lineNumber3
/originDestinationDetails/itineraryInfo[2]/ travelProduct/product/ depDate110301
/originDestinationDetails/itineraryInfo[2]/ travelProduct/product/ arrDate170301
/originDestinationDetails/itineraryInfo[2]/ travelProduct/boardpointDetail/ cityCodeORY
/originDestinationDetails/itineraryInfo[2]/ travelProduct/companyDetail/ identificationZI
/originDestinationDetails/itineraryInfo[2]/ travelProduct/productDetails/ identificationECMN
/originDestinationDetails/itineraryInfo[2]/ itineraryMessageAction/ business/ function2
/originDestinationDetails/itineraryInfo[2]/ relatedProduct/ quantity01
/originDestinationDetails/itineraryInfo[2]/ relatedProduct/ statusHK
/originDestinationDetails/itineraryInfo[2]/ selectionDetails/selection/ optionP10
/originDestinationDetails/itineraryInfo[2]/ generalOption[1] /optionDetail/ typeBS
/originDestinationDetails/itineraryInfo[2]/ generalOption[1] /optionDetail/ freetext00000000
/originDestinationDetails/itineraryInfo[2]/ generalOption[2] /optionDetail/ typeARR
/originDestinationDetails/itineraryInfo[2]/ generalOption[2] /optionDetail/ freetext0900
/originDestinationDetails/itineraryInfo[2]/ generalOption[3]/optionDetail/ typeRC
/originDestinationDetails/itineraryInfo[2]/ generalOption[3]/optionDetail/ freetextBEST
/originDestinationDetails/itineraryInfo[2]/ generalOption[4]/optionDetail/ typeRT
/originDestinationDetails/itineraryInfo[2]/ generalOption[4]/optionDetail/ freetext0900
/originDestinationDetails/itineraryInfo[3]/ elementManagementItinerary/ reference/ qualifierST
/originDestinationDetails/itineraryInfo[3]/ elementManagementItinerary/refe rence/ number5
/originDestinationDetails/itineraryInfo[3]/ elementManagementItinerary/ segmentNameHHL
/originDestinationDetails/itineraryInfo[3]/elementManagementItinerary/ lineNumber4
/originDestinationDetails/itineraryInfo[3]/ travelProduct/product/ depDate110301
/originDestinationDetails/itineraryInfo[3]/ travelProduct/ product/ arrDate170301
/originDestinationDetails/itineraryInfo[3]/ travelProduct/ boardpointDetail/ cityCodePAR
/originDestinationDetails/itineraryInfo[3]/ travelProduct /companyDetail/ identificationHW
/originDestinationDetails/itineraryInfo[3]/ itineraryMessageAction/ business/ function3
/originDestinationDetails/ itineraryInfo[3] /relatedProduct/ quantity01
/originDestinationDetails/itineraryInfo[3]/ relatedProduct/ statusHK
/originDestinationDetails/itineraryInfo[3]/ selectionDetails/ selection/ optionP10
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/ property/ providerNameHOTELWORLD
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/property/ code397
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/property/ nameDES ARTS
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/hotelRoom/ occupancy1
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/hotelRoom/ typeCodeC1S
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/negotiated/ rateCodeCOR
/originDestinationDetails/itineraryInfo[3]/ hotelProduct/otherHotelInfo/ currencyCodeFRF
/originDestinationDetails/itineraryInfo[3]/ rateInformations/ratePrice/ rateAmount369.00
/originDestinationDetails/itineraryInfo[3]/ rateInformations/rateInfo/ ratePlanDY
/originDestinationDetails/itineraryInfo[3]/ generalOption[1] /optionDetail/ typeTTL
/originDestinationDetails/itineraryInfo[3]/ generalOption[1]/ optionDetail/ freetextFRF2214.00
/originDestinationDetails/itineraryInfo[3]/ generalOption[2]/optionDetail/ typeNGT
/originDestinationDetails/itineraryInfo[3]/ generalOption[2]/optionDetail/ freetext06
/originDestinationDetails/itineraryInfo[3]/ generalOption[3] /optionDetail/ typeNAM
/originDestinationDetails/itineraryInfo[3]/generalOption[3]/optionDetail/ freetextDES ARTS
/originDestinationDetails/itineraryInfo[3]/generalOption[4]/optionDetail/ typeBS
/originDestinationDetails/itineraryInfo[3]/generalOption[4]/optionDetail/ freetext11111111
/originDestinationDetails/itineraryInfo[3]/generalOption[5]/optionDetail/ typeCF
/originDestinationDetails/itineraryInfo[3]/generalOption[5]/optionDetail/ freetext............
/originDestinationDetails/itineraryInfo[3]/generalOption[6]/optionDetail/ typeCNM
/originDestinationDetails/itineraryInfo[3]/generalOption[6]/optionDetail/ freetextHOTELWORLD
/originDestinationDetails/itineraryInfo[3]/generalOption[7]/optionDetail/ typePRI
/originDestinationDetails/itineraryInfo[3]/generalOption[7]/optionDetail/ freetext11MAR 369.0006
/originDestinationDetails/itineraryInfo[3]/referenceForSegment/reference/ qualifierPT
/originDestinationDetails/itineraryInfo[3]/referenceForSegment/reference/ number1
/originDestinationDetails/itineraryInfo[4]/elementManagementItinerary/reference/ qualifierST
/originDestinationDetails/itineraryInfo[4]/elementManagementItinerary/reference/ number6
/originDestinationDetails/itineraryInfo[4]/elementManagementItinerary/ segmentNameTU
/originDestinationDetails/itineraryInfo[4]/elementManagementItinerary/ lineNumber5
/originDestinationDetails/itineraryInfo[4]/travelProduct/product/ depDate110301
/originDestinationDetails/itineraryInfo[4]/travelProduct/boardpointDetail/ cityCodeREC
/originDestinationDetails/itineraryInfo[4]/travelProduct/companyDetail/ identificationAF
/originDestinationDetails/itineraryInfo[4]/itineraryMessageAction/business/ function11
/originDestinationDetails/itineraryInfo[4]/relatedProduct/ quantity1
/originDestinationDetails/itineraryInfo[4]/relatedProduct/ statusHN
/originDestinationDetails/itineraryInfo[4]/itineraryFreetext/freetextDetail/ subjectQualifier3
/originDestinationDetails/itineraryInfo[4]/itineraryFreetext/ longFreetext17MAR/TOUR OF THE CITY
/originDestinationDetails/itineraryInfo[5]/elementManagementItinerary/reference/ qualifierST
/originDestinationDetails/itineraryInfo[5]/elementManagementItinerary/reference/ number7
/originDestinationDetails/itineraryInfo[5]/elementManagementItinerary/ segmentNameAIR
/originDestinationDetails/itineraryInfo[5]/elementManagementItinerary/ lineNumber6
/originDestinationDetails/itineraryInfo[5]/travelProduct/product/ depDate170301
/originDestinationDetails/itineraryInfo[5]/travelProduct/product/ depTime0710
/originDestinationDetails/itineraryInfo[5]/travelProduct/product/ arrDate170301
/originDestinationDetails/itineraryInfo[5]/travelProduct/product/ arrTime0830
/originDestinationDetails/itineraryInfo[5]/travelProduct/boardpointDetail/ cityCodeORY
/originDestinationDetails/itineraryInfo[5]/travelProduct/offpointDetail/ cityCodeNCE
/originDestinationDetails/itineraryInfo[5]/travelProduct/companyDetail/ identificationAF
/originDestinationDetails/itineraryInfo[5]/travelProduct/productDetails/ identification6240
/originDestinationDetails/itineraryInfo[5]/travelProduct/productDetails/ classOfServiceY
/originDestinationDetails/itineraryInfo[5]/travelProduct/typeDetail/ detailET
/originDestinationDetails/itineraryInfo[5]/itineraryMessageAction/business/ function1
/originDestinationDetails/itineraryInfo[5]/itineraryReservationInfo/reservation/ companyIdAF
/originDestinationDetails/itineraryInfo[5]/itineraryReservationInfo/reservation/ controlNumber2DKTIM
/originDestinationDetails/itineraryInfo[5]/relatedProduct/ quantity1
/originDestinationDetails/itineraryInfo[5]/relatedProduct/ statusHK
/originDestinationDetails/itineraryInfo[5]/flightDetail/productDetails/ weekDay6
/originDestinationDetails/itineraryInfo[5]/flightDetail/departureInformation/ departTerminalW
/originDestinationDetails/itineraryInfo[5]/flightDetail/timeDetail/ checkinTime0655
/originDestinationDetails/itineraryInfo[5]/selectionDetails/selection/ optionP2
/dataElementsMaster/dataElementsIndiv[1]/elementManagementData/reference/ qualifierOT
/dataElementsMaster/dataElementsIndiv[1]/elementManagementData/reference/ number3
/dataElementsMaster/dataElementsIndiv[1]/elementManagementData/ segmentNameAP
/dataElementsMaster/dataElementsIndiv[1]/elementManagementData/ lineNumber7
/dataElementsMaster/dataElementsIndiv[1]/otherDataFreetext/freetextDetail/ subjectQualifier3
/dataElementsMaster/dataElementsIndiv[1]/otherDataFreetext/freetextDetail/ type3
/dataElementsMaster/dataElementsIndiv[1]/otherDataFreetext/ longFreetext04 92 94 64 29-B
/dataElementsMaster/dataElementsIndiv[2]/elementManagementData/reference/ qualifierOT
/dataElementsMaster/dataElementsIndiv[2]/elementManagementData/reference/ number3
/dataElementsMaster/dataElementsIndiv[2]/elementManagementData/ segmentNameAP
/dataElementsMaster/dataElementsIndiv[2]/elementManagementData/ lineNumber7
/dataElementsMaster/dataElementsIndiv[2]/otherDataFreetext/freetextDetail/ subjectQualifier3
/dataElementsMaster/dataElementsIndiv[2]/otherDataFreetext/freetextDetail/ type3
/dataElementsMaster/dataElementsIndiv[2]/otherDataFreetext/ longFreetext04 92 94 64 29-B
/dataElementsMaster/dataElementsIndiv[3]/elementManagementData/reference/ qualifierOT
/dataElementsMaster/dataElementsIndiv[3]/elementManagementData/reference/ number4
/dataElementsMaster/dataElementsIndiv[3]/elementManagementData/ segmentNameTK
/dataElementsMaster/dataElementsIndiv[3]/elementManagementData/ lineNumber8
/dataElementsMaster/dataElementsIndiv[3]/ticketElement/ticket/ indicatorOK
/dataElementsMaster/dataElementsIndiv[3]/ticketElement/ticket/ date300101
/dataElementsMaster/dataElementsIndiv[3]/ticketElement/ticket/ officeIdMUC1A0701
/dataElementsMaster/dataElementsIndiv[4]/elementManagementData/reference/ qualifierOT
/dataElementsMaster/dataElementsIndiv[4]/elementManagementData/reference/ number4
/dataElementsMaster/dataElementsIndiv[4]/elementManagementData/ segmentNameTK
/dataElementsMaster/dataElementsIndiv[4]/elementManagementData/ lineNumber8
/dataElementsMaster/dataElementsIndiv[4]/ticketElement/ticket/ indicatorOK
/dataElementsMaster/dataElementsIndiv[4]/ticketElement/ticket/ date300101
/dataElementsMaster/dataElementsIndiv[4]/ticketElement/ticket/ officeIdMUC1A0701

Multiple PNR Index List

When a reply to the operation query contains information pertaining to multiple PNRs, a list of the applicable PNRs is returned providing the ability to select the appropriate PNR desired. The following PNR elements are returned in the indexed list:

Below is a classic example received in the Multiple PNR Index List reply structure for 3 PNRs containing the same last name

List reply - Data elementValue
/citypair/travellerInformationSection[1]/travellerInformation/traveller/ surnameCHILDS
/citypair/travellerInformationSection[1]/travellerInformation/passenger/ firstNameJEREMY
/citypair/travellerInformationSection[1]/relatedProduct/ quantity1
/citypair/travellerInformationSection[1]/travelProduct/product/ depDate110301
/citypair/travellerInformationSection[1]/travelProduct/boardpointDetail/ cityCodeNCE
/citypair/travellerInformationSection[1]/travelProduct/offpointDetail/ cityCodeORY
/citypair/travellerInformationSection[1]/travelProduct/companyDetail/ identificationAF
/citypair/travellerInformationSection[1]/travelProduct/productDetails/ identification6203
/citypair/travellerInformationSection[1]/reservationInfo/reservation/ companyId1A
/citypair/travellerInformationSection[1]/reservationInfo/reservation /controlNumberYCHVB4
/citypair/travellerInformationSection[1]/productInfo/product/ identificationY
/citypair/travellerInformationSection[1]/messageAction/business/ function1
/citypair/travellerInformationSection[2]/travellerInformation/traveller/ surnameCHILDS
/citypair/travellerInformationSection[2]/travellerInformation/passenger/ firstNameLISA
/citypair/travellerInformationSection[2]/relatedProduct/ quantity1
/citypair/travellerInformationSection[2]/travelProduct/product/ depDate110301
/citypair/travellerInformationSection[2]/travelProduct/boardpointDetail/ cityCodeNCE
/citypair/travellerInformationSection[2]/travelProduct/offpointDetail/ cityCodeORY
/citypair/travellerInformationSection[2]/travelProduct/companyDetail/ identificationAF
/citypair/travellerInformationSection[2]/travelProduct/productDetails/ identification6203
/citypair/travellerInformationSection[2]/reservationInfo/reservation/ companyId1A
/citypair/travellerInformationSection[2]/reservationInfo/reservation/ controlNumberYCHVA9
/citypair/travellerInformationSection[2]/productInfo/product/ identificationY
/citypair/travellerInformationSection[2]/messageAction/business/ function1
/citypair/travellerInformationSection[3]/travellerInformation/traveller/ surnameCHILDS
/citypair/travellerInformationSection[3]/travellerInformation/passenger[1]/ firstNameWILLIAM
/citypair/travellerInformationSection[3]/travellerInformation/passenger[2]/ firstNameBENJA
/citypair/travellerInformationSection[3]/relatedProduct/ quantity2
/citypair/travellerInformationSection[3]/travelProduct/product/ depDate220301
/citypair/travellerInformationSection[3]/travelProduct/boardpointDetail/ cityCodeNCE
/citypair/travellerInformationSection[3]/travelProduct/offpointDetail/ cityCodeORY
/citypair/travellerInformationSection[3]/travelProduct/companyDetail/ identificationAF
/citypair/travellerInformationSection[3]/travelProduct/productDetails/ identification6209
/citypair/travellerInformationSection[3]/reservationInfo/reservation/ companyId1A
/citypair/travellerInformationSection[3]/reservationInfo/reservation/ controlNumberYCHVB7
/citypair/travellerInformationSection[3]/productInfo/product/ identificationY
/citypair/travellerInformationSection[3]/messageAction/business/ function1

Double Click To Show XML

Error Messages

Error CodeError Text
15INVALID
1959NEED PNR
1978RESTRICTED PRIOR TO EOT
1958AXR DOES NOT EXIST
1931NO MATCH FOR RECORD LOCATOR
85NO NAME
9305NO NAME OR SECURED


Operation: Merge of Split PNR

The reply structure returned is a Single PNR Content structure but will contain all contents of every PNR associated by a Split operation.

Query Structure


Double Click To Show XML

1 V

Reply Structure


Double Click To Show XML

Possible Errors

1978 - RESTRICTED PRIOR TO EOT

Prior to merging split PNR data elements, one of the split PNRs or the list of associated split PNRs must be retrieved. If no PNR has been retrieved prior to the merge request, the system assumes that the Split PNR operations have been performed on the active PNR in the session and has not yet been ended and will return a restricted error response.

End transaction on the Split PNR operations if it is currently active, retrieve the appropriate split PNR or the list of associated split PNRS.

1958 - AXR DOES NOT EXIST

The retrieval of merged split PNR data elements is only applicable to PNRs that, of course, contain associations to split PNRS.

Check that the active PNR actually has split PNR associations. Possibly re-retrieve the PNR or the list of associated split PNRs and retry the entry.


Operation: Re-Retrieval of Active PNR

The reply structure returned is a Single PNR Content reply. However, due to the fact that it is not necessary for the record to be completed and stored in the Amadeus System prior to the use of this operation, it is possible that an incomplete record structure will be returned.i.e., only the elements that exist can be returned.

Query Structure


Double Click To Show XML

1

Reply Structure


Double Click To Show XML

Possible Errors

For the re-retrieval of an active PNR, it is necessary for a PNR to be active in the session. If no PNR is found, the Amadeus system will consider the request for record retrieval to be invalid.

15 - INVALID

Create an active PNR in the session or retrieve the record by record locator.


Operation: Retrieval of Associated PNR List

The reply structure returned is a Multiple PNR index list of PNRs associated to each other via a split operation. However, only the following elements are returned in the reply:

  • Passenger Name
  • Number of passengers in the record
  • Record Locator

The following is an example of the reply structure that will be returned:

PNR List - Data elementValue
/citypair/travellerInformationSection[1]/travellerInformation/traveller/ surnameCHILDS
/citypair/travellerInformationSection[1]/travellerInformation/passenger/ firstNameBENJA
/citypair/travellerInformationSection[1]/relatedProduct/ quantity1
/citypair/travellerInformationSection[1]/travelProduct/productDetails/ identificationOPEN
/citypair/travellerInformationSection[1]/reservationInfo/reservation/ companyId1A
/citypair/travellerInformationSection[1]/reservationInfo/reservation/ controlNumberYCHZD6
/citypair/travellerInformationSection[1]/messageAction/business/ function1
/citypair/travellerInformationSection[2]/travellerInformation/traveller/ surnameCHILDS
/citypair/travellerInformationSection[2]/travellerInformation/passenger/ firstNameWILLI
/citypair/travellerInformationSection[2]/relatedProduct/ quantity1
/citypair/travellerInformationSection[2]/travelProduct/productDetails/ identificationOPEN
/citypair/travellerInformationSection[2]/reservationInfo/reservation/ companyId1A
/citypair/travellerInformationSection[2]/reservationInfo/reservation/ controlNumberYCHZD2
/citypair/travellerInformationSection[2]/messageAction/business/ function1

Query Structure


Double Click To Show XML

1 X

Reply Structure


Double Click To Show XML

Possible Errors

Prior to retrieving a list of associated split PNRs, a PNR with split associations must be active in the session.

1959 - Need PNR

Retrieve a PNR with split Associations and retry the association list retrieval request.


Operation: Retrieve By Account Number

The account number specified must be contained within the PNR as an "account remark" and not as an interface account number that is transmitted to back office systems. Verify that the account number entered and retry the entry.

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

6 12345

Reply Structure


Double Click To Show XML

Possible Errors

9305 - NO NAME OR SECURED

If the system finds no PNRs containing the account number specified, it will be assumed that there are no records created with that account number or that the records created are secured and not available to the requestor, and the following error will be returned.


Operation: Retrieve By Customer Profile

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

7 4CV3E5

Reply Structure


Double Click To Show XML

Possible Errors

9305 - NO NAME OR SECURED

If the system finds no PNRs created using the profile number specified, it will be assumed that there are no records created or that the records created are secured and not available to the requestor, and the following error will be returned. Be sure that the profile number specified is the correct profile number and retry the entry.


Operation: Retrieve By Frequent Traveller Information

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

5 LH 992222899525661

Reply Structure


Double Click To Show XML

Possible Errors

9304 - NO NAME OR SECURED

If the system finds no PNRs containing the frequent traveller number specified, it will be assumed that there are no records created or that the records created are secured and not available to the requestor, and the following error will be returned. Verify the frequent traveller number and retry the entry.


Operation: Retrieve By Name - Default Office

The reply structure returned is either a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

3 childs

Reply Structure


Double Click To Show XML

Possible Errors

Similar name list

If no PNRs matching the exact name are found, the system will return a list of similar names found for the requesting office. The index will be in the format of the valid reply given above.

85 - NO NAME

If no names are found matching the exact name and no similar names can be found either, the system returns an error. Check the spelling of the name and retry the entry


Operation: Retrieve By Name - Specific OfficeID

The reply structure returned is either a Single PNR Contentreply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

3 MIA1S213F childs

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" Section.


Operation: Retrieve By Name With Date

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

3 childs 150301

Reply Structure


Double Click To Show XML

Possible Errors

85 - NO NAME

If the system does not find a match on a PNR for the name and date specified it is assumed that no record exists containing that name and departure date with active elements remaining. Check the name and date specified and retry the entry.


Operation: Retrieve By Name With Date and Only Active PNRs

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

3 A childs 280301

Reply Structure


Double Click To Show XML

Possible Errors

85 - NO NAME

If the system does not find a match on a PNR for the name and date specified it is assumed that no record exists containing that name and departure date with active elements remaining. Check the name and departure dates specified and retry the entry or try the entry request without the specification for only PNRs with active elements remaining.


Operation: Retrieve by Record Locator

The reply structure returned is a Single PNR Content reply.

Query Structure


Double Click To Show XML

2 YCHZD6

Reply Structure


Double Click To Show XML

Possible Errors

1931 - NO MATCH FOR RECORD LOCATOR

The Amadeus system has no match for the record locator requested for retrieval. Check the record locator entered:retrievalFacts/reservationOrProfileIdentifier/reservation/controlNumber


Operation: Retrieve by Record Locator With Name

The reply structure returned is a Single PNR Content reply.

Query Structure


Double Click To Show XML

2 YA76F8 childs

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" Section.


Operation: Retrieve by Record Locator With Name and Ticket Number

The reply structure returned is a Single PNR Content reply.

Query Structure


Double Click To Show XML

2 YA76F8 childs 057 7024209573

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" Section.


Operation: Retrieve By Service And Name With Flight Number

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

4 AIR childs 280301 AF 6201

Reply Structure


Double Click To Show XML

Possible Errors

9305 - NO NAME OR SECURED

If no record containing the matching criteria is found, it is assumed thatno names exist or that the records are not available to the requesting office. Check the flight number, date and name specified and retry the entry. Take special attention to the date specified, as if no date is entered the default date of the current date will be used. It is not possible to eliminate the date field in anticipation of a list for all PNRs with the specific flight number for all dates and will result in the above error if no flights for the current date are found.


Operation: Retrieve For Auxiliary Segments

The reply structure returned is a Single PNR Content reply or a Multiple PNR Index List.

Query Structure


Double Click To Show XML

4 CCR childs 280301

Reply Structure


Double Click To Show XML

Possible Errors

9305 - NO NAME OR SECURED

If the system finds no PNRs containing a matching auxiliary element for the date and name specified, it will be assumed that there are no records created or that the records created are secured and not available to the requestor, and the following error will be returned. Verify the auxiliary element code, date, and name specified and retry the entry. Take special attention to the date specified, as if no date is entered the default date of the current date will be used. It is not possible to eliminate the date field in anticipation of a list for all PNRs with the specific auxiliary element for all dates and will result in the above error if auxiliary elements for the current date are not found.






Function: RetrieveByOARloc


Overview

Once the OA record locator is found with exact match and if specified in input??‚ with the correct airline/GDS code, access to the PNR is allowed, according to the PNR retrieval access rules

In case of split:

  • the parent PNR stays retrievable on the original true originator
  • the child PNR stays retrievable on the parent true originator

Supported Operations

The record locator in the query can be an airline record locator, or a GDS one(including Amadeus record locator).

The PoweredPNR RetrieveByOARloc allows the following operations:

  • PNR Retrieval by record locator and provider code

If one match is found, the Amadeus Record Locator is returned.

If multiple PNRs have same OA record locator and provider code, a list of PNRs with Amadeus Record locators is displayed in alphabetical order.

  • PNR Retrieval by OA record locator only

If a single match is found, the corresponding Amadeus Record Locator is returned

If multiple PNRs have same record locator, a list of PNRs with Amadeus Record locators is displayed.

If a record locator is indexed towards several provider code (Airline, external GDSs or 1A), a list of PNRs will be displayed with each of the provider code.

Limitations

Not applicable.

Unsupported Operations

Not applicable.

Prerequisites

Not applicable.

Building A Query

Retrieve one PNR:

Receiving A Reply

Error Reply Structure


Double Click To Show XML

Error Messages

ERROR MESSAGE CODE DESCRIPTION
ENTRY NOT AUTHORISEDERR02011Check user group security . Message returned if the agent is authorized to perform the input
CHECK FORMATERR00001A format check is done, and if it is correct the search for the other airline record locator is initiated. An OA record locator consists of five or more alpha/numeric characters. If characters are less than five, this message is returned.
INVALID SYSTEM CODEERR21582Check the Airline Product Table (APT) for valid third party code. If an invalid third party code is entered, this message is returned.
NO NAME OR SECUREDERR9305If the OA record locator is not found or is secured, this message is returned.

If there are any technical problems during the retrieval, the following error messagesmay be displayed

ERROR MESSAGE CODE DESCRIPTION
LINK DOWN - RETRYERR3673If there is a link down between Central System and the SBR server
RESPONSE TIMED OUT - SBRERR15529If there is a time out on SBR server side
UNABLE TO PROCESS - CONTACT HELP DESKERR4070When there is an internal error



Operation: Retrieve a List of PNRs

A query retrieving a List of PNRs

Query Structure


Double Click To Show XML

1G ABCDE

Reply Structure


Double Click To Show XML

5Z 2TSY4B 2TSY4B

Possible Errors

See "Error Messages" section.






Function: Split


Overview

The function Split separates passengers from a parent PNR and creates a new child PNR with these passengers and their associated segments and elements.

The parent and child PNRs are then linked through Associated Record Indexing (AXR).

Supported Operations

The following split operations are possible:

  • Split - Individual Names

This operation splits one or several passengers from the PNR (individual or group).

  • Split Group PNR - Unassigned Names

This operation splits a number of unassigned names from the group PNR.

  • Split Group PNR - Unassigned and Individual Names combination

This operation splits both unassigned and individual names from the group PNR.

  • Split Group PNR - Partial Confirmation of Space

For a group PNR with partially confirmed segments without passenger associations, this operation allows to split unassigned and/or individual names and specify the number of confirmed/unconfirmed segments which will be split.

  • Split - Special Elements Handling

Additionnally to the above operations, the user may choose to keep or move specific elements in the PNR, for example a certain number of services which are not passenger associated, or auxiliary segments.

Limitations

The following operations are not allowed on Split PNRs until end of transaction of both child and parent:

  • Additional split party
  • Increase/Decrease number in party
  • Change office of responsibility
  • Non-homogeneous conditions
  • Add passenger
  • Print Ticket on child PNR (Ticket print of the parent PNR will be permitted)
  • Print Invoice on child PNR (Invoice print of the parent PNR will be permitted)
  • Display or print of Itinerary
  • PTA creation
  • Print Car voucher

Unsupported Operations

The functionality "split range of names" is not provided. Instead the user has to specify exactly which passengers will be splitted.

Prerequisites

A PNR has been retrieved and has not been modified yet.

Building A Query

A user may directly split a PNR for which the record locator is known. In this case he provides the record locator in the request (reservation control number)

He may also choose to split a PNR currently displayed (previously retrieved), in which case no record locator is required.

Receiving A Reply

Two kind of replies are possible.

  • If the split was succesful, the child PNR is displayed.
  • If the split failed, an error message is issued.

Error Reply Structure

The reply is a display of the child PNR. Special restrictions apply to this child PNR and only a "end file" type of end of transaction is permitted (AddMultiElements with optionCode 14).

After the child has been filed, the parent PNR is displayed.

Upon end of transaction of parent PNR (AddMultiElements with optionCode 10 for example), the child PNR record locator is displayed within the end of transaction reply.


Double Click To Show XML

Error Messages



Operation: Split - individual names

This operation splits one or several passengers from the PNR (individual or group).

  • If a PNR is already retrieved, the user has to specify the element type ("PT" for passenger tattoo) and the tattoos of the passengers to split (their line number in the PNR display).
  • If no PNR has been retrieved, the user can add the record locator in the request.

Example: split passengers 1,5,6 from PNR ABCDEF

Query Structure


Double Click To Show XML

ABCDEF PT 1 5 6

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Split group PNR - unnassigned names

This operation splits unassigned names from a group PNR.

  • If a PNR is already retrieved, the user has to specify the element type ("PT" for passenger tattoo) and the number of unassigned names to split.
  • If no PNR has been retrieved, the user can add the record locator in the request.

Example: split 2 unassigned names from currently displayed PNR.

Query Structure


Double Click To Show XML

PT 2

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Split group PNR - unnassigned/individual names combination

This operation splits both unassigned and individual names from a group PNR.

  • If a PNR is already retrieved, the user has to specify the element type ("PT" for passenger tattoo), the number of unassigned names to split, and the tattoos of individual names to split
  • If no PNR has been retrieved, the user can add the record locator in the request.

Example: split 2 unassigned names and split passengers 1 and 3 from currently displayed PNR.

Query Structure


Double Click To Show XML

PT 2 1 3

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Split group PNR with partial confirmation of space

This operation splits names from a group PNR and specifies for partially confirmed segments how confirmed/unconfirmed space will be split.

  • As usual, if a PNR is already retrieved, the user has to specify the element type ("PT" for passenger tattoo), the unassigned and individual names to split.
  • If no PNR has been retrieved, the user can add the record locator in the request.

He can then specify:

  • the number of confirmed (HK) seats to split for each segment
  • OR the number of confirmed and the number of unconfirmed seats, in which case the total number of specified seats must match the number of split passengers.

Example: split 2 unassigned names and passengers 1 and 2 from currently displayed PNR, take 2 confirmed seats from segment 3 (segment with HK status) and 2 unconfirmed seats from segment 4 (segment with HL status)

Query Structure


Double Click To Show XML

PT 2 1 2 ST 2 3 ST 2 4

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Split with special elements handling

This operation splits names from PNR and specifies how to handle special elements.

  • As usual, if a PNR is already retrieved, the user has to specify the element type ("PT" for passenger tattoo), the unassigned and individual names to split.
  • If no PNR has been retrieved, the user can add the record locator in the request.

When there are elements in the PNR without passenger association, the user can specify whether to transfer them (by choosing a number of items to transfer), or to keep them in parent PNR (by choosing 0 as number of items to transfer). This applies to both auxiliary segments (choose ST type) and services/other elements (choose OT type).

Example: split passengers 1,2, 4 from currently displayed PNR, keep auxiliary segment 7 within PNR, keep element 10 and 18 in parent PNR, transfer 3 items from element 11 (service with number of items) to child PNR, transfer element 12 (element without number of items) to child PNR

Query Structure


Double Click To Show XML

PT 1 2 4 ST 0 7 OT 0 10 OT 0 18 OT 3 11 OT 1 12

Reply Structure


Double Click To Show XML

Possible Errors






Function: TransferOwnership


Overview

The TransferOwnership function is used to change the office ofresponsibility of a PNR. The responsible office can be either an Amadeus office id or OA identification.Additionally, the queuing office ID, the ticketing office ID, the office idspecified in the option queue element can be modified.
This functionality can be used at creation of the PNR or on a retrieved from file PNR.

Supported Operations

Not applicable.

Limitations

The queuing office, ticketing office and/or the office ID in the option queue element can not be changed without changing the owner of the PNR.

Unsupported Operations

Not applicable.

Prerequisites

The user is entitled to transfer the PNR ownership.

A PNR must be retrieved:

  • If the user works on an existing PNR that has already beenend-transacted, the PNR has to be previously retrieved.This can be done via the function Retrieve.
  • If the PNR being created, at least one element needs to have been added to the PNR. This can be done via the function AddMultiElements,

The context must be kept between the different transactions.

Building A Query

At least one Amadeus office ID or OA identification (mutually exclusive) must be present.

Input parameters involved:

  • PNR record locator (optional), recordLocator
  • New PNR Owner (mutually exclusive, one mandatory)
  1. Amadeus Office ID (officeIdentification)
  2. OA Identification (oaIdentificatior)
  • Single PNR indicator : indicate to change only current PNR, not PNRs linked with AXR to the current one
CodeDescription
NPRInhibit propagationthrough AXR

Input parameters involved in the Amadeus office ID:

  • Amadeus Office ID
  • Queuing office (optional)
CodeDescription
QOChange the queuing office of the PNR
  • Ticketing office (optional)
CodeDescription
TOChange the ticketing office of the PNR
  • Option queue office (optional)
CodeDescription
OQChange the option queue element of the PNR

The record locator may be passed when the transaction is performed on retrieved PNR. In that case, the system checks that it corresponds to the current PNR.

Receiving A Reply

If the process is successful:

  • The ownership of the PNR is transfered
  • If new owner is an Amadeus Office ID and if corresponding indicators were set, the queuing office, the ticketing office and the option queue office are changed
  • If specified in the request, the record locator is put in the reply
  • The new owner is put in the reply (the one specified in the query)

If the process is not successful, an error is sent in the reply.

Error Reply Structure

A generic reply contains:

A generalError group contains error details and message

  • The /errorDetails /errorCode (on five digits)
  • The /errorDetails /errorCategory (ZZZ = Mutually defined error)
  • The /errorDetails /errorOwner (always 1A)
  • The /errorFreeText /freeTextDetails /textSubjectQualifier (always 3 = literal text)
  • The /errorFreeText /freeTextDetails /source (always A = system)
  • The /errorFreeText /freeTextDetails /encoding (always 2 = ASCII 8 bits)
  • The /errorFreeText /freeText of the error

A group for the Amadeus office ID (if specified in the query) (officeIdentification)

  • The owner specified in the query (officeIdentificator)
  • An error group officeError (see above structure of the general error group)

A group for the OA identification (oaIdentification)

  • The owner specified in the query (oaIdentificator)
  • An error group oaError (see above structure of the general error group)

An error group is present only in case of error occurring during the process, and only one.


Double Click To Show XML

Error Messages

Description of any error messages that might be received when using this Interface. List of all error messages that this Function might give.

MessagecodeDescription
PNR NOT PRESENT1383There is no retrieved PNR
NO MATCH FOR RECORD LOCATOR1931The record locator given in the request does not correspond to the record locator in context.
UNABLE TO PROCESS11Technical error. Contact help desk
IGNORE AND RE-ENTER55Technical error. Contact help desk
INVALID REQUEST308Both Amadeus office id and OA identification are present in the request
INVALID OFFICE IDENTIFICATION CODE1533Invalid Amadeus office ID
INVALID FORMAT/NOT ENTERED/1892The fourth and fifth characters of OA identification are numeric.


Operation: Transfer Ownership To An OA Identification

This example shows the transfer of ownership to an OA identification on a retrieved PNR.

Query Structure


Double Click To Show XML

ZTAVRC HDQRM

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Transfer Ownership To An Office ID

This example shows the query which transfers ownership of a retrieved PNR, changing also the ticketing office, without propagation through the AXR.

Query Structure


Double Click To Show XML

ZTAVRC NPR NCEAF0100 TO

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.






Function: UpdateTSM


Overview

All TSM (except type F for US market and BA ATO/CTO, and type P) can be updated, based on its tattoo. The update mechanism is in mirror mode. The update query contains all the TSM information. A missing segment or data element in the query means that the corresponding data is reset.
All TSM data can be updated, except the date, the TSM type and the passenger association.

The reply is the full data of the TSM.

Supported Operations

All updates that can be done via a TMI entry, as described in A02MPD3282.

Limitations

No fare elements can be updated via this function (FP, FM,...).

Unsupported Operations

TSM type F for US market and BA ATO/CTO can't be updated.
TSM type P can't be updated.

Prerequisites

Prior to using the function operations, it is necessary to have an active PNR in the session.

Building A Query

The query must be filled in mirror mode i.e. all the existing fields must be filled in. A voided field corresponds to a deletion of the data matching the field.

Receiving A Reply

The reply consists in the display of TSM data or an error.

Error Reply Structure

Example of update reply of a TSM type E:


Double Click To Show XML

Error Messages

Error Code

Error Text
1 CHECK FORMAT
11 UNABLE TO PROCESS
432 INVALID CURRENCY CODE
477 INVALID FORMAT
1157 INVALID CITY CODE
1503 UPDATE RESTRICTED
2063 INVALID FARE
2069 INVALID BASE AMOUNT
2070 INVALID EQUIVALENT AMOUNT
2071 INVALID TAX AMOUNT
2072 INVALID TOTAL AMOUNT
2221 CHECK COUPON NUMBER
3679 INVALID TAX INDICATOR/FOR REISSUE TRANSACTIONONLY
4537 NEED VALID ISO TAX CODE
4538 INVALID ISO TAX CODE
4962 INVALID TICKET/COUPON STATUSINVALID NET FARE AMOUNT
5486 INVALID TICKET/COUPON STATUS
6411 MAXIMUM OF 15 TAXES ALLOWED
7133 NO ETKT RECORD IN AAA
7811 INVALID CARRIER CODE
10543 MAXIMUM OF 1 TAX/MCO ALLOWED
10569 INVALID INTERNATIONAL INDICATOR
10571 INVALID "EQUIVALENT OTHER CHARGES AMOUNT
10572 INVALID EXCHANGE AMOUNT
10573 INVALID EQUIVALENT EXCHANGE AMOUNT
10574 INVALID SERVICE CHARGES
10742 INVALID OTHER CHARGES AMOUNT
10748 INVALID - PRESENT TO
10749 INVALID - PRESENT AT
10753 INVALID - ADDITIONAL INFO/REMARKS
10754 INVALID - ISSUED IN CONNEXION/W
10755 INVALID - BANKERS RATE 1
10756 INVALID - BANKERS RATE 2
10763 MCO - NEED FARE/TOTAL/EXCHANGE VALUE
10782 INVALID - TRANSITIONAL CURRENCY
11504 BA BUDGET: ACCOUNT / CENTRE CODE NOT FOUND
12447 ERROR - UP TO 4 PFC TAXES CAN BE ENTERED INADD.INFO/RMKS FIELD
12705 INVALID REASON FOR ISSUANCE/CHARGE CODE
22350 INVALID COUPON STATUS
22460 INVALID REASON FOR ISSUANCE/CHARGE DESCRIPTION


Operation: Update a TSM type E

This query is to request the update of the TSM 3 which is type E.

Query Structure


Double Click To Show XML

130 47 TEST REF 3 IF PAR IB X NCE 4 PC 22.00 EUR IF NCE IB X MAD

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Update a TSM type F, TASF

This query is to request the update of the TSM 3 which is type F on CH market.

Query Structure


Double Click To Show XML

130 47 TSM/TASF 5.00 CHF I 5.00 CHF B 5.00 CHF XC XB A OVERRIDE DESCRIPTION 47 4 TASF AGENCY 40 3 REF 3

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Update a TSM type M

This query is to request the update of the TSM 3, which is type M.

Query Structure


Double Click To Show XML

130 47 TSM/M 50.00 EUR I 20.00 CAD B 30.00 EUR E 36.00 EUR EXC 3.00 EUR EOC 20.00 CAD XC 3.00 CAD OC 9.00 EUR SC 1.12 USD D 1.2554654 D 5.20 EUR H LH D 700 EUR 1.00 FR EUR 2.00 FR SE 702 EUR 5.00 FR B *SURFACE TRANSPORTATION 47 4 TEST REMARKS 7 3 LUFTHANSA 40 3 LONDON 42 3 PAX A PAX B PAX C 41 3 2201234567890C1 9 3 REF 3

Reply Structure


Double Click To Show XML

Possible Errors


Operation: Update for VAT country in a TSM type M

This query is to request the update of VAT country in TSM 3, which has type M.

Query Structure


Double Click To Show XML

130 47 TSM/M 50.00 EUR I 20.00 CAD B 30.00 EUR E 36.00 EUR EXC 3.00 EUR EOC 20.00 CAD XC 3.00 CAD OC 9.00 EUR SC 1.12 USD D 1.2554654 D 5.20 EUR H DE D 700 EUR 1.00 FR EUR 2.00 FR SE 702 EUR 5.00 FR B *SURFACE TRANSPORTATION 47 4 TEST REMARKS 7 3 LUFTHANSA 40 3 LONDON 42 3 PAX A PAX B PAX C 41 3 2201234567890C1 9 3 REF 3

Reply Structure


Double Click To Show XML

Possible Errors






Function: UpgradeRedemption


Overview

The UpgradeRedemption function is used to create one or several SSR FQTU. The SSR FQTU elementindicates that the passenger will be upgraded in an upper class, using miles which were accrued underthat card numberfor the segments to be flown.

For airlines which store their frequent flyer database within the Amadeus Global Core systemthe frequent flyer number is validated against the card owning airline's database but there isno validation of the name since a card holder may use his points in favor of someone else.If the airline does not store the frequent flyer database within Amadeus Global Core system,the SSR FQTU is stored in the PNR without validation.

For airlines which are users of the AF group Customer Application, the card number validationis performed in the Customer Application. The Customer Application may respond to the user withan FD element which will be added to the PNR.

For airlines which are users of interactive validation application,the validation of theupgrade is performed in the Loyalty System of the airline asking for this interactive validation(it can be target airline or card owner airline or the both). In this case, the SSR FQTU is storedin the PNR only if it is approved by the interactive validation: if an error is returned by Loyaltysystem of the airline concerned by interactive validation, the SSR FQTU is not added in the PNR.

Supported Operations

Not applicable.

Limitations

Not applicable.

Unsupported Operations

Not applicable.

Prerequisites

A PNR must be present in the AAA:
If the user works on an existing PNR that has already been end-transacted, the PNR has tobe previously retrieved. This can be done via the verb PoweredPNRRetrieve.

If the user works on a new PNR, name elements and segments must be present in the PNR. Thiscan be done via the verb PoweredPNRAddMultiElements.

In the context of interactive validation, the PNR must have been end-transacted after theaddition of flights, before adding the SSR FQTU.

The context must be kept between the different transactions.

Building A Query

Input parameters:

Only the input parameters containing the frequent traveler information are mandatory.

Input parameters involved in the Frequent Traveler Verification:

  • action request: see fqtvData in the codesets
  • airline code: Frequent Flyer Card owning airline
  • frequent flyer number
  • In the context of interactive validation, the certificate number:this field contains a number, delivered by card owner airline, which identifies the contentof upgrade request in card owner airline system. (passenger name, flights, dates..)

Input parameters involved in the Related Product Information

  • The status code that will be used for the SSR FQTU added

Input parameters involved in the Interactive Free Text

  • Free text: can contain a reason for the upgrade

Input parameters involved in the Reservation Control Information

  • reservation control number: this field contains the Amadeus record locator

Input parameters involved in the Traveler Information

  • The passenger surname
  • The passenger given name
  • The traveler reference number: this field contains the tattoo number of the passengerthat will be associated to the SSR FQTU. It has been transmitted in a previous response message.

Input parameters involved in the Travel Product Information

  • The segment reference number: this field contains the tattoo number of the segment thatwill be associated to the SSR FQTU. It has been transmitted in a previous response message.

Receiving A Reply

If the process is successful

  • For airlines users of the AF group Customer Application:
    • One or several validated SSR FQTU elements are created.
    • And/Or an FD element is created.
    • And/Or Warning messages are displayed.
    • SSR FQTU elements, warnings, FD element are sent in the reply message.

  • For other airlines
    • One or several SSR FQTU elements are created. They may be validated or not.
    • SSR FQTU elements are sent in the reply message.


If the process is not successful: an error is sent in the reply message

Remark: This transaction does not save the PNR. The update will become effective after aCommit transaction. Therefore a context must be kept between the different transactions.

Error Reply Structure

A generic reply can contain

  • a record locator
  • a generic error containing:
    • An error code: the Amadeus canned message number corresponding to the error
    • An error category for either a Mutually defined warning (code WZZ) or a Mutually defined error (code ZZZ)
    • An error code owner (always 1A)

  • A generic error message
  • One or several Travel Product Information containing:
    • The segment reference

  • A Traveler Information containing:
    • The passenger surname
    • The passenger given name
    • The passenger reference

  • One Frequent Traveler Verification per SSR FQTU created containing:
    • The alliance tier description
    • The Frequent Flyer Card owning airline
    • The target airline
    • The Frequent Flyer number
    • The category: set to PAX if the element is an FD
    • The certificate number
    • The airline priority code or tier level
    • The award code

  • A Related Product Information containing:
    • The status code of the SSR.

  • A Free Text containing:
    • The reason for the redemption

  • A Frequent Flyer error containing:
    • An error code: the Amadeus canned message number corresponding to the error
    • An error category for either a Mutually defined warning (code WZZ) or a Mutually defined error (code ZZZ)
    • An error code owner (always 1A)

  • A Frequent Flyer error message

Note: this is only a generic reply. In reality, all these fields can not be present atthe same time.

In case of error, see the "Error Message" section.

Generic reply containing Passenger information:


Double Click To Show XML

Error Messages

Generic Edifact error

The reply contains only the error information and the error message.

Message Code Description
INVALID EDIFACT FORMAT 3973 Some fields are missing, or does not respect thepredefined size or contain invalid characters.

Generic errors

In these cases, the reply contains the record locator if given in the request,the error information and the error message.

Message Code Description
PNR NOT PRESENT1383There is no PNR present in AAA
NO MATCH FOR RECORD LOCATOR1931The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS11Technical error. Contact help desk.
IGNORE AND RE-ENTER55Technical error. Contact help desk.

Errors linked to the Frequent Flyer Add process

In these cases, the reply contains the record locator if given in the request,the Frequent Traveler Verification given in the request, the error information and the error message.

Message Code Description
SINGLE PASSENGER ASSOCIATION ALLOWED35The card can be associated to only one passenger
NO MATCH FOR NAME39The name in the PNR does not match the name of the card
INVALID ACCOUNT NUMBER313The frequent flyer card does not exist
INVALID FREQ FLYER AIRLINE535The frequent flyer owner airline or the target airline is not valid
NEED NAME1436There is no name in the PNR (this error is only for FFN entries)
PASSENGER AND/OR SEGMENT DATA NOT VALID1949The passenger association is not valid
NO FREQUENT FLYER CARD2415The frequent flyer card does not exist
NO FREQUENT FLYER CARD - REENTER AS FOID2416The frequent flyer card does not exist
NEED PASSENGER ASSOCIATION 3500The passenger association must be specified if there are several names in the PNR
FARE ELEMENT ALREADY EXISTS FOR PASSENGER/SEGMENT3671FD element already exists in the PNR (only for Air France)
INVALID PASSENGER ASSOCIATION4725The passenger association of the FD is incorrect
INVALID - NO AGREEMENTS BETWEEN6132No agreements between the frequent flyer card owner and the target airline
NO DATABASE FOR AIRLINE6182The frequent flyer card owner airline does not maintain a frequent flyer database in Amadeus
LINK DOWN - RETRY IN 2 MINUTES2162The link is down with the frequent flyer database

Errors linked to the Interactive validation process

In these cases, the reply contains the record locator, the errorinformation returned by the airline loyalty system (the airline which was asking for aninteractive validation) and the error message.

Note:

  • The messages below are just examples. The list is not an exhaustive list.
  • These error messages are returned by the loyalty system of the airline which is askingfor an interactive validation. Do not forget it could be target airline or card owner airline.

Message Code Description
MEMBER NUMBER NOT FOUND IN DATABASE21744The Frequent Flyer was not found in the system
INVALID CARRIER FOR FQTX21775The target airline is not authorized for redemption
CERTIFICATE NUMBER ALREADY USED21754The certificate number identifying this redemption was already used
INVALID CLASS FOR FQTX21778The redemption is not authorized on the class requested



Operation: Add an SSR FQTU

There must be a PNR retrieved with record locator XXXXXX or in creation in the AAA.

The example shows the message required to add an SSR FQTU specified by the following data:

Card Owner Airline Card Number
IB00300004

Query Structure


Double Click To Show XML

ZEWNS4 O IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTU with associations

There must be a PNR retrieved with record locator XXXXXX or in creation in the AAA.

The example shows the message required to add an SSR FQTU specified by the following dataand associations:

Card Owner Airline Card Number
IB00300004

Query Structure


Double Click To Show XML

ZEWNU7 1 MARTINEZDEMATA JORGE 1 O IB 00300004 2 MARTINEZDEMATA JORGE 1 O IB 00300004

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Add an SSR FQTU with certificate number for interactive validation

There must be a PNR retrieved with record locator XXXXXX or in creation in the AAA.

The example shows the message required to add an SSR FQTU specified by the following dataand associations, with a certificate number:

Card Owner Airline Card Number
SA100178

Query Structure


Double Click To Show XML

YXEMUV O SA 100178 12345

Reply Structure


Double Click To Show XML

Possible Errors

See "Error Messages" section.


Operation: Generic Reply

Query Structure


Double Click To Show XML

Reply Structure


Double Click To Show XML

ZEWNS4 0 MARTINEZDEMATA JORGE 1 O IB 00300004 HK

Possible Errors