V2
User's Guide

Interface: PoweredPNR


1 Introduction

ReduceNIP

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

DeleteTSM
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.

NameChange

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

Split

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

AddFrequentFlyer

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

CreateTSM
UpdateTSM

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

Cancel

This function allows the user to cancel elements of a PNR.

TransferOwnership

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

AddRedemption

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

Retrieve

This function retrieves a PNR and/or its contents. This function also retrieve a list of PNRs

ListTSM
AddMultiElements

Main operations that create and modify elements within a PNR.

DisplayHistory

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

DisplayTSM
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.

UpgradeRedemption

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

2 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 Element Name of the passenger
Phone Element Telephone number or contact information for the passenger
Ticketing Element An 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 Element An indication of how the reservation is to be paid for
Received From Element An 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 element Value
/pnrHeader/reservationInfo/reservation/ companyId 1A
/pnrHeader/reservationInfo/reservation/ controlNumber 3KEW7C
/pnrHeader/reservationInfo/reservation/date 220108
/pnrHeader/reservationInfo/reservation/time 1221
/securityInformation/responsibilityInformation/ typeOfPnrElement RP
/securityInformation/responsibilityInformation/ agentId AASU
/securityInformation/responsibilityInformation/ officeId NCE1A0950
/securityInformation/responsibilityInformation/ iataCode 12345675
/securityInformation/queueingInformation/ queueingOfficeId NCE1A0950
/securityInformation/ cityCode NCE
/securityInformation/secondRpInformation/ creationOfficeId NCE1A0950
/securityInformation/secondRpInformation/ agentSignature 0001AA
/securityInformation/secondRpInformation/ creationDate 220108
/ securityInformation/secondRpInformation/ creatorIataCode 12345675
/ securityInformation/secondRpInformation/ creationTime 1221
/freetextData/freetextDetail/ subjectQualifier 3
/freetextData/freetextDetail/type P12
/freetextData/ longFreetext --- RLR ---
/sbrPOSDetails/sbrUserIdentificationOwn/originIdentification/ originatorId 12345675
/sbrPOSDetails/sbrUserIdentificationOwn/originIdentification/ inHouseIdentification1 NCE1A0950
/sbrPOSDetails/sbrUserIdentificationOwn/ originatorTypeCode A
/sbrPOSDetails/sbrSystemDetails/deliveringSystem/ companyId 1A
/sbrPOSDetails/sbrSystemDetails/deliveringSystem/ locationId NCE
/sbrPOSDetails/sbrPreferences/userPreferences/ codedCountry FR
/sbrCreationPosDetails/sbrUserIdentificationOwn/originIdentification/ originatorId 12345675
/sbrCreationPosDetails/sbrUserIdentificationOwn/originIdentification/ inHouseIdentification1 NCE1A0950
/sbrCreationPosDetails/sbrUserIdentificationOwn/ originatorTypeCode A
/sbrCreationPosDetails/sbrSystemDetails/deliveringSystem/ companyId 1A
/sbrCreationPosDetails/sbrSystemDetails/deliveringSystem/ locationId NCE
/sbrCreationPosDetails/sbrPreferences/userPreferences/ codedCountry FR
/sbrUpdatorPosDetails/sbrUserIdentificationOwn/originIdentification/ originatorId 12345675
/sbrUpdatorPosDetails/sbrUserIdentificationOwn/originIdentification/ inHouseIdentification1 NCE1A0950
/sbrUpdatorPosDetails/sbrUserIdentificationOwn/ originatorTypeCode A
/sbrUpdatorPosDetails/sbrSystemDetails/deliveringSystem/ companyId 1A
/sbrUpdatorPosDetails/sbrSystemDetails/deliveringSystem/ locationId NCE
/sbrUpdatorPosDetails/sbrPreferences/userPreferences/ codedCountry FR
/technicalData/enveloppeNumberData/sequenceDetails/number 1
/technicalData/lastTransmittedEnveloppeNumber/ currentRecord 0
/technicalData/ purgeDateData/year 2008
/technicalData/ purgeDateData/month 03
/technicalData/ purgeDateData/day 21
/travellerInfo/elementManagementPassenger/reference/qualifier PT
/travellerInfo/elementManagementPassenger/reference/number 1
/travellerInfo/elementManagementPassenger/ segmentName NM
/travellerInfo/elementManagementPassenger/ lineNumber 1
/travellerInfo/ travellerInformation/traveller/surname CHILDS
/travellerInfo/ travellerInformation/traveller/quantity 1
/travellerInfo/ travellerInformation/passenger/ firstName LISA
/ originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/reference/ qualifier ST
/ originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/reference/ number 2
/ originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/ segmentName CCR
/ originDestinationDetails/itineraryInfo[1]/elementManagementItinerary/ lineNumber 3
/ originDestinationDetails/itineraryInfo[1]/travelProduct/product/ depDate 110308
/ originDestinationDetails/itineraryInfo[1]/travelProduct/product/ arrDate 170308
/ originDestinationDetails/itineraryInfo[1]/travelProduct/boardpointDetail/ cityCode ORY
/ originDestinationDetails/itineraryInfo[1]/travelProduct/companyDetail/ identification ZI
/ originDestinationDetails/itineraryInfo[1]/travelProduct/productDetails/ identification ECMN
/ originDestinationDetails/itineraryInfo[1]/itineraryMessageAction/business/ function 2
/ originDestinationDetails/itineraryInfo[1]/relatedProduct/quantity 01
/ originDestinationDetails/itineraryInfo[1]/relatedProduct/status HK
/ originDestinationDetails/itineraryInfo[1]/ selectionDetails/selection/option P10
/ originDestinationDetails/itineraryInfo[1]/generalOption[1]/optionDetail/type BS
/ originDestinationDetails/itineraryInfo[1]/generalOption[1]/optionDetail/freetext 00000000
/ originDestinationDetails/itineraryInfo[1]/generalOption[2]/optionDetail/type ARR
/ originDestinationDetails/itineraryInfo[1]/generalOption[2]/optionDetail/freetext 0900
/ originDestinationDetails/itineraryInfo[1]/generalOption[3]/optionDetail/type RC
/ originDestinationDetails/itineraryInfo[1]/generalOption[3]/optionDetail/freetext BEST
/ originDestinationDetails/itineraryInfo[1]/generalOption[4]/optionDetail/type RT
/ originDestinationDetails/itineraryInfo[1]/generalOption[4]/optionDetail/freetext 0900

3 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.

4 Unsupported Functions

Not applicable

5 Prerequisites

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





Function: ReduceNIP


1 Overview

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

1.1 Supported Operations

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

1.2 Limitations

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

1.3 Unsupported Operations

The following operations are not available from within this function:

1.4 Prerequisites

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

2 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.

3 Receiving A Reply



Reply Structure

The reply structure is basically an acknowledgement.

4 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.


5 Operations

5.1 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

5.1.1 Query Structure


Double Click To Show XML

3 U

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages", section.






Function: DeleteTSM


1 Overview

The function DeleteTSM allows deleting:

1.1 Supported Operations

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

1.2 Limitations

TSM tattoo and passenger tattoo cannot be combined.

1.3 Unsupported Operations

Not applicable

1.4 Prerequisites

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

2 Building A Query

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

3 Receiving A Reply

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



Reply Structure

4 Error Messages

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


5 Operations

5.1 Operation: Delete all TSM of a PNR

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

5.1.1 Query Structure


Double Click To Show XML

37L35E

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors


5.2 Operation: Delete by passengers tattoo

The query deletes all TSM for passenger 1 and 3

5.2.1 Query Structure


Double Click To Show XML

PAX 1 PAX 3

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors


5.3 Operation: Delete by TSM tattoo

The query deletes TSMs with tattoo 5 and 7

5.3.1 Query Structure


Double Click To Show XML

TSM 5 TSM 7

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors






Function: ChangeElement


1 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:

At least one optional parameter should be filled.

1.1 Supported Operations

PNR change element:

1.2 Limitations

Not applicable

1.3 Unsupported Operations

Not applicable to Name Element.

1.4 Prerequisites

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

2 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]

3 Receiving A Reply

The reply is a structured message showing new PNR details.



Reply Structure

For further information see Retrieve function on PoweredPNR interface.

4 Error Messages

Error Text

Amadeus internal
error code

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


5 Operations

5.1 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.

5.1.1 Query Structure


Double Click To Show XML

M 3/modified ap

5.1.2 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

5.1.3 Possible Errors

See "Error Messages" section






Function: NameChange


1 Overview

The NameChange 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 and does not retain passenger associations.

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

1.1 Supported Operations

Not applicable.

1.2 Limitations

Only passenger names are covered by this function, group names are not.

Only one name element can be updated.

1.3 Unsupported Operations

Not applicable.

1.4 Prerequisites

A PNR must be present in the AAA work area.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 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.

2 Building A Query

Name update:

Only the input parameters that contain the traveler information are mandatory.Traveler Information related input parameters are:

Reservation Control Information relatedinput parameter is:

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

Optional

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

Reservation Control Information related input parameter is (optional):

3 Receiving A Reply

If the process is successful:

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



Reply Structure

If the name change process is successful, the reply message contains only the record locator if it was given in the request, and the updated passenger information.

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

4 Error Messages

Generic Edifact error, this type of error can be returned isthere is a problem with the contents of the 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 therequest, the error information and the error message.

Message Code Description
INVALID NUMBER IN PARTY 1194 The quantity field does not contain 1
INVALID REQUEST 308 The status field does not contain C
PNR NOT PRESENT 1383 There is no PNR present in AAA
NO MATCH FOR RECORD LOCATOR 1931 The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS 11 Technical error. Contact help desk.
IGNORE AND RE-ENTER 55 Technical 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.

Message Code Description
CHECK NAME ELEMENT NUMBER 2577 The 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 LONG 1891 The name element including first name, title, passenger type, and identification code must not exceed 58 characters
RESTRICTED NAME 9410 NTBA must not be entered as surname
FREQUENT FLYER/NAME MODIFICATION RESTRICTED 3214 The name change/update is restricted when a validated Frequent Flyer number is present in the PNR
INVALID/DUPLICATE NAME EXISTS 1898 A duplicate match has been made between an existing name item and the name item
NAME CHANGE IS RESTRICTED BY AIRLINE - XX 9411 Depending on the setting of NMP and NMR APT indicators, the name change/update is not allowed.
RESTRICTED/CALL AIRLINE XX/Sn 1893 A 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 ASSOCIATE 1950 Name 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 NAMES 3432 Name change has been performed at creation of a PNR and number of names is less than number of services.
INVALID PASSENGER TYPE 89
  • Invalid passenger type
CHECK DATE OF BIRTH 4759
  • 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 EXISTS 9029 A 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-Pn 15870 If 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 ALLOWED 4207 A 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 PERMITTED 11040 A 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.

Message Code Description
NAME UPDATED - UPDATE NAME WITH CRUISE 9666 The 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 xxxxxx 15781 If 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 PNR 7366 A 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.


5 Operations

5.1 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

5.1.1 Query Structure


Double Click To Show XML

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

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages" section.


5.2 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:

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

5.2.1 Query Structure


Double Click To Show XML

SURNAME 1 C GIVENNAME MR 3

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

See "Error Messages" section.


5.3 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:

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

5.3.1 Query Structure


Double Click To Show XML

XXXXXX SURNAME 1 C GIVENNAME MR 3

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors

See "Error Messages" section.






Function: Split


1 Overview

The function PNR_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).

1.1 Supported Operations

The following split operations are possible:

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

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

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

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.

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.

1.2 Limitations

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

1.3 Unsupported Operations

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

1.4 Prerequisites

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

2 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 retrieved PNR, in which case no record locator is required.

2.1 Sub Structure: Query structure with record locator

2.1.1 Description

The general structure of the query used to split a PNR if the PNR is not in the context is the following:

2.1.2 Xml Structure


Double Click To Show XML

ABCDEF PT 2

2.2 Sub Structure: Query structure without record locator

2.2.1 Description

The general structure of the query used to split a PNR which is already in the context in is the following:

2.2.2 Xml Structure


Double Click To Show XML

PT 2

3 Receiving A Reply

Two kind of replies are possible.

3.1 Sub Structure: Reply Structure

3.1.1 Description

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.

3.1.2 Xml Structure


Double Click To Show XML

1A XXXXXX 101012 RP BMPR MUC1A0701 MUC1A0701 DAP MUC1A0701 9999BM 101012 1525 3 P12 --- RLR --- 3 P11 ASSOCIATE PNR MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 0 2012 10 10 MOD PT 2 NM 1 PASSENGERS 1 TWO 1 UN Y Y PASSENGERS TWO ST 1 AIR 2 101012 1925 101012 1935 CDG LHR 6X 3857 J ET 1 1 HK 332 0 3 OT 10 AP 3 3 5 0123456789 OT 9 TK 4 OK 101012 MUC1A0701 SP 1A 5TE5M9 P 101012 SP AASU MUC1A0701

4 Error Messages

Errors at first split request:

The PNR was modified and must be commited or ignored before attempting to split; The PNR was modified and must be commited or ignored before attempting to split; A PNR must be retrieved before attempting to split; The PNR does not contain a valid itinerary (mandatory to perform a split); The element numbers specified in split message must correspond to valid name elements; The number of unassigned names requested in the split request is greater than the number of unassigned names in the group. Only PNRs with 2 or more passengers can be split; Split must be requested on at most 49 names at the same time, and with at least 1 less name than PNR total number in party; The split request must not contain duplicate element numbers;

Errors specific to special element handling (mainly auxiliary segments):

On an auxiliary segment with passenger associations, a split cannot be requested with a number of elements as parameter;
Too many names requested for the auxiliary segment; Split with special elements handling cannot be used on a past segment; Too many items were requested compared with auxiliary segment number in party; Special element handling on a segment without passenger associations must state how many items to split;

Errors which can occur after split party:

Child and parent PNRs must be committed before attempting another split; This operation is not allowed on child/parent PNRs before committing the split. This error message is embedded in a reply message which depends on the functionality used. The error code may change depending on the reply message.

The following errors are returned when trying to commit the child PNR. The reply message is the same as a PNR Addmultielement with eot/end file option:

Before filing a child PNR for commit, a received from element must be added; End of Transaction cannot be used on the on child PNR during split process. Use End File on the child PNR, then End of Transaction on the parent PNR (after adding a received from element).

Other errors:

The following errors are returned when trying to end file a PNR which is not a child PNR during split process:

End File cannot be used out of a split process; End File cannot be used on the parent PNR during split process. Use End of Transaction instead.

4.1 Error Reply


Double Click To Show XML

M 1959 EC 1A C 50 EN NEED PNR

5 Operations

5.1 Operation: Split - individual names

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

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

5.1.1 Query Structure


Double Click To Show XML

