.. _IATA_OrderListRQ/RS:
*******************
IATA_OrderListRQ/RS
*******************
.. raw:: html
   
Introduction
The IATA_OrderListRQ/RS message pair can be used to search for Orders, as long as the airline reservation system supports this. It can be done by using an external reference, that has been stored in the Order or by using passenger and flight data.
.. raw:: html
   General Usage
The IATA_OrderListRQ can be executed using an external reference or flight- and passenger-related data. If the search was successful, the IATA_OrderListRS contains 1-n found Orders with their Order IDs and a short summary of their data. If the search does not return any results, an error is returned.
Please note, that the IATA_OrderListRS does not load the response data into the cache. If the client wants to execute operations based on the found Orders, the Orders have to be retrieved by using :ref:`IATA_OrderRetrieveRQ`.
.. raw:: html
   Sample
.. raw:: html
   IATA_OrderListRQ
**Search with external reference**
.. toggle-header::
    :header: **Show/Hide Request**
        .. code-block:: xml
            
            
                
                    
                        1
                        Seller
                        
                            94021
                        
                    
                
                
                    
                        
                            
                                
                                    ABC
                                    ABC
                                
                            
                            999888777
                        
                    
                
            
|
**Search with passenger- and flight-data**
.. toggle-header::
    :header: **Show/Hide Request**
        .. code-block:: xml
             
            
                
                    
                        1
                        Seller
                        
                            94021
                        
                    
                
                
                    
                        
                            
                                2020-01-17
                                AYT
                            
                            
                                2020-01-10
                                FRA
                            
                        
                        
                            
                                John
                                Doe
                            
                        
                    
                
            
|
.. raw:: html
   IATA_OrderListRS
.. toggle-header::
    :header: **Show/Hide Response**
        .. code-block:: xml
            
            
                
                    
                        
                            2020-01-17
                            AYT
                        
                        
                            2020-01-10
                            FRA
                        
                        123456
                        OPENED
                        
                            
                                
                                    John
                                    Doe
                                
                                PX1
                            
                        
                    
                    
                        
                            2020-01-17
                            AYT
                        
                        
                            2020-01-10
                            FRA
                        
                        234567
                        CLOSED
                        
                            
                                
                                    John
                                    Doe
                                
                                PX1
                            
                        
                    
                
                
                    2023-10-27T06:42:09.453738051
                    13118896-b6e0-4b70-8c35-8de83860f5b7
                    21.3
                
            
|