IATA_Acknowledgement
Introduction
The IATA_Acknowledgement represents a response in which the API either confirms or declines a job from a request. The response normally does not contain any informative content (beside of a possible error message).
General Usage
The main usage for IATA_Acknowledgement is to respond to a request. This can be either a successful response or a response containing an error that the requested job has failed. For more information please have a look at the below samples. The element “StatusCode” can have various values, in our API the following Values are used:
OK
ERROR
PARTLY
For more detailed information about the status codes, please have a look at Deliver booking
Samples
IATA_Acknowledgement OK
Show/Hide Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Acknowledgement xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_Acknowledgement"> <MessageDoc> <RefVersionNumber>1</RefVersionNumber> </MessageDoc> <Notification> <StatusCode>OK</StatusCode> </Notification> </Acknowledgement>
IATA_Acknowledgement ERROR
Show/Hide Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Acknowledgement xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_Acknowledgement"> <MessageDoc> <RefVersionNumber>1</RefVersionNumber> </MessageDoc> <Notification> <StatusCode>ERROR</StatusCode> <StatusMessageText>order couldn't be created because ***</StatusMessageText> </Notification> </Acknowledgement>
IATA_Acknowledgement PARTLY
Show/Hide Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Acknowledgement xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_Acknowledgement"> <MessageDoc> <RefVersionNumber>1</RefVersionNumber> </MessageDoc> <Notification> <StatusCode>PARTLY</StatusCode> <StatusMessageText>ancillary *** could not be booked</StatusMessageText> </Notification> </Acknowledgement>