ABCDEF PT 1 5 6

5.1.2 Reply Structure


Double Click To Show XML

1A XXXXXX 251012 RP AASU MUC1A0701 12345675 MUC1A0701 DAP MUC1A0701 0001AA 251012 12345675 0907 3 P12 --- RLR --- 3 P11 ASSOCIATE PNR RLR 12345675 MUC1A0701 A 1A MUC DE 12345675 MUC1A0701 A 1A MUC DE LON1A0955 A 1A LON GB 1 2 2012 10 25 MOD PT 1 NM 1 PAX 1 A 1 UN Y Y PAX A PT 5 NM 2 PAX 1 E 1 UN Y Y PAX E PT 6 NM 3 PAX 1 F 1 UN Y Y PAX F ST 1 AIR 4 251012 0915 251012 1130 LHR CDG 6X 306 Y ET 1 3 HK 319 0 4 4 1 OT 14 AP 5 3 5 0123456789 OT 13 TK 6 OK 251012 MUC1A0701 SP 1A ABCDEF P 251012 SP AASU MUC1A0701

5.1.3 Possible Errors

See "Error" section.

5.2 Operation: Split group PNR - unassigned names

This operation splits unassigned names from a group PNR.

Example: split two unassigned names from currently displayed PNR.

5.2.1 Query Structure


Double Click To Show XML

PT 2

5.2.2 Reply Structure


Double Click To Show XML

1A XXXXXX 251012 RP AABB MUC1A0701 12345675 MUC1A0701 DAP MUC1A0701 0001AA 251012 12345675 0949 3 P12 --- RLR --- 3 P11 ASSOCIATE PNR RLR MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 99999992 MUC1A1TTY A 1A MUC DE 1 2 2012 10 25 MOD NG 0 SPLITGROUP G 2 2 BKD 0 CNL 0 SPL ST 1 AIR 1 251012 1000 251012 1105 MAN LHR AA 6620 J ET 1 AA GBCRUH 2 KK 319 0 4 3 5 3 OPERATED BY BRITISH AIRWAYS OT 6 AP 2 3 5 0123456789 OT 7 TK 3 OK 251012 NCE1A0AA0 OT 8 SSR 4 GRPF YY GV2 OT 42 SSR 5 GRPS YY TCP5SPLITGROUP SP 1A ABCDEF P 251012 SP AASU MUC1A0701

5.2.3 Possible Errors

See "Error" section.

5.3 Operation: Split group PNR - unnassigned/individual names combination

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

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

5.3.1 Query Structure


Double Click To Show XML

PT 2 1 3

5.3.2 Reply Structure


Double Click To Show XML

1A XXXXXX 251012 RP EIRX MUC1A0701 12345675 MUC1A0701 DAP MUC1A0701 0001AA 251012 12345675 1008 3 P11 ASSOCIATE PNR MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A1TTY N 1A MUC DE 1 2 2012 10 25 MOD NG 0 SPLITGROUP G 4 4 BKD 0 CNL 0 SPL PT 1 NM 1 GPAXGROUP 1 A 1 UN Y Y GPAXGROUP A PT 3 NM 3 GPAXGROUP 1 C 1 UN Y Y GPAXGROUP C ST 1 AIR 3 251012 0950 251012 1110 DUB LHR EI 158 J ET 1 4 UN 320 0 4 2 1 OT 9 AP 4 3 5 0123456789 OT 10 TK 5 OK 251012 NCE1A0AA0 OT 11 SSR 6 GRPF YY GV2 OT 55 SSR 7 GRPS YY TCP8SPLITGROUP SP 1A 5YT7JX P 251012 SP AASU MUC1A0701

5.3.3 Possible Errors

See "Error" section.

5.4 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.

The user can then specify:

Example: split two unassigned names and passengers 1 and 2 from currently displayed PNR, take 2 seats from segment 3 and 2 seats from segment 4.

5.4.1 Query Structure


Double Click To Show XML

PT 2 1 2 ST 2 3 ST 2 4

5.4.2 Reply Structure


Double Click To Show XML

1A XXXXXX 251012 RP AASU MUC1A0701 12345675 MUC1A0701 DAP MUC1A0701 0001AA 251012 12345675 1315 3 P12 --- RLR --- 3 P11 ASSOCIATE PNR RLR MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 12345675 NCE1A0AA0 1A NCE FR 1 9 2013 1 25 MOD NG 0 SPLITGROUP G 4 4 BKD 0 CNL 0 SPL PT 1 NM 1 SPLITPAX 1 A 1 UN Y Y SPLITGROUP A PT 2 NM 2 SPLITPAX 1 B 1 UN Y Y SPLITGROUP B ST 1 HU 3 161212 181212 REC 6X 8 2 HK 3 TEXT ST 2 HU 4 191212 221212 REC 6X 8 2 HK 3 TEXT ST 7 AIR 5 250113 1335 250113 1435 MRS LYS AF 7823 W ET 1 AF ABCDEF 4 HK AT5 0 5 4 2 1315 OT 5 AP 6 3 5 01234567 OT 6 TK 7 OK 251012 NCE1A0AA0 OT 16 SSR 8 GRPF YY GV2 OT 82 SSR 9 GRPS YY TCP7SPLITGROUP SP 1A ABCDEF P 251012 SP AASU MUC1A0701

5.4.3 Possible Errors

See "Error" section.

5.5 Operation: Split with special elements handling

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

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 elements 11 and 12  to child PNR.

5.5.1 Query Structure


Double Click To Show XML

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

5.5.2 Reply Structure


Double Click To Show XML

1A XXXXXX 291012 RP AASU MUC1A0701 MUC1A0701 DAP MUC1A0701 0001AA 291012 0840 3 P12 --- RLR --- 3 P11 ASSOCIATE PNR RLR MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 6 2013 1 13 MOD NG 0 SPLITGROUP G 3 3 BKD 0 CNL 0 SPL PT 2 NM 1 SPLITPAX 1 A 1 UN Y Y SPLITPAX A PT 3 NM 2 SPLITPAX 1 B 1 UN Y Y SPLITPAX B PT 5 NM 3 SPLITPAX 1 D 1 UN Y Y SPLITPAX D ST 1 AIR 4 120113 0625 120113 1005 DUB MAD EI 592 N ET 1 EI 2CG342 3 TK 320 0 6 2 1 OT 9 AP 5 3 5 0123456789 OT 8 TK 6 OK 291012 NCE1A0AA0 OT 65 SSR 7 GRPS YY TCP5SPLITGROUP OT 39 RM 8 RM ONE RM ONE OT 40 RM 9 RM TWO RM TWO OT 41 RM 10 RM THREE RM THREE OT 42 RM 11 RM FOUR RM FOUR OT 43 RM 12 RM FIVE RM FIVE OT 44 RM 13 RM SIX RM SIX OT 45 RM 14 RM SEVEN RM SEVEN OT 47 RM 15 RM NINE RM NINE SP 1A 5ZPPNN P 291012 SP AASU MUC1A0701

5.5.3 Possible Errors

See "Error" section.




Function: AddFrequentFlyer


1 Overview

The AddFrequentFlyer 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.

1.1 Supported Operations

Not applicable.

1.2 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.

1.3 Unsupported Operations

Not applicable.

1.4 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.

2 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

3 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.



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.

4 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 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.

Message Code Description
PNR NOT PRESENT 1383 There is no retrieved PNR
NO MATCH FOR RECORD LOCATOR 1931 The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS 11 Technical error. Contact help desk.
IGNORE AND RE-ENTER 55 Technical 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 ALLOWED 35 The card can be associated to only one passenger
NO MATCH FOR NAME 39 The name in the PNR does not match the name of the card
INVALID ACCOUNT NUMBER 313 The frequent flyer card does not exist
INVALID FREQ FLYER AIRLINE 535 The frequent flyer owner airline or the target airline is not valid
NEED NAME 1436 There is no name in the PNR (this error is only for FFN entries)
PASSENGER AND/OR SEGMENT DATA NOT VALID 1949 The passenger association is not valid
NO FREQUENT FLYER CARD 2415 The frequent flyer card does not exist
NO FREQUENT FLYER CARD - REENTER AS FOID 2416 The frequent flyer card does not exist
NEED PASSENGER ASSOCIATION 3500 The passenger association must be specified if there are several names in the PNR
FARE ELEMENT ALREADY EXISTS FOR PASSENGER/SEGMENT 3671 FD element already exists in the PNR (only for Air France)
INVALID PASSENGER ASSOCIATION 4725 The passenger association of the FD is incorrect
INVALID - NO AGREEMENTS BETWEEN 6132 No agreements between the frequent flyer card owner and the target airline
NO DATABASE FOR AIRLINE 6182 The frequent flyer card owner airline does not maintain a frequent flyer database.
LINK DOWN - RETRY IN 2 MINUTES 2162 The link is down with the frequent flyer database
Warning Message Code Description
WARNING:APU NOT PROCESSED - CSX NOT AVAILABLE 11938 The Automatic PNR Update has failed because the profile database link is down
AUTOMATIC PNR UPDATE PERFORMED 12939 The Automatic PNR Update has been done

4.1 Error Reply


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

5 Operations

5.1 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 Airline Card Number
IB 00300004

5.1.1 Query Structure


Double Click To Show XML

P IB 00300004

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages" section.


5.2 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 Airline Card Number
IB 00300004

5.2.1 Query Structure


Double Click To Show XML

XXXXXX O IB 00300004

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

See "Error Messages" section.


5.3 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 Airline Card Number
IB 00300004

The associated passenger is specified by the following data:

Card Owner Airline Card Number Passenger reference number
SURNAME GIVENNAME MR 3

5.3.1 Query Structure


Double Click To Show XML

XXXXXX SURNAME GIVENNAME MR 3 O IB 00300004

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors

See "Error Messages" section.


5.4 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 Airline Card Number
IB 00300004

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

5.4.1 Query Structure


Double Click To Show XML

XXXXXX O IB IB 00300004 O IB BA 00300004

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors

See "Error Messages" section.






Function: CreateTSM


1 Overview

The function CreateTSM creates a TSM with at least:

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.

1.1 Supported Operations

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

1.2 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.

1.3 Unsupported Operations

Not applicable

1.4 Prerequisites

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

2 Building A Query

Following data are mandatory in the query message:

3 Receiving A Reply

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



Reply Structure

4 Error Messages

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


5 Operations

5.1 Operation: Create TSM type E

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

5.1.1 Query Structure


Double Click To Show XML

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

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors


5.2 Operation: Create TSM type F, BA ATO/CTO

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

5.2.1 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

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors


5.3 Operation: Create TSM type F, TASF

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

5.3.1 Query Structure


Double Click To Show XML

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

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors


5.4 Operation: Create TSM type F, US market

5.4.1 Query Structure


Double Click To Show XML

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

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors


5.5 Operation: Create TSM type M, FR market

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

5.5.1 Query Structure


Double Click To Show XML

47 A 1 AF PAR 10AUG A 47 4 M

5.5.2 Reply Structure


Double Click To Show XML

5.5.3 Possible Errors


5.6 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.

5.6.1 Query Structure


Double Click To Show XML

47 IN 2 15 B I ABC 47 4 M

5.6.2 Reply Structure


Double Click To Show XML

5.6.3 Possible Errors


5.7 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.

5.7.1 Query Structure


Double Click To Show XML

47 A 1 15 B DE I ABC 47 4 M

5.7.2 Reply Structure


Double Click To Show XML

5.7.3 Possible Errors


5.8 Operation: Create TSM type P

This query requests the creation of a TSM type P

5.8.1 Query Structure


Double Click To Show XML

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

5.8.2 Reply Structure


Double Click To Show XML

5.8.3 Possible Errors






Function: UpdateTSM


1 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.

1.1 Supported Operations

Not applicable

1.2 Limitations

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

1.3 Unsupported Operations

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

1.4 Prerequisites

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

2 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.

3 Receiving A Reply

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



Reply Structure

Example of update reply of a TSM type E:

4 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


5 Operations

5.1 Operation: Update a TSM type E

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

5.1.1 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

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors


5.2 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.

5.2.1 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

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors


5.3 Operation: Update a TSM type M

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

5.3.1 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

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors


5.4 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.

5.4.1 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

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors






Function: Cancel


1 Overview

The Cancel functionality is used to cancel selected elements from a PNR. A PNR contains all the elements (details) pertaining to a passenger's trip and reservation. It must contain the following five elements:

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

Each element in the PNR is identified with a tattoo type (PT, OT, ST or OOT) and a unique tattoo number. Below is a description of these tattoo types.

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
  • Contact element (AP)
  • Special Service Request element
  • Other Service Request element ...
  • Extended Contents: Extended Contents are merchandise items that travel Agents can sell on top of traditional bookings. An extended content is an internal and structured representation of content booked outside Amadeus. It is a new type of element in the PNR. There are many types of extended contents: Air, Ferry, Cruise, Rail, taxi, restaurant...
OOT

An offer is an item proposition, i.e. a set availability and quotation, made to the End-user before booking, with no guarantee of price and availability. From the Customer point of view, it can be considered as a snapshot of the Travel Agency proposal at a given moment. There are several types of offers:

  • Air offers
  • Hotel offers
  • Manual offers

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 cancelled from a PNR. Cancellation of the elements in the PNR can be done in two ways:

Under a single cancel query message structure, cancellation is not allowed for a combination of elements of different types of tattoos. For example, cancellation of name elements and itinerary is not allowed. Whereas cancellation is allowed for a combination of elements of same types of tattoos. For example, cancellation of multiple OT elements in a single cancel query message is allowed.

Cancellation is not allowed for elements of same types and/or different types under multiple instance of the cancel message structure

Exception: For extended contents, there is only one tattoo type "OT" which can refer to many product types such as Air, Ferry, Cruise, Rail, Coach, Bus, Hotel, Visit, Insurance, Vaccine, Restaurant... Cancel cannot be performed on elements from different family types. For instance, an air segment from extended content and a remark from the PNR cannot be cancelled in a single querry message even if they both have the same tattoo type OT.

Note:

Repetition factors

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

D

D type, Cancel Duplicate segments (TTY message not sent to the airline)

E

XE Cancel element type.

G

G Name integration.

I

XI Cancel itinerary type.

1.1 Supported Operations

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

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

This operation cancels multiple data elements from the active PNR and adds them to the PNR history.

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

This operation retrieves the PNR, cancels data elements and adds them to the PNR history.

This operation cancels multiple data elements from an active PNR and ends the transaction.

This operation cancels multiple data elements from an active PNR and files and closes the PNR with the end transaction action automatically adding a received from element.          

This operation removes the entire Itinerary from an active PNR (Except for Rail segments)and adds it to the PNR history.  Associated SSR and OSI elements are also moved to history.

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.

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

