.. _IATA_Acknowledgement:
********************
IATA_Acknowledgement
********************
.. raw:: html
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).
.. raw:: html
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 :ref:`Deliver-Booking`
.. raw:: html
Samples
.. raw:: html
IATA_Acknowledgement OK
.. toggle-header::
:header: **Show/Hide Response**
.. code-block:: xml
1
OK
|
.. raw:: html
IATA_Acknowledgement ERROR
.. toggle-header::
:header: **Show/Hide Response**
.. code-block:: xml
1
ERROR
order couldn't be created because ***
|
.. raw:: html
IATA_Acknowledgement PARTLY
.. toggle-header::
:header: **Show/Hide Response**
.. code-block:: xml
1
PARTLY
ancillary *** could not be booked
|