These features are special cases incorporated directly into the cancel functionality and which specify specific actions to be processed on a PNR. Below is a list of the most commonly used action codes supported in the cancel functionality:

                         PNR Action Codes
0       No special processing
10 End Transaction
11 End Transaction with retrieve
20 Ignore
21 Ignore an Retrieve (IR)
52 Return line numbers
54 Do NOT return warnings

1.2 Limitations

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

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

When all the itinerary elements are cancelled, the segments will remain in the PNR until the end transaction. All Special Service Requests are then cancelled 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 as past can not be cancelled from a PNR.

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

The name element can be cancelled with no reservation as long as the PNR has not been saved.Once a PNR has been saved it can not exist without at least one name element, if an attempt 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 simultaneously following this action.

1.3 Unsupported Operations

Unsupported operations

1.4 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 Retrieve user guide.

2 Building A Query

Applicable Codes Sets

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

PNR Action Codes
0 No special processing
10 End Transaction
11 End Transaction with retrieve
20 Ignore
52 Return line numbers
Types of Cancel Entries
E Cancel Element
I Cancel itinerary
G Name Integration
Reference qualifier
OT Other element (non name, non segment) Tattoo reference number. Extended elements tattoo reference number
PT Passenger Client-request-message-defined ref. Number
ST Segment Tattoo reference number
OOT Offer Tattoo reference number
D Dominant segment in a marriage
N Non dominant segment in a marriage

2.1 Sub Structure: Query structure to cancel an AP element

2.1.1 Description

Below is an example of a query structure to cancel an AP element (Contact element) in PNR 5PO9P4. The cancel entry type is "E" as for cancel element. OT is the reference qualifier and 8 is the tattoo reference number for this element in the PNR:

2.1.2 Xml Structure


Double Click To Show XML

0 E OT 8

2.2 Sub Structure: Query structure to cancel a name element

2.2.1 Description

Below is an example of a query structure to cancel a name element in the same PNR as before (5PO9P4). PT is the reference qualifier and 1 is the tattoo reference number for this name element in the PNR:

2.2.2 Xml Structure


Double Click To Show XML

00 MUC1A0701 E EN EUR DE A0001AASU 0 E PT 1

3 Receiving A Reply

For each PNR query cancel presented, there is a corresponding reply structure returned.Reply is a structured PNR representation, the acknowledgement of a successful commit or an error message.

3.1 Sub Structure: Reply structure: Successful commit

3.1.1 Description

Below is a reply structure to an attempt to cancel an AP element (Contact element) in PNR 5Q7D6M. The PNR is displayed and the AP element has been successfully deleted.

3.1.2 Xml Structure


Double Click To Show XML

1A 5PO9P4 240912 RP BMPR MUC1A0701 12345675 MUC1A0701 DAP MUC1A0701 9999BM 240912 12345675 1605 3 P12 --- RLR --- RLR 12345675 MUC1A0701 A 1A MUC DE 12345675 MUC1A0701 A 1A MUC DE 12345675 MUC1A0701 A 1A MUC DE 1 0 2013 2 25 MOD PT 1 NM 1 JONES 1 PETER 1 UN Y Y JONES PETER ST 1 AIR 2 250213 0630 250213 0800 NCE CDG 6X 563 Y ET 1 1 HK ERJ 0 1 OT 11 TK 3 OK 240912 MUC1A0701 OT 12 RM 4 RM PAX IS A VIP RM PAX IS A VIP

3.2 Sub Structure: Reply structure: Error message

3.2.1 Description

Following is a possible reply structure to cancel a name element in a PNR. For this case, the PNR contains only one name element. An error message "NEED NAME" is received in the reply message upon the cancel transaction since every PNR must contain at least one name element

3.2.2 Xml Structure


Double Click To Show XML

M 1436 EC 1A C 50 EN NEED NAME

4 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 cancelled is present. The solution is to return to the query and add the missing information.

12290 - INVALID FORMAT/NOT ENTERED/>

Cancel restricted

This error message is received when there is an attempt to cancel an element that cannot be cancelled.

3134 - CANCEL RESTRICTED -

Check segment status

This error message is received when there is an attempt to cancel a flown or past dated itinerary element.

3006 - CHECK ITINERARY/INACTIVE SEGMENT

Range problem

This error is received when elements to cancel are selected in a wrong order.

1933 - CHECK RANGE ORDER

Delete restricted

This error is received when there is an attempt to delete a segment, or range of segments that belongs to an airline that prohibites segment deletion.

3135 - DELETE RESTRICTED

Check element number

This error is received when there is an attempt to cancel a non-existing element number

1895 - CHECK ELEMENT NUMBER

Duplicate element

This error is received when there is an attempt to delete the same element with one message.The same element number have been entered more than once in the cancellation entry.

1939 - DUPLICATE ELEMENT - X             (where x is the element number)

Element does not exist

This error is received when there is an attempt to cancel a non-existing element.

1938 - ELEMENT DOES NOT EXIST

Element conflict

This error is received when there is an attempt to delete different element types in the same message.

1935 - ELEMENT CONFLICT

ETKT status problem while trying to delete a FA element


This error is received when there is an attempt to cancel the itineray for which an FA/ET element exists.

9123 - FA ELEMENT DELETED - VERIFY ETKT STATUS FOR -

Warning related to TST

This error is received when there is an attempt to cancel the last remaining air segment for which an FA/ET element exists.
2888 - WARNING: SEGMENT DELETED - TST WILL BE DELETED IF ET/ER

Itinerary deleted

All itinerary has been deleted.

3512 - ITINERARY DELETED

Need name

An attempt has been made to delete the name element, whereas it is not authorized in some cases.

1436 - NEED NAME

Restricted

An attempt has been done to cancel a name associated to a FA/ET element.

9029 - RESTRICTED - FA/ET EXISTS

After name element cancel, a RF (Receive From) must be done before doing another update.

3350 - RESTRICTED/NAME ELEMENT PREVIOUSLY CANCELLED

When the XI is performed on a child PNR after the Split transaction and before EOT. This error response is issued.       

RESTRICTED DURING SPLIT PARTY 

In a PNR in which an Increase Number in Party ( INP ) entry has been performed if XI is input before EOT the system issues the following error response:

RESTRICTED DURING INCREASE NUMBER IN PARTY



XI can only be performed on a retrieved PNR. When attempted on a newly created PNR this error message is displayed.

RESTRICTED / USE XE

TRN error

A attempt has been made to cancel a itinerary containing SNCF Rail segment.

6527 - TRN 2C CANNOT BE MODIFIED - RESARAIL PNR MUST BE UPDATED

Wrong name element number

2577 - CHECK NAME ELEMENT NUMBER

Invalid Format

477 - INVALID FORMAT

Inactive Segment

This error is issued if an attempt is made to cancel, change, or delete a specific or a range of flown/past elements. (i.e. XEn or n,n).

CHECK ITINERARY/INACTIVE SEGMENT

Verify with cruise

the name element has been cancelled, but the cancellation has not been applied to the cruise segment cru in the pnr.

NAME ELEMENT DELETED - VERIFY WITH CRUISE - XXX  

(where xxx is the cruise company code)   

EXAMPLE: Below is an example of an error message (GENRES) returned upon a cancel query using a wrong tattoo number.



5 Operations

5.1 Operation: 1 - PNR used as example

In this section, the sample PNR scenarios consist of the following elements:

Below is the query and reply structures to cancel a name element from the above PNR. Unlike the previous example, there is no error received after this transaction because the PNR still contains a name element. Instead, the PNR is displayed and one of the initial name elements as well as the special service requests associated to this passenger have indeed been cancelled. Note: The cancellation of an element removes all associations for that element.

The following is an extract of the items that are removed from the returned reply, indicating the cancelled passenger name. Important: A PNR must have at least one name element.

Reply - Data element Value
/travellerInfo[1]/ elementManagementPassenger/ reference/ qualifier PT
/travellerInfo[1]/ elementManagementPassenger/ reference/ number 1
/travellerInfo[1]/ elementManagementPassenger/ segmentName NM
/travellerInfo[1]/ elementManagementPassenger/ lineNumber 1
/travellerInfo[1]/ travellerInformation/ traveller/ surname JONES
/travellerInfo[1]/ travellerInformation/ traveller/ quantity 1
/travellerInfo[1]/ travellerInformation/ passenger/ firstName AMANDA

5.1.1 Query Structure


Double Click To Show XML

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors


5.2 Operation: 2 - Cancel Element with tattoo 14

This query is a request to cancel element with tattoo number 14, which happens to be a contact element AP from the sample PNR.

The control number is the PNR Record locator number whereas the action code 0 (Zero) corresponds to a simple cancel action. The value 'E' declares the type of cancel entry, hence to cancel an element. The 'OT' value signifies the type of element tattoo (other) and the last item indicates the reference number of the element to be cancelled.

As a result only the left items are listed in the reply.

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

Reply - Data element Value
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/reference/ qualifier OT
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/reference/ number 14
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/ segmentName AP
/dataElementsMaster/dataElementsIndiv[1]/ elementManagementData/ lineNumber
 4
/dataElementsMaster/dataElementsIndiv[1]/ otherDataFreetext/freetextDetail/ subjectQualifier

3

/dataElementsMaster/dataElementsIndiv[1]/ otherDataFreetext/freetextDetail/ type
 5
/dataElementsMaster/dataElementsIndiv[1]/ otherDataFreetext/ longFreetext
 123456789

5.2.1 Query Structure


Double Click To Show XML

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors


5.3 Operation: 3 - Cancel Elements in PNR

This query is a request to cancel two elements (the special service request for a vegetarian meal and the remark) in the sample PNR given previously. This illustration signifies that the PNR is an active PNR and or is in current session. Hence as the record has not been stored, there is no PNR in the context. However the PNR is retrieved in the query.

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

5.3.1 Query Structure


Double Click To Show XML

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors

1935 - ELEMENT CONFLICT This error is received when there is an attempt to delete different element types in the same message.

5.4 Operation: 4 - Cancel Elements, End Transaction

This query is a request to cancel two elements (a special service request for a vegetarian meal and a remark) in the example pnr given previously.The difference compared to the previous example is the fact that the PNR action code value is set to 10 which indicates that regardless of the operation on the PNR an End of transaction command will be automatically performed by the application. After this cancel query, the pnr contains now the following elements:

5.4.1 Query Structure


Double Click To Show XML

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors


5.5 Operation: 5 - 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.

The query below is a request to cancel the entire itinerary from the PNR 5PPGFR. Evidently, the value used to cancel an itinerary is the letter 'I'. The PNR option code is set to 0 which means that no special processing is performed apart from the cancel query. Therefore, unless an end of transaction is performed, the changes are not going to be saved in the pnr history.

5.5.1 Query Structure


Double Click To Show XML

5.5.2 Reply Structure


Double Click To Show XML

5.5.3 Possible Errors


5.6 Operation: 6 - Cancel Itinerary, End Transaction

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 a new PNR or modifying a retrieved PNR.

The PNR optionCode value 10 means 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 the transaction.

Reply - Data element Value
/pnrHeader/ reservationInfo/ reservation/ companyId 1A
/pnrHeader/ reservationInfo/ reservation/ controlNumber 5PPGFR
/ securityInformation/ responsibilityInformation/ typeOfPnrElement RP

5.6.1 Query Structure


Double Click To Show XML

5.6.2 Reply Structure


Double Click To Show XML

5.6.3 Possible Errors


5.7 Operation: 7 - Name Integration for Group PNR

The group name element can be a maximum of 53 characters in length. It can only be entered and modified during PNR creation.The maximum group size is 99 passengers.

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.

In this section, the sample group PNR scenario consists of the following elements:

This query is a request to cancel a group name element for one of the group members who tattoo type PT as for passenger and tattoo number 3 (Christiano RONALDO).

5.7.1 Query Structure


Double Click To Show XML

5.7.2 Reply Structure


Double Click To Show XML

5.7.3 Possible Errors


5.8 Operation: 8 - Cancel Offer

The query below is a request to cancel an offer (an air segment offer) from the PNR 5P5FLB. The value used to cancel an offer is E as for element. The tattoo type is OOT as for all offers. The tattoo number of this offer is equal to 1 in this example.

We can see in the PNR_Reply message the TAG ''OFR'' in the PNR header which indicates that the PNR contains or used to contain one or many offers. However, offers cannot be displayed through PNR_Reply message. For more information about how to retrieve and redisplay offers, refer to the user guide of PNR_Redisplay and PNR_RetrieveAndDisplay.

5.8.1 Query Structure


Double Click To Show XML

5.8.2 Reply Structure


Double Click To Show XML

5.8.3 Possible Errors

See "Error Messages" section.

5.9 Operation: 9 - Cancel Extended Content

The query below is a request to cancel an extended content (a bike) from a PNR in creation. The value used to cancel an extended element is E as for element. The tattoo type is OT as for all extended contents. The extended content BIKE in this PNR has tattoo number 6.

Extended contents cannot be displayed through PNR_reply message. For more information about how to retrieve and redisplay extended contents, refer to the user guide of PNR_Redisplay and PNR_RetrieveAndDisplay.

5.9.1 Query Structure


Double Click To Show XML

5.9.2 Reply Structure


Double Click To Show XML

5.9.3 Possible Errors






Function: TransferOwnership


1 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.

1.1 Supported Operations

Not applicable.

1.2 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.

1.3 Unsupported Operations

Not applicable.

1.4 Prerequisites

The user is entitled to transfer the PNR ownership.

A PNR must be retrieved:

The context must be kept between the different transactions.

2 Building A Query

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

Input parameters involved:

  1. Amadeus Office ID (officeIdentification)
  2. OA Identification (oaIdentificatior)
Code Description
NPR Inhibit propagationthrough AXR

Input parameters involved in the Amadeus office ID:

Code Description
QO Change the queuing office of the PNR
Code Description
TO Change the ticketing office of the PNR
Code Description
OQ Change 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.

3 Receiving A Reply

If the process is successful:

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



Reply Structure

A generic reply contains:

A generalError group contains error details and message

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

A group for the OA identification (oaIdentification)

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

4 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.

Message code Description
PNR NOT PRESENT 1383 There is no retrieved PNR
NO MATCH FOR RECORD LOCATOR 1931 The record locator given in the request does not correspond to the record locator in context.
UNABLE TO PROCESS 11 Technical error. Contact help desk
IGNORE AND RE-ENTER 55 Technical error. Contact help desk
INVALID REQUEST 308 Both Amadeus office id and OA identification are present in the request
INVALID OFFICE IDENTIFICATION CODE 1533 Invalid Amadeus office ID
INVALID FORMAT/NOT ENTERED/ 1892 The fourth and fifth characters of OA identification are numeric.


5 Operations

5.1 Operation: Transfer Ownership To An OA Identification

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

5.1.1 Query Structure


Double Click To Show XML

ZTAVRC HDQRM

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages" section.


5.2 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.

5.2.1 Query Structure


Double Click To Show XML

ZTAVRC NPR NCEAF0100 TO

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

See "Error Messages" section.






Function: AddRedemption


1 Overview

The AddRedemption function is used to create one or several SSR FQTR. The SSR FQTR element indicates 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 system the frequent flyer number is validated against the card owning airline's database but there is no 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 with an 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.

1.1 Supported Operations

Not applicable.

1.2 Limitations

Not applicable.

1.3 Unsupported Operations

Not applicable.

1.4 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. This can be done via the verb PoweredPNRAddMultiElements.

The context must be kept between the different transactions.

2 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 Related Product Information

Input parameters involved in the Interactive Free Text

Input parameters involved in the Reservation Control Information

Input parameters involved in the Traveler Information

Input parameters involved in the Travel Product Information

3 Receiving A Reply

If the process is successful

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 a Commit transaction. Therefore a context must be kept between the different transactions.

A generic reply can contain

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

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

Generic reply containing Passenger information:

4 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 PRESENT 1383 There is no PNR present in AAA
NO MATCH FOR RECORD LOCATOR 1931 The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS 11 Technical error. Contact help desk.
IGNORE AND RE-ENTER 55 Technical 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 ALLOWED 35 The card can be associated to only one passenger
NO MATCH FOR NAME 39 The name in the PNR does not match the name of the card
INVALID ACCOUNT NUMBER 313 The frequent flyer card does not exist
INVALID FREQ FLYER AIRLINE 535 The frequent flyer owner airline or the target airline is not valid
NEED NAME 1436 There is no name in the PNR (this error is only for FFN entries)
PASSENGER AND/OR SEGMENT DATA NOT VALID 1949 The passenger association is not valid
NO FREQUENT FLYER CARD 2415 The frequent flyer card does not exist
NO FREQUENT FLYER CARD - REENTER AS FOID 2416 The frequent flyer card does not exist
NEED PASSENGER ASSOCIATION 3500 The passenger association must be specified if there are several names in the PNR
FARE ELEMENT ALREADY EXISTS FOR PASSENGER/SEGMENT 3671 FD element already exists in the PNR (only for Air France)
INVALID PASSENGER ASSOCIATION 4725 The passenger association of the FD is incorrect
INVALID - NO AGREEMENTS BETWEEN 6132 No agreements between the frequent flyer card owner and the target airline
NO DATABASE FOR AIRLINE 6182 The frequent flyer card owner airline does not maintain a frequent flyer database in Amadeus
LINK DOWN - RETRY IN 2 MINUTES 2162 The 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 error information returned by the airline loyalty system (the airline which was asking for aninteractive validation) and the error message.

Note:

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:

Message Code Description
MEMBER NUMBER NOT FOUND IN DATABASE 21744 The Frequent Flyer was not found in the system
INVALID CARRIER FOR FQTX 21775 The target airline is not authorized for redemption
CERTIFICATE NUMBER ALREADY USED 21754 The certificate number identifying this redemption was already used
INVALID CLASS FOR FQTX 21778 The redemption is not authorized on the class requested


5 Operations

5.1 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
IB 00300004

5.1.1 Query Structure


Double Click To Show XML

ZEWNS4 O IB 00300004

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages" section.


5.2 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
IB 00300004

5.2.1 Query Structure


Double Click To Show XML

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

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

See "Error Messages" section.


5.3 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
SA 100178

5.3.1 Query Structure


Double Click To Show XML

YXGKNK O SA 100178 12345

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors

See "Error Messages" section.


5.4 Operation: Generic Reply

5.4.1 Query Structure


Double Click To Show XML

5.4.2 Reply Structure


Double Click To Show XML

ZEWNS4 0 MARTINEZDEMATA JORGE 1 O IB 00300004 HK

5.4.3 Possible Errors






Function: Retrieve


1 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.

1.1 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 Previous PNR

The system can retrieve the last PNR that was Ignored by the system.

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:

1.2 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.

1.3 Unsupported Operations

The following operations are not available from within this function:

1.4 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.

2 Building A Query

Applicable Code Sets

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

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

Retrieve by customer profile

8 Retrieve by Insurance policy number
9 Retrieve by numeric record locator
PNR Segment or Element Name
AIR Airline segment
ATX Air taxi segment
SUR Surface transportation segment
MIS Miscellaneous segment
HTL Manual hotel segment
HHL Automated hotel segment
CAR Manual car segment
CCR Automated car segment
MCO Miscellaneous charges order
INS Insurance
TUR Tour segment
TTO Tour source segment
CRU Cruise segment
FRR Ferry segment
IU Non-automated service auxiliary segment
Retrieval Option
A Active PNRs only
V Retrieve merged split PNRs
X Retrieve 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.

2.1 Sub Structure: Retrieve by reservation number

2.1.1 Description

This is the syntax to retrieve a PNR by reservation number "12345678" from provider 7X

2.1.2 Xml Structure


Double Click To Show XML

2 7X 12345678 I

3 Receiving A Reply

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

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

4 Error Messages

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


5 Operations

5.1 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.

5.1.1 Query Structure


Double Click To Show XML

1 V

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 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.


5.2 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.

5.2.1 Query Structure


Double Click To Show XML

1

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 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.


5.3 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:

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

PNR List - Data element Value
/citypair/ travellerInformationSection[1]/ travellerInformation/traveller/ surname CHILDS
/citypair/ travellerInformationSection[1]/ travellerInformation/passenger/ firstName BENJA
/citypair/ travellerInformationSection[1]/relatedProduct/ quantity 1
/citypair/ travellerInformationSection[1]/travelProduct/productDetails/ identification OPEN
/citypair/ travellerInformationSection[1]/reservationInfo/reservation/ companyId 1A
/citypair/ travellerInformationSection[1]/reservationInfo/reservation/ controlNumber YCHZD6
/citypair/ travellerInformationSection[1]/messageAction/business/ function 1
/citypair/ travellerInformationSection[2]/ travellerInformation/traveller/ surname CHILDS
/citypair/ travellerInformationSection[2]/ travellerInformation/passenger/ firstName WILLI
/citypair/ travellerInformationSection[2]/relatedProduct/ quantity 1
/citypair/ travellerInformationSection[2]/travelProduct/productDetails/ identification OPEN
/citypair/ travellerInformationSection[2]/reservationInfo/reservation/ companyId 1A
/citypair/ travellerInformationSection[2]/reservationInfo/reservation/ controlNumber YCHZD2
/citypair/ travellerInformationSection[2]/messageAction/business/ function 1

5.3.1 Query Structure


Double Click To Show XML

1 X

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 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.


5.4 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.

5.4.1 Query Structure


Double Click To Show XML

6 12345

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 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.


5.5 Operation: Retrieve By Customer Profile

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

5.5.1 Query Structure


Double Click To Show XML

7 4CV3E5

5.5.2 Reply Structure


Double Click To Show XML

5.5.3 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.


5.6 Operation: Retrieve By Frequent Traveller Information

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

5.6.1 Query Structure


Double Click To Show XML

5 LH 992222899525661

5.6.2 Reply Structure


Double Click To Show XML

5.6.3 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.


5.7 Operation: Retrieve By Name - Default Office

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

5.7.1 Query Structure


Double Click To Show XML

3 childs

5.7.2 Reply Structure


Double Click To Show XML

5.7.3 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


5.8 Operation: Retrieve By Name - Specific OfficeID

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

5.8.1 Query Structure


Double Click To Show XML

3 MIA1S213F childs

5.8.2 Reply Structure


Double Click To Show XML

5.8.3 Possible Errors

See "Error Messages" Section.


5.9 Operation: Retrieve By Name With Date

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

5.9.1 Query Structure


Double Click To Show XML

3 childs 150301

5.9.2 Reply Structure


Double Click To Show XML

5.9.3 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.


5.10 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.

5.10.1 Query Structure


Double Click To Show XML

3 A childs 280301

5.10.2 Reply Structure


Double Click To Show XML

5.10.3 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.


5.11 Operation: Retrieve by Record Locator

The reply structure returned is a Single PNR Content reply.

5.11.1 Query Structure


Double Click To Show XML

2 YCHZD6

5.11.2 Reply Structure


Double Click To Show XML

5.11.3 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


5.12 Operation: Retrieve By Record Locator With Enhanced Flight Info 1

The following information is only displayed if the extended PoweredPNR_PNRReply option is activated

In this example the additional information are:

5.12.1 Query Structure


Double Click To Show XML

2 YFDC4T

5.12.2 Reply Structure


Double Click To Show XML

1A YFDC4T 051110 RP BMPR MUC1A0701 MUC1A0701 DAP MUC1A0701 9999BM 051110 0958 3 P12 --- RLR --- MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 0 2010 12 20 PT 1 NM 1 WRIGHT 1 JOHN ST 1 AIR 2 201210 1023 201210 1121 SEA GEG CO 8039 Y ET 1 CO BXS8BH 1 HK EM2 0 0058 1 223 M M 3 OPERATED BY SUBSIDIARY/FRANCHISE CKI SEA GEG - CHECKIN /CHECK IN WITH UNITED 201210 1023 201210 1121 SEA GEG UA 6225 OPC COMMERCIAL DUPLICATE - OPERATED BY UNITED EXPRESS/SKYWEST AIRLINES OT 5 AP 3 3 5 MUC - AMADEUS DEFAULT OFFICE - A OT 6 TK 4 OK 051110 MUC1A0701

5.12.3 Possible Errors

See "Error Messages" section.


5.13 Operation: Retrieve By Record Locator With Enhanced Flight Info 2

The following information is only displayed if the extended PoweredPNR_PNRReply option is activated

In this example the additional information are:

5.13.1 Query Structure


Double Click To Show XML

2 YFDMDR

5.13.2 Reply Structure


Double Click To Show XML

1A YFDMDR 051110 RP BMPR MUC1A0701 MUC1A0701 DAP MUC1A0701 9999BM 051110 1222 3 P12 --- RLR --- MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 0 2010 12 20 PT 1 NM 1 WRIGHT 1 JOHN ST 1 AIR 2 201210 0825 201210 1035 CDG JFK AF 22 C ET 1 AF YFDMDR 1 HK 772 0 0810 1 2E 1 3635 M 725 M BM C 201210 0825 201210 1035 CDG JFK ACO AIRCRAFT OWNER AIR FRANCE OT 10 AP 3 3 5 MUC - AMADEUS DEFAULT OFFICE - A OT 11 TK 4 OK 051110 MUC1A0701 OT 15 OPW 5 MUC1A0701 101210 1 7 AF REQUIRES TICKET ON OR BEFORE 12DEC ST 1 OT 14 OPC 6 MUC1A0701 131210 1 8 AF CANCELLATION DUE TO NO TICKET ST 1

5.13.3 Possible Errors

See "Error Messages" section.


5.14 Operation: Retrieve By Record Locator With Enhanced Flight Info 3

The following information is only displayed if the extended PoweredPNR_PNRReply option is activated

In this example the additional information are:

5.14.1 Query Structure


Double Click To Show XML

2 YFDP93

5.14.2 Reply Structure


Double Click To Show XML

1A YFDP93 051110 RP BMPR MUC1A0701 MUC1A0701 DAP MUC1A0701 9999BM 051110 1350 3 P12 --- RLR --- MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 0 2010 12 22 PT 1 NM 1 WRIGHT 1 JOHN ST 2 AIR 2 221210 2135 241210 0610 2 LHR SYD BA 9 F ET 1 BA NOSYNC 1 HK 744 1 2135 3 3 1 10607 M M M F 221210 2135 231210 1540 LHR BKK BA 009 231210 1705 241210 0610 BKK SYD BA 009 OT 10 AP 3 3 5 MUC - AMADEUS DEFAULT OFFICE - A OT 11 TK 4 OK 051110 MUC1A0701

5.14.3 Possible Errors

See "Error Messages" section.


5.15 Operation: Retrieve By Record Locator With Enhanced Flight Info 4

The following information is only displayed if the extended PoweredPNR_PNRReply option is activated

In this example the additional information are:

The airline code is parsed from the free text that contains the check in carrier. It can be performed when the airline code is right before the slash in the free text.

5.15.1 Query Structure


Double Click To Show XML

2 YFDWTG

5.15.2 Reply Structure


Double Click To Show XML

1A YFDWTG 051110 RP BMPR MUC1A0701 MUC1A0701 DAP MUC1A0701 9999BM 051110 1555 3 P12 --- RLR --- MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE MUC1A0701 A 1A MUC DE 1 0 2010 12 2 PT 1 NM 1 WRIGHT 1 JOHN ST 1 AIR 2 021210 1000 021210 1100 ETZ NTE 6X 2866 C ET 1 1 HK ER4 0 0100 4 384 M CKI I9 ETZ NTE - CHECK-IN I9/AT ALITALIA DESK OT 10 AP 3 3 5 MUC - AMADEUS DEFAULT OFFICE - A OT 11 TK 4 OK 051110 MUC1A0701

5.15.3 Possible Errors

See "Error Messages" section.


5.16 Operation: Retrieve by Record Locator With Name

The reply structure returned is a Single PNR Content reply.

5.16.1 Query Structure


Double Click To Show XML

2 YA76F8 childs

5.16.2 Reply Structure


Double Click To Show XML

5.16.3 Possible Errors

See "Error Messages" Section.


5.17 Operation: Retrieve by Record Locator With Name and Ticket Number

The reply structure returned is a Single PNR Content reply.

5.17.1 Query Structure


Double Click To Show XML

2 YA76F8 childs 057 7024209573

5.17.2 Reply Structure


Double Click To Show XML

5.17.3 Possible Errors

See "Error Messages" Section.


5.18 Operation: Retrieve by Record Locator with PDI Data

The Purpose of this verb is to retrieve the DCS details information together with the PNR information.

The pure DCS information, i.e. the delivery data information (PDI), is generated by the updates that are performed on the CPR during the DCS window or at check-in time. For example: customer acceptance status, baggage, delivered cabin code and seat number…

This DCS information is referred to as “detailed DCS information” and is displayed to authorized agents only (RES-DCS agent).

Such detailed DCS information are stored in PDS and PDL Edifact elements. Note that DCS details can also be displayed via the RTDCS cryptic entry.

Data that are retrieved/ displayed :

City pair

Infant indicator

RES customer Acceptance status

Cabin Code

Cabin Regrade Type

Has Checked Bags

Customer Record Status

Cancellation reason code

Amount of Compensation (PFS) or Compensation Type (Altea DCS)

Acceptance Channel

Seat Delivery Information

Passenger association

5.18.1 Query Structure


Double Click To Show XML

5.18.2 Reply Structure


Double Click To Show XML

5.18.3 Possible Errors

See "Error Messages" section.

5.19 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 .

5.19.1 Query Structure


Double Click To Show XML

4 AIR childs 280301 AF 6201

5.19.2 Reply Structure


Double Click To Show XML

5.19.3 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.


5.20 Operation: Retrieve For Auxiliary Segments

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

5.20.1 Query Structure


Double Click To Show XML

4 CCR childs 280301

5.20.2 Reply Structure


Double Click To Show XML

5.20.3 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.


5.21 Operation: Retrieve PNR containing Extended Contents by Record Locator

This Operation provides an example of retrieved PNR containing Extended Contents. In the below example PNR ZTRJ2A contains:

- a name
- an EC taxi for one passenger with associated price
- an EC air for 2 passengers with associated price

Extended Contents are merchandise items that travel Agents can sell on top of traditional bookings.

There are different type of EC: Air, Train, Coach, Bus, Transfer, Taxi, Hotel, Apartment, Bike, Ticket, Visit, Course, Visa, Vaccine, Guide, Goodies, Book, Brochure, Restaurant, Food, Miscellaneous

A PNR can contain up to 50 EC.

5.21.1 Query Structure


Double Click To Show XML

5.21.2 Reply Structure


Double Click To Show XML

5.21.3 Possible Errors

See "Error Messages" section.

5.22 Operation: Single PNR Reply

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

5.22.1 Query Structure


Double Click To Show XML

5.22.2 Reply Structure


Double Click To Show XML

5.22.3 Possible Errors

See "Error Messages" section.




Function: ListTSM


1 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.

1.1 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.

1.2 Limitations

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

1.3 Unsupported Operations

Display list of TSMs for several passengers.

1.4 Prerequisites

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

2 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.

3 Receiving A Reply

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



Reply Structure

4 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


5 Operations

5.1 Operation: List all the TSM contained in PNR

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

5.1.1 Query Structure


Double Click To Show XML

47 37L35E

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors


5.2 Operation: List all TSM for a passenger tattoo

The query is to list all TSM for passenger 1.

5.2.1 Query Structure


Double Click To Show XML

47 A 1

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors


5.3 Operation: List all TSM for infant passengers

The query is to list all TSM associated to infants.

5.3.1 Query Structure


Double Click To Show XML

47 IN 1

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors


5.4 Operation: List TSM type M for pax 1

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

5.4.1 Query Structure


Double Click To Show XML

47 A 1 M

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors






Function: AddMultiElements


1 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 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 and optional reservation elements: Passenger names, phone contact numbers, frequent traveler 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 used to build one transaction including all the information obtained.It is sent to the Amadeus system and a reservation control number is returned.
  3. Close Conversation

1.1 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-12years.

Utilized to incorporate a group of travelers.

Utilized to reserve extra space for excess cabin baggage.

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

Note that the Individual Traveler Name (traveler last name and first name), Adult, Infant, Child Name, can be entered in Roman (it can then also be called a passport name) or Native characters (it is then be called a Native name).

Special settings are needed to be able to handle Native characters.

Only Korean characters are supported as Native characters today.

If entered in UTF8 characters, the name must be entered in a dedicated section that supports UTF8 characters.

The traveler title can also be entered separately from firstname if wished. In that case, a dedicated section must be used.

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 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.

Adding Seat Elements

This function may be used to add the following types of seat elements: PNRdata elements:

End transact

This function may be used to end transact and then to store the newly created PNR in the database (or modificatiosn in case of a retrieved PNR) with the followings option codes:

Option Code

Description

10

End transact (ET)

11

End transact with retrieve (ER)

12

End transact and change advice codes (ETK)

13

End transact with retrieve and change advice codes (ERK)

14

End transact split PNR (EF)

Those actions may may be combined with the following codes:

Option code

Description

30

Show warnings at first EOT

267

Stop EOT if segment sell error

Ignore

This function may be used to ignore an entry with the following codes:

Option code

Description

20

Ignore (IG)

21

Ignore with retrieve (IR)

1.2 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.

Record locator length

Record locator is mandatory when user wants to create Ghost segments, Passive segment and Service segment in this cases : the length of OA record locator have to be from one to seven alpha numeric characters ( from a to z and from 0 to 9).

1.3 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 not function until the Amadeus System Enhancements are completed.

1.4 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.

2 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.

Note related to Names:

Two structures exist to carry names, one supporting only Roman characters, one supporting possibly some rich and Roman characters.

As an illustration, the individual passenger names can be carried in:

OR

Remark: addition of multiple names (Native Name and possibly also a passport name) for a same passenger functionality is not supported today.

Note related to the Contact element:

For type P02 (email), it is possible to restrict its access by entering an office (or range of offices) with a possible access mode, at the begining of the freetext (separate the offices and the freetext by a /).

For type 5:N (APN), the field containing the freeflow text of the element shall be filled the following:

{XX/}{YYYYYYYYY}{-W}/{X}\+{XXXXXXXX...}{/LG}{/F}

2.1 Sub Structure:

2.1.1 Description

2.1.2 Xml Structure


Double Click To Show XML


3 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 .



Reply Structure

Names Elements

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

Note that both passengerData and enhancedPassengerData will be filled, except in some error cases.

For individual passengers:

Remark: addition of multiple names (Native Name and possibly also a passport name) for a same passenger functionality is not supported today.

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 the passenger name record.

A title for the passenger is not mandatory.

The maximum length of the whole name and name attributes is 59 characters, as in cryptic.

Passenger Type Codes

A passenger type code is not mandatory. If a passenger type code is not included, the system considers the passenger is an adult.

A maximum of one passenger type code may be specified, except under some conditions.

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 contact

Description

Free Form Text Detail Type in output

Basic contact element

Blank

blank

Passenger Business Number

B

3

Passenger Home Number

H

4

Unknown Type

Blank

5

Agency Contact Number

AGCY

6

Mobile Phone Number

Mobile

7

Fax Number

FAX

P01

E-mail Contact

Email

P02

Internet Contact

URL

P03

Force Sent

S

5:S

Inhibit Sent

X

5:X

Notification Contact

Notification

5:N

 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 Discount Code Requirements:
Agent AD --
Senior Citizen CD Percentage Discount
Tour Conductor CG Percentage Discount
Child CH Date of Birth/Age in Yrs
Clergy CL Percentage Discount
Adult with Companion CN --
Companion CP Percentage Discount
Seriously Disabled Psgr DB --
Government Officials DG Percentage Discount
Labor DL --
Teacher DT Percentage Discount
Emigrant EM Percentage Discount
Group GC Percentage Discount
School Group GP --
Group - Inclusive Tour GV --
Air Industry Employee ID Percentage Discount/Status Code
Infant IN Date of Birth/Age in Yrs
Individual Inclusive Tour IT --
Military MM Percentage Discount
Family PD --
Family - Head of family PH --
General Sales Agent RG Percentage Discount
Regular Passenter RP Percentage Discount
Seaman SC Percentage Discount or Country Code
Student SD Date of Birth/Age in Yrs
Special Event SE --
Spouse SH --
Spouse - Accompany ST Percentage Discount
Standby UU --
Youth - Student Certificate Required ZS Date of Birth/Age in Yrs
Youth ZZ Date 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 Type Code
Miscellaneous Remark RM
Confidential Remark RC
Invoice Remark RI
Quality Control Remark RQ


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 Definition Segment 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 Address Type Code
Billing Address 2
General Mailing Address P08
Miscellaneous Address P19
Home Mailing Address P24
Delivery Mailing Address P25


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.

A Ticketing Arrangement element may be passenger associated (except TKXL) at any time during the creation or modification of the PNR.Segment association is only allowed if a TST (Transitional Stored Ticket) has been created for that segment. Maximum number of Ticket Arrangement Elements per PNR is 127. 

The following types of ticketing information elements may be requested:

Ticketing Type Code
Ticketing time limit TL
Domestic Ticket Type DO
International Ticket Type IN
Ticket issued, No Queue Placement required OK
Automatic cancel Date XL
Tickets to be Mailed MA
Tickets to be issued at the airport office AT
Revalidated Ticket TR

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:

Code Option Max Number of characters
CY COMPANY NAME 30
NA NAME 30
A1 ADDRESS LINE 1 50
A2 ADDRESS LINE 2 50
PO POST OFFICE BOX 8
ZP POSTAL/ZIP CODE 20
CI CITY 30
ST STATE 25
CO COUNTRY 25


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 Entered Printed Format on Amadeus Generated Documents
Mr. John Smith, 124 south Hampton, Atlanta GA 30039 Mr. 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.

3.1 Sub Structure:

3.1.1 Description

3.1.2 Xml Structure


Double Click To Show XML


4 Error Messages

IATA error codes and messages

103  

CHECK ARRIVAL/DEPARTURE DATE

  102

CHECK DATE

303

FLIGHT CANCELLED

411

FLIGHT DOES NOT OPERATE ON DATE REQUESTED

114

FLIGHT NOT FOUND

134

IMPUT TIMES

130

INVALID ORIGIN AND DESTINATION PAIR   

143

 INVALID PASSENGER TYPE

104

INVALID RESERVATION BOOKING DESIGNATOR

421

NOT AVAILABLE AND WAITLIST CLOSED

422

NOT AVAILABLE DUE TO TRAFFIC RESTRICTION

118

SYSTEM UNABLE TO PROCESS

118

UNABLE TO PROCESS

Amadeus canned messages

1906

ACTION IDENTIFIER INVALID

6137

A FULL CORPORATE ID MUST BE ENTERED

11647

AIRLINE CODE NOT IN ITINERARY - SK CANCELLED AT EOT

3499

AIR SEGMENT REQUIRED WITH TICKETING ARRANGEMENT

3527

AREA OF PREFERENCE ERROR

1942  

ASSOCIATION NOT ALLOWED IN ELEMENT

6135

AT LEAST ONE RECEIVER MUST BE ENTERED

3821

CALL AIRLINE

4821

CANCEL SEAT FOR PAX AND RE-REQUEST PAX AND ASSOCIATED EXST/CBBG

3171

CHECK AGES

1920

CHECK AIRLINE CODE

3608

CHECK BOARDING OR DISEMBARKATION POINT

116

CHECK CODE

7308

CHECK COMPANY CODE

4759

CHECK DATE OF BIRTH

1

CHECK FORMAT

1903

CHECK PASSENGER ASSOCIATION

30000

CHECK TELEPHONE COUNTRY CODE MUST BE PREFIXED BY +

13123

CLASS DOES NOT ALLOW GROUP BOOKINGS

11650  

CODE NOT KNOWN/>

3648

CODES M AND H REQUIRE ADDITIONAL SSR INFO

4498

COMBINATION OF ELEMENTS NOT ALLOWED

7637

COPY ADDRESS FUNCTION DISALLOWED

12069

CORPORATE FAMILY NOT DEFINED

8041

DATE OVERRIDE NOT PERMITTED

7758

DOCUMENT PRINT OPTIONS NOT ALLOWED FOR

3081

DOWNLINE TK NOT ALLOWED WITH OTHER TK

1923

DUPLICATE OPTION ITEMS / NO ITEMS ENTERED

06377

DUPLICATE RECEIVER :   

9383

DUPLICATE RECEIVER TYPE

82

DUPLICATE SEGMENT

2011

ENTRY NOT AUTHORISED

7636

ERR CHECK TST SELECTION

2038

ERR  INVALID LANGUAGE CODE

8111

ERROR AT END OF TRANSACTION TIME

1897

EXCEED MAXIMUM ELEMENTS

3689

FREEFLOW INFORMATION NOT PERMITTED

5363

GENERIC ASR INHIBITED THIS FLIGHT - REQUEST SPECIFIC SEAT NUMBER

12495

IF A DATE WAS ENTERED: CHECK IF DATE IS VALID

25691

INFANT AGE MAY EXCEED FOR SOME SEGMENTS

1891

INPUT TOO LONG

817

INVALID AIRLINE CODE

6139

INVALID ACCESS MODE. MUST BE R,T,B OR N

56

INVALID ACTION CODE

3325

INVALID ACTION CODE FOR XX  (where XX is the airline)

13114

INVALID BOOKING CLASS CODE

1007

INVALID CATEGORY ENTERED

4493

INVALID CHARACTER IN SSR>

693

INVALID CITY/AIRPORT CODE

2232

INVALID CLASS

11649

INVALID CODE ENTERED IN FREETEXT

6166

INVALID CORPORATE ID

622

INVALID CORPORATE ID NUMBER

425

INVALID DATE

7759

INVALID DOCUMENT PRINT OPTION

9379

INVALID IATA NUMBER : iata_nbr

477

INVALID FORMAT

7795

INVALID FORMAT '...' NOT ALLOWED AT END OF FREE TEXT

7791

INVALID FORMAT IN CR FIELD

1892

INVALID FORMAT/NOT ENTERED/

1270

INVALID IATA NUMBER

2300

INVALID MEAL CODE

1194

INVALID NUMBER IN PARTY

6164

INVALID OFFICE ID

9517

INVALID OFFICE IDENTIFICATION

1533

INVALID OFFICE IDENTIFICATION CODE

7792

INVALID-ONLY ONE IDENTIFICATION CODE ALLOWED IN NAME ELEMENT

456

INVALID OR MISSING CAR TYPE

457

INVALID OR MISSING DATE

4725

INVALID PASSENGER ASSOCIATION

  0089   INVALID PASSENGER TYPE

1987

INVALID PASSENGER/SEGMENT SELECT - PNR OVERLAP

9381

INVALID PSEUDO OFFICE ID :  id

9378

INVALID RECEIVER TYPE. MUST BE : G, I OR P

1929

INVALID RECORD LOCATOR

1919

INVALID REQUEST FOR ELEMENT

6362

INVALID SECONDARY ACTION CODE, MUST BE ESD OR ESX : invalid_character

8110

INVALID SSR

811

INVALID STATUS CODE

3505

INVALID TICKETING ARRANGEMENT / NO PTA PRESENT

4470

INVALID TICKETING DATE

2999

INVALID TRANSACTION - SPLIT PNR REQUIRED

463

INVALID TEXT DATA

2298

INVALID TIME

12291

ITEM TOO LONG / NOT ENTERED /

11646

KEYWORD INACTIVE

11648

KEYWORD TABLE NOT FOUND FOR CARRIER - followed by the invalid carrier code

15818

MANDATORY FIELD MISSING

10238

KEYWORD NAME TOO LONG

7588

MANUAL CAR SEGMENTS CANNOT BE CREATED FOR THIS AIRLINE

7589

MANUAL HOTEL SEGMENTS CANNOT BE CREATED FOR THIS AIRLINE 

7590

MANUAL TAXI SEGMENTS CANNOT BE CREATED FOR THIS AIRLINE

7587

MANUAL TOUR SEGMENTS CANNOT BE CREATED FOR THIS AIRLINE 

6136

MAXIMUM ALLOWED IS 5 RECEIVERS

5443

MAXIMUM FREEFLOW EXCEEDED

11376

MAXIMUM OF 5 SUB TYPE CATEGORIES CAN BE ENTERED

3528

MAXIMUM OF 7 REQUESTS PERMITTED FOR SEAT AGREEMENT AIRLINE

1922

MAXIMUM OF 8 EXCEEDED/NO ITEMS ENTERED

12196

MEAL NOT CREATED - UNCONFIRMED RESERVATION

54

MESSAGE TOO LONG

3139

MODIFICATION RESTRICTED TO TK FLAG

11187

MULTIPLE PASSENGER ASSOCIATION NOT POSSIBLE

1931

NO MATCH FOR RECORD LOCATOR

85

NO NAME

49

NO TRANSACTION PRESENT

315

NEED FORM OF PAYMENT

1980

NEED GROUP NAME

339

NEED NAMES

3500

NEED PASSENGER ASSOCIATION

3638

NEED PASSENGER SEGMENT ASSOCIATION

96

NEED RECEIVED FROM

3550

NEED TELEPHONE FOR PASSENGER XXXXX where XXXXX shows the element(s) without a passenger-associated AP

1780

NEED TEXT

385

NEED TICKETING ARRANGEMENT

1911

NEED TICKETING ARRANGEMENT FOR PASSENGER

1912

NEED TICKETING ARRANGEMENT FOR SEGMENT

2102

NEED TST

251

NO AIR SEGMENTS

1946

NO INFANT NAME EXISTS

7314

NO SSR ITEM EXIST TO EXPLODE

8043

NOT ALLOWED FOR TST WITH SELECTED SEGMENTS

24192

NOT VALID FOR SEGMENT DATE

4215

NUMBER IN PARTY EXCEEDS MAXIMUM

1914

OFFICE RESTRICTED

1899

OSI/SSR EXCEED MAXIMUM ELEMENTS

13332

OTHER SEGMENT FROM CONNECTION IN ERROR

1949

PASSENGER AND/OR SEGMENT DATA NOT VALID

4698

PASSENGER ASSOCIATION NOT ALLOWED

7025

QUEUE ALTERNATE RESTRICTED FOR DOWNLINE TK

7024

QUEUE ALTERNATE RESTRICTED FOR TK

3574

QUEUE TICKETING RECORD INACTIVE

3721

REQUEST EXCEEDS 5 LEGS

3526

REQUEST TOTAL NUMBER IN PARTY

20

RESTRICTED

3394

RESTRICTED ACTION CODE

4918

RESTRICTED - ADD NAME ELEMENT FIRST

1951

RESTRICTED CHANGE

12063

RESTRICTED FOP FOR PASSENGER ASSOCIATION OF TKAT

12061

RESTRICTED FOP FOR PASSENGER ASSOCIATION OF TKMA

3138

RESTRICTED FOR AMADEUS AIRLINE

9410

RESTRICTED NAME

3486

RESTRICTED OFFICE TK

8604

RESTRICTED-OPTION NOT ALLOWED

3560

RESTRICTED PARTIALLY CONFIRMED SEGMENT

4497

RESTRICTED - PNR NEWLY CREATED

3487

RESTRICTED QUEUE CATEGORY

4820

RESTRICTED: REQUEST PAX AND ASSOCIATED EXST/CBBG

6134

RESTRICTED - YOUR OFFICE IS NOT RESPONSIBLE FOR THAT PNR

4676

SEAT ITEMS ALREADY EXIST FOR REQUESTED SEGMENTS

23004

SEAT REQUEST NOT AVAILABLE. REQUEST SEAT AT CHECK-IN

8079

SEGMENT ASSOCIATION IN TRANSACTION RESTRICTED DUE TO TK ELEMENT

12366

SEGMENT ASSOCIATION NOT ALLOWED

14

SIGN IN

105

SIMULTANEOUS CHANGES TO PNR - USE WRA/RT TO PRINT OR IGNORE

13254

SPECIFIC SEAT REQUESTED IS NOT AVAILABLE

13279

SPECIFIC SEAT REQUESTED NOT AVAILABLE - RESTRICTED

23304

SSR INFT NOT ADDED FOR ALL A/L

21590

SSR INFT NOT AUTHORISED FOR THIS PASSENGER TYPE

15872

SSR NOT CREATED - DUPLICATE EXISTS

12197

SSR NOT CREATED - DUPLICATE MEAL

12199

SSR NOT CREATED - LATE MEAL REQUEST

12198

SSR NOT CREATED - MEAL UNAVAILABLE FOR THIS ITINERARY

11651

STATUS CODE NOT PERMITTED IN INPUT

977

TELEPHONE FIELD REQUIRED

1784

TEXT TOO LONG

6138

THE ACCESS MODE MUST BE ENTERED

4540

TOO MANY SEGMENTS REQUESTED

24004

TOO MANY TICKETS ENTERED, MAXIMUM OF 4 ALLOWED PER PAX

15939

TOO MANY TICKETS ENTERED, MAXIMUM OF 40 ALLOWED

3647

TK ALREADY EXISTS FOR PASSENGER/SEGMENT

8042

TK OPTIONS NOT ALLOWED

3657

TKPT NOT ALLOWED WITH OTHER TK

2820

TRANSACTION CODE NOT SUPPORTED

4360

UNABLE TO PROCESS ADVANCE SEAT REQUEST

3686

USE FREEFLOW INFORMATION

1896

UNAUTHORISED DUTY CODE

2225

VERIFY CHECK DIGIT

9380

VERIFY CHECK DIGIT : nbre

Error at EOT: Block the EOT process
1436 NEED NAME
3085 RESTRICTED/NEED GROUP NAME
4602 RESTRICTED: NEED SSR CBBG
4603 RESTRICTED: NEED SSR EXST
25691 ERROR - INFANT AGE MAY EXCEED FOR SOME SEGMENTS
1966 NEED ITINERARY
3218 NEED ITINERARY FOR PASSENGER n
3432 UNABLE TO PROCESS/SERVICES EXCEED NAMES
1988 NEED PASSENGER/SEGMENT ASSOC.
11677 INVALID SEGMENT STATUS – SEGMENT
11728 AIRLINE DOES NOT ALLOW NON-GROUPS ON NEGOTIATED SPACE
2463 INDIVIDUAL NAMES REQUIRED WITH NSP FOR:
7948 REDUCE NUMBER IN PARTY.INACTIVE STATUS IN SEG
12489 NOT ALLOWED : FLIGHT DEPARTED
12490 NOT ALLOWED : FLIGHT BOARDING
82 DUPLICATE SEGMENT n/n
3764 Unable to process segment n - LOCKED FLIGHT  -  IGNORE
3765 Unable to process cancelled segment n - LOCKED FLIGHT  -  IGNORE
1112 INVALID ITINERARY
15576 DUMMY AIRLINE CODE AND REAL AIRLINE CODE CAN NOT BE MIXED
5788 PAYMENT INFORMATION MANDATORY - ENTER SSR EPAY - XX
21821 E-MAIL ADDRESS MANDATORY – ENTER APE
2102 NEED TST
21843 ASSOCIATE FP TO ALL SEGMENTS OF A TICKETLESS ACCESS CARRIER
315 NEED FORM OF PAYMENT
21707 PLEASE REPRICE BEFORE SAVING
21848 UPDATE NOT ALLOWED – TICKETLESS ACCESS CARRIER TST
23941 UPDATE NOT ALLOWED – TICKETLESS ACCESS  CARRIER TSM
3536 NEED TELEPHONE
3655 ITINERARY NOT INTERNATIONAL
3656 ITINERARY NOT DOMESTIC
3971 CHECK TICKETING DATE
4470 INVALID TICKETING DATE” 
3499 AIR SEGMENT REQUIRED WITH TICKETING ARRANGEMENT
4975 RESTRICTED
28969 UNCONFIRMED INSURANCE ONLY – CANNOT END TRANSACT
10684 RESTRICTED : PLS ADD A SSR OTHS ZZ WITH FREE TEXT
3086 RESTRICTED/NEED GROUP FARE
3987 RESTRICTED/SSR GRPS TCP REQUIRED PER AIRLINE
11676 NO STAFF BOOKINGS ON CODESHARE - SEGMENT n
11677 INVALID SEGMENT STATUS - SEGMENT n
11678 ERROR - STAFF PRIORITY (OSI STF) REQUIRED
12280 NEED SK ELEMENT – SEGMENT n
12279 NEED SK ELEMENT – PASSENGER n
12319 INVALID SK ITEM – ELEMENT n
11684 ERROR - STAFF NUMBER (FD SN) REQUIRED
4702 DISCOUNTS NOT COMBINABLE
11718 NEED FT ELEMENT
12277 NEED FT ELEMENT – PASSENGER n
12382 INVALID FT ELEMENT
3420 MODIFICATIONS RESTRICTED
21108 MISSING SSR FQTU FOR PASSENGER n
21809 MISSING SSR FQTR FOR SEGMENT n
2622 NEED KEYWORD
Warning at EOT: A second EOT will be successful
23265 WARNING - INFANT AGE MAY EXCEED FOR SOME SEGMENTS
23130 WARNING: NAME CHANGED –SEGMENTS WILL BE CANCELLED: n,n/n-n
23131 WARNING: NAME CHANGED –SEGMENTS WILL BE WAITLISTED: n,n/n-n
3359 WARNING: CHECK ITINERARY STATUS
15916 WARNING: CHECK SEGMENT CONTINUITY – SEGMENT n/n
15915 WARNING: CHECK DEPARTURE/ARRIVAL – SEGMENT n/n
1961 WARNING: CHECK MINIMUM CONNECTION TIME – SEGMENT n/n
12024 WARNING: PAST DATED SEGMENT REMOVED
3666 WARNING: COMBINE SEGMENTS
15664 WARNING:ENTER PAYMENT INFO TO SECURE TICKETLESS BOOKING-HE EPAY
15672 WARNING: CHANGES RESTRICTED ONCE PAYMENT ACCEPTED - XX
22433 WARNING TICKETLESS – ONLY FIRST APE/AB SENT – SEE AIS PAGES
24389 WARNING USE APM MOBILE PHONE INTERNATIONAL_FORMAT_11-15_NUM
4503 WARNING:AIRLINE CODE NOT IN ITINERARY - SSR/OSI CANCELLED AT EOT
3381 WARNING CHECK OSI/SSR STATUS CODE
4503 WARNING: AIRLINE NOT IN ITINERARY- SSR/OSI CANCELLED AT EOT
28934 WARNING: SECURE FLT PASSENGER DATA REQUIRED FOR TICKETING PAX [PaxId]
11647 WARNING: AIRLINE NOT IN ITINERARY- SK CANCELLED AT EOT
11645 WARNING: HOLIDAY BOOKING EXISTS - PLEASE CHECK DETAILS
12215 WARNING: AIRLINE CODE NOT IN ITINERARY OPX/OPQ REMOVED
9527 WARNING: UNCONFIRMED INSURANCE PRESENT - PLS CONFIRM
21932 WARNING: OA CONTROLLED PNR
4466 WARNING: CHECK QUEUEING OFFICE
2463 WARNING: STATUS WILL REVERT TO NN FOR:

Note: TBD stands for to be defined.



5 Operations

5.1 Operation: Accounting Information

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

Parameter

Information

Account Number

DEC001029

Cost Center Number

DV123

Company ID Number

DEC038FR

Client Reference Number

LOFKFD122

5.1.1 Query Structure


Double Click To Show XML

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors


5.2 Operation: ARNK Segment

When the arrival is unknown, an ARNK is input. Segment indicates that it is not known how the passenger proceeds from the arrival city of the previous segment to the departure city of the next segment. An ARNK segment may be passenger associated at input or prior to end transaction. ARNK, without association, applies to all passenger names in a PNR. When associated to less than the total number of names elements entered, a non homogeneous condition exists. Itinerary is not valid if an ARNK precedes another ARNK.

5.2.1 Query Structure


Double Click To Show XML

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

? If EOT is made with two ARNK following each other, the following message is displayed: INVALID ITINERARY

5.3 Operation: Confidential Remark

The example below illustrates a request for a confidential remark.

5.3.1 Query Structure


Double Click To Show XML

0 13 OT RC CONFIDENTIAL REMARK FREE TEXT RC

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors


5.4 Operation: Connection Flight

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

Parameter Information
Airline Brithish Airways (BA)
Flight Number (1) 1288
Date 17/05/13
City Pair AMS/LHR
Class of service K
Flight Number (2) 1286
Date 17/05/13
City Pair LHR/LAX
Class of service B
Airline DL
Flight Number (3) 4690
Date 17/05/13
City Pair LAX/SCL
Class of service Y
Number of seats to reserve 1

5.4.1 Query Structure


Double Click To Show XML

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors

MAXIMUM NUMBER OF CONNECTING FLIGHTS IS 6 RESTRICTED - USE SAME ACTION CODE FOR ALL SALES

5.5 Operation: Contact Information

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

Parameter Information
Phone Number 04.92.94.70.00
Agency contact indicator AGCY

5.5.1 Query Structure


Double Click To Show XML

0 1 OT AP 3 6 04.92.94.70.00 - AGCY

5.5.2 Reply Structure


Double Click To Show XML

5.5.3 Possible Errors


5.6 Operation: Creating an OSI with Mandatory Airline Code

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

5.6.1 Query Structure


Double Click To Show XML

0 OS LH 3 P27 LH FB00S7 B744 UMLAUF71343

5.6.2 Reply Structure


Double Click To Show XML

5.6.3 Possible Errors

See "Error Messages" section.


5.7 Operation: E-mail

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

Parameter Information
E-mail Contact Lchildrens@Amadeus.net
Agency contact indicator - EMAIL

5.7.1 Query Structure


Double Click To Show XML

5.7.2 Reply Structure


Double Click To Show XML

5.7.3 Possible Errors


5.8 Operation: End Of Transaction

To end transact the PNR using options mentioned in supported operations paragrah

5.8.1 Query Structure


Double Click To Show XML

5.8.2 Reply Structure


Double Click To Show XML

5.8.3 Possible Errors

See "Error Messages" section.

5.9 Operation: Extra Seat

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

Parameter Information
Traveler Surname CHIKKLES
Traveler First name JOHN
Extra Seat Qualifier E

5.9.1 Query Structure


Double Click To Show XML

0 1 PR NM JOHN E 1 CHIKKLES

5.9.2 Reply Structure


Double Click To Show XML

5.9.3 Possible Errors


5.10 Operation: Fare Discount for a child

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

5.10.1 Query Structure


Double Click To Show XML

0 1 OT FD CH 10

5.10.2 Reply Structure


Double Click To Show XML

5.10.3 Possible Errors


5.11 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.

5.11.1 Query Structure


Double Click To Show XML

0 1 OT FD CH 010203

5.11.2 Reply Structure


Double Click To Show XML

5.11.3 Possible Errors


5.12 Operation: Fare Discount for senior citizen

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

5.12.1 Query Structure


Double Click To Show XML

0 1 OT FD PAX CD 10

5.12.2 Reply Structure


Double Click To Show XML

5.12.3 Possible Errors


5.13 Operation: Fax Number

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

Parameter Information
Fax Number 04.92.93.44.99
Agency contact indicator - FAX

5.13.1 Query Structure


Double Click To Show XML

0 16 OT AP
A1 04.92.93.44.99
P01

5.13.2 Reply Structure


Double Click To Show XML

5.13.3 Possible Errors


5.14 Operation: Form of Payment

Used to specify the form of payment for a ticket.

5.14.1 Query Structure


Double Click To Show XML

5.14.2 Reply Structure


Double Click To Show XML

5.14.3 Possible Errors

INVALID FORM OF PAYMENT: If there are errors in the FOP syntax. For example invalid FOP code. INVALID ACCOUNT NUMBER: The CC number is not compliant with Luhn algorithm or length restrictions (too short or too long) CREDIT CARD EXPIRED: if the credit card is expired.


5.15 Operation: Frequent Flyer Numbers

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 have an associated type of FQTV, indicating frequent traveler information.

Besides this, it 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 would result in an error message.

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

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

Parameter Information
FQTV Airline QF
Membership Number QF1117622
Passenger Association Passenger element number 1

5.15.1 Query Structure


Double Click To Show XML

0 1 PT SSR QF P01 FQTV QF QF1117622 1 PT

5.15.2 Reply Structure


Double Click To Show XML

5.15.3 Possible Errors

DUPLICATE EXISTS TARGET AIRLINE MISSING CARD AIRLINE MISSING FF NUMBER MISSING NO AIR SEGMENTS PASSENGER AND_OR SEGMENT DATA NOT VALID SSR ITEM TOO LONG INVALID ACTION CODE INVALID NIP (NIP=Number in Party) NO AGREEMENT BETWEEN INVALID TEXT DATA

5.16 Operation: General Remark

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

5.16.1 Query Structure


Double Click To Show XML

0 1 OT RM GENERAL REMARK RM

5.16.2 Reply Structure


Double Click To Show XML

5.16.3 Possible Errors


5.17 Operation: Ghost Segment

Segment originally booked in another system, or speculative booking. These segments are not reported or billed to the controlling carrier.

For Ghost segments:

Example:

Parameter Information
Airline Finnair (AY)
Flight Number (1) 3278
Date 020413
City Pair CDG/HEL
Class of service Y
Number of seats to reserve 1
Rloc 5O911

5.17.1 Query Structure


Double Click To Show XML

5.17.2 Reply Structure


Double Click To Show XML

5.17.3 Possible Errors

? Record Locator missing: Error Information (ERC) ZZZ and IFT "NEED AGENT SIGN / RECORD LOCATOR" ? Departure/arrival time missing whereas flight is not recorded in 1A: Error Information (ERC) 134 and Error Free From Text ( IFT) "INPUT TIMES"

5.18 Operation: Group Name

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

Parameter Information
Group Name MARTIEN GROUP
Traveler1 Surname CHILDS
Traveler1 First name LISA
Traveler2 Surname CHIKKLES
Traveler2 First name ROBERT

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.

5.18.1 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

5.18.2 Reply Structure


Double Click To Show XML

5.18.3 Possible Errors


5.19 Operation: Ignore

To ignore the PNR using options mentioned in supported operations paragrah

5.19.1 Query Structure


Double Click To Show XML

5.19.2 Reply Structure


Double Click To Show XML

5.19.3 Possible Errors

See "Error Messages" section.

5.20 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.

5.20.1 Query Structure


Double Click To Show XML

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

5.20.2 Reply Structure


Double Click To Show XML

5.20.3 Possible Errors


5.21 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.

5.21.1 Query Structure


Double Click To Show XML

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

5.21.2 Reply Structure


Double Click To Show XML

5.21.3 Possible Errors


5.22 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.

5.22.1 Query Structure


Double Click To Show XML

0 2 PR NM A MRS 1 ADT 2 SMITH

5.22.2 Reply Structure


Double Click To Show XML

5.22.3 Possible Errors


5.23 Operation: Infant with own Native firstname

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

Native name 김/지훈 will be used for the adult, 수진 for the firstname infant, to be able to illustrate.

In the reply, the header flag RCH is displayed, as soon as Native name are contained in a PNR.

5.23.1 Query Structure


Double Click To Show XML

5.23.2 Reply Structure


Double Click To Show XML

5.23.3 Possible Errors

See "Error Messages" section.


5.24 Operation: Informational Segment

An information flight segment gives details of a non-Altea flight that has not been booked through Amadeus.

Entering this segment may or may not generate a message to the Airline involved, depending on whether any other element for action by the same airline is enterd in the PNR during the same or a subsequent transaction.This informational segment is not recognized by the system for pricing or ticketing. Informational segment can be included in group and non-group PNRs.

For Informational segments:

Example:

Parameter

Information

Airline

Delta (DL)

Flight Number (1)

735

Date

211212

City Pair

HKG/SIN

Class of service

Y

Number of seats to reserve

1

Depature time

1420

  Arrival time   1805

5.24.1 Query Structure


Double Click To Show XML

5.24.2 Reply Structure


Double Click To Show XML

5.24.3 Possible Errors

? Departure/arrival time missing: Error Information (ERC) 134 and Error Free From Text ( IFT) "INPUT TIMES" ? Other action code than HK, HL, HN: Error Information (ERC) ZZZ and IFT "INVALID STATUS CODE" ? On Altea airline: Error Information (ERC) ZZZ and Error Free From Text ( IFT) "RESTRICTED ACTION CODE"

5.25 Operation: Name With ID Code

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

Parameter Information
Traveler Surname CHIPIE
Traveler First name ROBERT
Passenger ID Code ID12344

Note: Two identification codes are supported they are 'ID' and or 'CR'. The ID codes are individually assigned and can form part of a client's department name and or even a description. Therefore it may be 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.

5.25.1 Query Structure


Double Click To Show XML

0 1 PR NM MATHIEU ID1234 1 DUPONT

5.25.2 Reply Structure


Double Click To Show XML

5.25.3 Possible Errors


5.26 Operation: Name With Passenger Type Code

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

Parameter Information
Traveler Surname CHIPIE
Traveler First name WILLIAM
Passenger Type CHILD (CHD)

5.26.1 Query Structure


Double Click To Show XML

0 1 PR NM MATHIEU CHD 1 DUPONT 20MAR00

5.26.2 Reply Structure


Double Click To Show XML

5.26.3 Possible Errors


5.27 Operation: Name with title separated from firstname

This example illustrate the addition of a name with title separated from firstname.

5.27.1 Query Structure


Double Click To Show XML

5.27.2 Reply Structure


Double Click To Show XML

5.27.3 Possible Errors

See "Error Messages" section.

5.28 Operation: Native name with Native Infant name

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

The infant indicator must be set to 3, meaning that the infant has his proper surname and lastname.

Native name 김/지훈 will be used for the adult, 이/수진 for the infant, for illustration.

In the reply, the header flag RCH is displayed, as soon as Native name are contained in a PNR.

5.28.1 Query Structure


Double Click To Show XML

5.28.2 Reply Structure


Double Click To Show XML

5.28.3 Possible Errors

See "Error Messages" section.


5.29 Operation: Open Segment

An Open Segment (SO) may be entered into the PNR for the purposes of ticketing and faring. No flight inventory is adjusted. The process checks for format only. An Open segment may be included in both Group and Non Group PNRs. Open segments are considered valid itinerary only when a PTA is present in the PNR. If no PTA exists and the PNR contains only Open Segments without SA status code.

Example:

Parameter

Information

Airline

British Airways (BA)

Date

050213

City Pair

BKK/LHR

Class of service

Y

Number of seats to reserve

1

5.29.1 Query Structure


Double Click To Show XML

5.29.2 Reply Structure


Double Click To Show XML

5.29.3 Possible Errors

If no off point is entered an error response is issued: CHECK CITY PAIR

5.30 Operation: Original exchange document

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

5.30.1 Query Structure


Double Click To Show XML

0 9 OT FO E 220 2000000112 2 FRA 200508 23491193

5.30.2 Reply Structure


Double Click To Show XML

5.30.3 Possible Errors


5.31 Operation: Passive Segment

Passive booking enable you to ticket an itinerary which has been actively booked in a system other than Amadeus, specifically for the purpose of transmitting the ticket number to the airline

For Passive segments:

Example:

Parameter

Information

Airline

Delta (DL)

Flight Number (1)

184

Date

050513

City Pair

JFK/CDG

Class of service

Y

Number of seats to reserve

1

  Departure time  1200
  Arrival time  1450

Record Locator

PZTX7A

5.31.1 Query Structure


Double Click To Show XML

5.31.2 Reply Structure


Double Click To Show XML

5.31.3 Possible Errors

? Record Locator missing: Error Information (ERC) ZZZ and Error Free From Text ( IFT) "NEED AGENT SIGN / RECORD LOCATOR" ? Departure/arrival time missing whereas flight is not recorded in 1A: Error Information (ERC) 134 Error Free From Text ( IFT) IFT "INPUT TIMES" ? On Altea airline: Error Information (ERC) ZZZ and Error Free From Text ( IFT) "INVALID ACTION CODE FOR XX" ? On Ticketless acces carrier: Error Information (ERC) ZZZ and Error Free From Text ( IFT) "CHECK ACTION CODE"

5.32 Operation: Past Dated Segment

Past dated segment can be added using GK action code and it can be 999 days in the past maximum. Rloc is not madatory because PAST will be displayed as Rloc in the replay.

Example:

Parameter

Information

Airline

Finnair (AY)

Flight Number (1)

3278

Date

230512

City Pair

CDG/HEL

Class of service

Y

Number of seats to reserve

1

  Rloc

ECJ93

5.32.1 Query Structure


Double Click To Show XML

5.32.2 Reply Structure


Double Click To Show XML

5.32.3 Possible Errors

If the date specified in the entry is more than 999 days in the past, the application rejects the entry and generates error message CHECK DATE. If Times have not been included in the input entry, then the input entry is rejected with the message INPUT TIMES . Warning messages at sell time: "PASSIVE FLIGHT/CLASS DOES NOT MATCH PUBLISHED SCHEDULE" "WARNING : THIS SEGMENT IS nnn DAYS IN THE PAST" Warning at end of transaction: ?WARNING : PAST DATED SEGMENT REMOVED?.

5.33 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:

Parameter

Information

Airline

Brithish Airways (BA)

Flight Number (1)

1288

Date

17/05/13

City Pair

AMS/LHR

Class of service

K

Flight Number (2)

1286

Date

17/05/13

City Pair

LHR/LAX

Class of service

B

Airline

DL

Flight Number (3)

4690

Date

17/05/13

City Pair

LAX/SCL

Class of service

Y

Number of seats to reserve

1

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

5.33.1 Query Structure


Double Click To Show XML

5.33.2 Reply Structure


Double Click To Show XML

5.33.3 Possible Errors


5.34 Operation: Received From Information

The example below illustrates a received from information element:

5.34.1 Query Structure


Double Click To Show XML

0 RF 3 P22 internet/MUC1A0701

5.34.2 Reply Structure


Double Click To Show XML

5.34.3 Possible Errors


5.35 Operation: Seat Request

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

5.35.1 Query Structure


Double Click To Show XML

0 STR NSSA 1 PT 1 ST

5.35.2 Reply Structure


Double Click To Show XML

5.35.3 Possible Errors

See "Error Messages" section.


5.36 Operation: Service Fee

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

5.36.1 Query Structure


Double Click To Show XML

0 1 OT FP 5499840000000006 30 CA EUR 1205 CC SV

5.36.2 Reply Structure


Double Click To Show XML

5.36.3 Possible Errors


5.37 Operation: Service segment

Service segments can be included in a PNR to facilitate the ticketing process, when one or more segments have been booked outside Amadeus. They are identified by the use of HK Action Code with an OA sign, which are transmitted to the corresponding airlines when the PNR is filed (EOT), for action and information.

For Service segment:

Example:

Parameter

Information

Airline

Delta (DL)

Flight Number (1)

782

Date

010513

City Pair

MIA/JFK

Class of service

Y

Number of seats to reserve

1

  Rloc

JM4AZ

5.37.1 Query Structure


Double Click To Show XML

5.37.2 Reply Structure


Double Click To Show XML

5.37.3 Possible Errors

? Record Locator missing: Error Information (ERC) ZZZ and Error Free From Text ( IFT) "NEED AGENT SIGN / RECORD LOCATOR" ? Departure/arrival time missing whereas flight is not recorded in 1A: Error Information (ERC) 134 Error Free From Text ( IFT) IFT "INPUT TIMES" ? On Altea airline: Error Information (ERC) ZZZ and Error Free From Text ( IFT) "INVALID ACTION CODE FOR XX"

5.38 Operation: Simple Name

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

Parameter Information
Traveler Surname CHIKKLES
Traveler First name BENJAMIN

5.38.1 Query Structure


Double Click To Show XML

0 1 PR NM MATHIEU 1 DUPONT

5.38.2 Reply Structure


Double Click To Show XML

5.38.3 Possible Errors


5.39 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:

Parameter

Information

Airline

Brithish Airways (BA)

Flight Number (1)

1288

Date

17/05/13

City Pair

AMS/LHR

Class of service

K

Flight Number (2)

1286

Date

17/05/13

City Pair

LHR/LAX

Class of service

B

Airline

DL

Flight Number (3)

4690

Date

17/05/13

City Pair

LAX/SCL

Class of service

Y

Number of seats to reserve

1

5.39.1 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

5.39.2 Reply Structure


Double Click To Show XML

5.39.3 Possible Errors


5.40 Operation: Single Flight

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

Parameter Information
Airline Finnair (AY)
Flight Number 3278
Date 05/03/13
City Pair  CDG to HEL
Class of service Y
Number of seats to reserve 1

5.40.1 Query Structure


Double Click To Show XML

0 1 SR AIR CDG AY HEL 050313 Y 3278 1 1 NN

5.40.2 Reply Structure


Double Click To Show XML

5.40.3 Possible Errors

RESTRICTED ACTION CODE if you try to sell an action code not authorized by the airline. CHECK CLASS OF SERVICE if you try to sell the restricted class returns the message. CHECK FLIGHT NUMBER INVALID CITY PAIR

5.41 Operation: Special A.I.R remark

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

5.41.1 Query Structure


Double Click To Show XML

5.41.2 Reply Structure


Double Click To Show XML

5.41.3 Possible Errors

See "Error Messages" section.


5.42 Operation: Structured Mailing

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

Type Data
Name Dave Johnson
Address Line 1 1234 so. Main street
Address Line 2 Villa 9
City Atlanta
State Georgia
Zip Code 30039
Country USA

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.

5.42.1 Query Structure


Double Click To Show XML

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

5.42.2 Reply Structure


Double Click To Show XML

5.42.3 Possible Errors


5.43 Operation: Structured Remark

The example below illustrates a request for a remark creation.

This example is for a general remark (RM) but it applies in the same way for Itinerary and Invoice remarks. Just replace RM by RIR, RII, RIF or RIZ

5.43.1 Query Structure


Double Click To Show XML

5.43.2 Reply Structure


Double Click To Show XML

5.43.3 Possible Errors

See "Error Messages" section.

5.44 Operation: Structured Remark with basic security


The example below illustrates a request for a secured remark creation.

In this example, no office is specified for the security. It means only the creator office will have access to the remark (in read & write).

This example is for a general remark (RM) but it applies in the same way for Itinerary and Invoice remarks. Just replace RM by RIR, RII, RIF or RIZ

5.44.1 Query Structure


Double Click To Show XML

5.44.2 Reply Structure


Double Click To Show XML

5.44.3 Possible Errors

See "Error Messages" section.

5.45 Operation: Structured Remark with corporate security

The example below illustrates a request for a corporate remark with Unicode characters and a category.

This example is for a general remark (RM) but it applies in the same way for Itinerary and Invoice remarks. Just replace RM by RIR, RII, RIF or RIZ

5.45.1 Query Structure


Double Click To Show XML

5.45.2 Reply Structure


Double Click To Show XML

5.45.3 Possible Errors

See "Error Messages" section.

5.46 Operation: Structured Remark with specific security


The example below illustrates a request for a secured remark creation.


In this example, the security is specified as follows:

- an office Id (NCE6X0980) with read & write access

- a Family (F-LON6X0100) with read access

It means NCE6X0980 and the creator office (MUC1A0701) will have access to the remark in read & write mode and the Family (offices having FRX EOS agreement with LON6X0100) will have access in read only.

This example is for a general remark (RM) but it applies in the same way for Itinerary and Invoice remarks. Just replace RM by RIR, RII, RIF or RIZ

5.46.1 Query Structure


Double Click To Show XML

5.46.2 Reply Structure


Double Click To Show XML

5.46.3 Possible Errors

See "Error Messages" section.

5.47 Operation: Structured Timestamped Remark

NOTE THAT THIS OPTION IS NOT PART OF THE BASELINE REMARK PACKAGE.

The example below illustrates a request for a Timestamped remark with Unicode characters and a category.

This example is for a general remark (RM) but it applies in the same way for Itinerary and Invoice remarks. Just replace RM by RIR, RII, RIF or RIZ

5.47.1 Query Structure


Double Click To Show XML

5.47.2 Reply Structure


Double Click To Show XML

5.47.3 Possible Errors

See "Error Messages" section.

5.48 Operation: Ticketing Arrangement Element

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

Parameter Information
Ticketing Type indicator Ticket Time Limit (TL)
Date of Ticketing 12/12/12

5.48.1 Query Structure


Double Click To Show XML

0 1 OT TK PAX 121201 TL

5.48.2 Reply Structure


Double Click To Show XML

5.48.3 Possible Errors

See "Error Messages" section.

5.49 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.

5.49.1 Query Structure


Double Click To Show XML

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

5.49.2 Reply Structure


Double Click To Show XML

5.49.3 Possible Errors


5.50 Operation: Upgrade

The example below show a SSR FQTU.

Note:
All the information is added in the freetext (for what concerns edifact respectively XML, no FTI segment respectively frequentTravellerData tag follows SSR FQTU segment).

In the reply some flights appears to provide a complete example.

5.50.1 Query Structure


Double Click To Show XML

52A345 0 SSR FQTU QF QF1117622/CN-12345

5.50.2 Reply Structure


Double Click To Show XML

1A 52A345 311012 RP AASU NYCP02001 12345675 NYCP02001 NYC NYCP02001 0001AA 311012 12345675 1129 3 P12 --- RLR --- 12345675 NYCP02001 T 1A NYC US 12345675 NYCP02001 T 1A NYC US 12345675 NYCP02001 T 1A NYC US 1 0 2012 12 21 MOD PT 1 NM 1 ABOUD 1 RUSSEL ST 1 AIR 2 211212 2137 231212 0517 2 LHR SYD QF 2 Y ET 1 QF 52A345 1 HK 388 1 5 3 OT 3 AP 3 3 5 1234 OT 9 TK 4 OK 311012 NYCP02001 OT 26 SSR 5 FQTU HK 1 QF QF1117622/QF1117622/CN-12345 ST 1 PT 1

5.50.3 Possible Errors

DUPLICATE EXISTS TARGET AIRLINE MISSING CARD AIRLINE MISSING FF NUMBER MISSING NO AIR SEGMENTS PASSENGER AND_OR SEGMENT DATA NOT VALID SSR ITEM TOO LONG INVALID ACTION CODE INVALID NIP (NIP=Number In Party) NO AGREEMENT BETWEEN CN TOO LONG (CN=certificate number) PC TOO LONG (PC= promotion code) UQ TOO LONG (UQ=upgrade qualifier) AC TOO LONG (AC=award code) NO EOT UPGRADE CLASS INVALID UPGRADE CLASS MISSING




Function: DisplayHistory


1 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.

1.1 Supported Operations

PNR history retrieve.

1.2 Limitations

Not applicable.

1.3 Unsupported Operations

Not applicable.

1.4 Prerequisites

Not applicable.

2 Building A Query

Following data is mandatory in the query message:

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

in /redundantElements /selectionDetails:

Code Description
S Standard history
F Filtered 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:

and one of the following:


/predicate /predicateDetails /selectionDetails segment:

Mandatory:

Code Description
FIL Discard history lines matching the criterion
SEL Keep history lines matching the criterion
FND Find history lines containing a certain freetext
Code Description
0 Predicate type

Optional:

Code Description
QUE Match queue update history lines
Code Description
1 Match 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:

Code Description
AIR Air segment
IFO Informational segment
ARK ARNK
ATX Air Taxi segment
CAR Manual Car segment
TUR Manual Tour segment
HTL Manual Hotel segment
CCR Car segment
HHL Hotel segment
OPN Open Air segment
TRN Train segment
TTO Tour Source segment
CRU Cruise segment
FER Ferry segment
MIS Manual Miscellaneous segment
SUR Surface segment
GT Group Name
NM Name element
SSR SSR element
ST Seat element
OSI OSI element
SK Keyword element
FA FA fare element
FB FB fare element
FD FD fare element
FE FE fare element
FG FG fare element
FH FH fare element
FI FI fare element
FK FK fare element
FM FM fare element
FN FN fare element
FO FO fare element
FP FP fare element
FS FS fare element
FT FT fare element
FV FV fare element
FY FY fare element
FZ FZ fare element
RM Remark element
RX RX secured remark element
RC RC secured remark element
RI Invoice remark element
AP Phone element
AB Billing address element
AM Mailing address element
AQ Address verification element
AI Accounting information element
TK Ticket element
MCO MCO element
ES Security element
OP Option element

Optional:

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

Code Description
PT Passenger tattoo indicator
ST Segment tattoo indicator
OT Other element tattoo indicator

Here are some examples of possible filter options:

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

3 Receiving A Reply



Reply Structure

The reply will contain:

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

Generic reply with 2 history envelopes

4 Error Messages

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

ERROR MESSAGE CODE DESCRIPTION
UNABLE TO RETRIEVE PNR 119 The record locator given in the request has not been found.
RESTRICTED 20 The requestor is not authorized to retrieve the PNR.
UNABLE TO DISPLAY 103 Technical error. Contact help desk
NO ITEMS FOUND 511 PNR history contains no item corresponding to the query.


5 Operations

5.1 Operation: Display a Simple History

This corresponds to PNR history without the queuing actions.

5.1.1 Query Structure


Double Click To Show XML

X37G8V 20070716 0 1

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages" section.


5.2 Operation: Display all the history

This corresponds to displays the entire PNR history.

5.2.1 Query Structure


Double Click To Show XML

X37G8V 20070716

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

See "Error Messages" section.


5.3 Operation: Display the history for a range of envelope

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

5.3.1 Query Structure


Double Click To Show XML

X37G8V 20070716 0 3

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors

See "Error Messages" section.


5.4 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.

5.4.1 Query Structure


Double Click To Show XML

X37G8V 20070716 0 RM RC RX RI 0 1

5.4.2 Reply Structure


Double Click To Show XML

5.4.3 Possible Errors

See "Error Messages" section.


5.5 Operation: Display the history with a freetext filter

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

5.5.1 Query Structure


Double Click To Show XML

X37G8V 20070716 0 3 A 2 TEST

5.5.2 Reply Structure


Double Click To Show XML

5.5.3 Possible Errors

See "Error Messages" section.






Function: DisplayTSM


1 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.

1.1 Supported Operations

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

1.2 Limitations

The display is for one TSM only.

1.3 Unsupported Operations

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

1.4 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.

2 Building A Query

Following data are mandatory in the query message:

The query has the same format for all TSM types.

3 Receiving A Reply

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



Reply Structure

4 Error Messages

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


5 Operations

5.1 Operation: Display a TSM

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

5.1.1 Query Structure


Double Click To Show XML

47 REF 3

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors






Function: RetrieveByOARloc


1 Overview

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

In case of split:

1.1 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:

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.

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.

1.2 Limitations

Not applicable.

1.3 Unsupported Operations

Not applicable.

1.4 Prerequisites

Not applicable.

2 Building A Query

Retrieve one PNR:

3 Receiving A Reply

4 Error Messages

ERROR MESSAGE CODE DESCRIPTION
ENTRY NOT AUTHORISED ERR02011 Check user group security . Message returned if the agent is authorized to perform the input
CHECK FORMAT ERR00001 A 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 CODE ERR21582 Check 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 SECURED ERR9305 If 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 - RETRY ERR3673 If there is a link down between Central System and the SBR server
RESPONSE TIMED OUT - SBR ERR15529 If there is a time out on SBR server side
UNABLE TO PROCESS - CONTACT HELP DESK ERR4070 When there is an internal error


5 Operations

5.1 Operation: Retrieve a List of PNRs

A query retrieving a List of PNRs

5.1.1 Query Structure


Double Click To Show XML

1G ABCDE

5.1.2 Reply Structure


Double Click To Show XML

5Z 2TSY4B 2TSY4B

5.1.3 Possible Errors

See "Error Messages" section.






Function: UpgradeRedemption


1 Overview

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

For airlines which store their frequent flyer database within the Amadeus Global Core system the frequent flyer number is validated against the card owning airline's database but there is no 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 the upgrade 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 stored in the PNR only if it is approved by the interactive validation: if an error is returned by Loyalty system of the airline concerned by interactive validation, the SSR FQTU is not added in the PNR.

1.1 Supported Operations

Not applicable.

1.2 Limitations

Not applicable.

1.3 Unsupported Operations

Not applicable.

1.4 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 to be 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. This can 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.

2 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 Related Product Information

Input parameters involved in the Interactive Free Text

Input parameters involved in the Reservation Control Information

Input parameters involved in the Traveler Information

Input parameters involved in the Travel Product Information

3 Receiving A Reply

If the process is successful

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 a Commit transaction. Therefore a context must be kept between the different transactions.



Reply Structure

A generic reply can contain

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

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

Generic reply containing Passenger information:

4 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 PRESENT 1383 There is no PNR present in AAA
NO MATCH FOR RECORD LOCATOR 1931 The record locator given in the request does not correspond to the record locator in AAA.
UNABLE TO PROCESS 11 Technical error. Contact help desk.
IGNORE AND RE-ENTER 55 Technical 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 ALLOWED 35 The card can be associated to only one passenger
NO MATCH FOR NAME 39 The name in the PNR does not match the name of the card
INVALID ACCOUNT NUMBER 313 The frequent flyer card does not exist
INVALID FREQ FLYER AIRLINE 535 The frequent flyer owner airline or the target airline is not valid
NEED NAME 1436 There is no name in the PNR (this error is only for FFN entries)
PASSENGER AND/OR SEGMENT DATA NOT VALID 1949 The passenger association is not valid
NO FREQUENT FLYER CARD 2415 The frequent flyer card does not exist
NO FREQUENT FLYER CARD - REENTER AS FOID 2416 The frequent flyer card does not exist
NEED PASSENGER ASSOCIATION 3500 The passenger association must be specified if there are several names in the PNR
FARE ELEMENT ALREADY EXISTS FOR PASSENGER/SEGMENT 3671 FD element already exists in the PNR (only for Air France)
INVALID PASSENGER ASSOCIATION 4725 The passenger association of the FD is incorrect
INVALID - NO AGREEMENTS BETWEEN 6132 No agreements between the frequent flyer card owner and the target airline
NO DATABASE FOR AIRLINE 6182 The frequent flyer card owner airline does not maintain a frequent flyer database in Amadeus
LINK DOWN - RETRY IN 2 MINUTES 2162 The 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 error information returned by the airline loyalty system (the airline which was asking for aninteractive validation) and the error message.

Note:

Message Code Description
MEMBER NUMBER NOT FOUND IN DATABASE 21744 The Frequent Flyer was not found in the system
INVALID CARRIER FOR FQTX 21775 The target airline is not authorized for redemption
CERTIFICATE NUMBER ALREADY USED 21754 The certificate number identifying this redemption was already used
INVALID CLASS FOR FQTX 21778 The redemption is not authorized on the class requested


5 Operations

5.1 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
IB 00300004

5.1.1 Query Structure


Double Click To Show XML

ZEWNS4 O IB 00300004

5.1.2 Reply Structure


Double Click To Show XML

5.1.3 Possible Errors

See "Error Messages" section.


5.2 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 data and associations:

Card Owner Airline Card Number
IB 00300004

5.2.1 Query Structure


Double Click To Show XML

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

5.2.2 Reply Structure


Double Click To Show XML

5.2.3 Possible Errors

See "Error Messages" section.


5.3 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 data and associations, with a certificate number:

Card Owner Airline Card Number
SA 100178

5.3.1 Query Structure


Double Click To Show XML

YXEMUV O SA 100178 12345

5.3.2 Reply Structure


Double Click To Show XML

5.3.3 Possible Errors

See "Error Messages" section.


5.4 Operation: Generic Reply

5.4.1 Query Structure


Double Click To Show XML

5.4.2 Reply Structure


Double Click To Show XML

ZEWNS4 0 MARTINEZDEMATA JORGE 1 O IB 00300004 HK

5.4.3 Possible Errors