KIU_AirportsRQ/RS
Objective:
Using the KIU_Airports method, a user can request and receive the list of airports enabled by a carrier. It does not belong to OTA standard
KIU_AirportsRQ
Â
Message example:
KIU_AirportsRQ
Â
<?xml version="1.0" encoding="UTF-8"?>
<KIU_AirportsRQ Version="3.0" SequenceNmbr="1" PrimaryLangID="es-es" EchoToken="1" TimeStamp="2013-04-19T10:27:36-05:00" Target="Testing">
 <POS>
   <Source AgentSine="NET00XXWW" TerminalID="NET00XX000" ISOCountry="AR"/>
 </POS>
 <Carrier>XX</Carrier>
</KIU_AirportsRQ>
Â
Elements of the message KIU_AirportsRQ:
Â
POS: Element that groups the information of the Point of Sale from which the request is made.
Source: Point of Sale or POS data container
AgentSine: Alphanumeric [9]. Identifier of the agent that makes the request.
TerminalID: Alphanumeric [10]. Identifier code of the device from which the request is made.
ISOCountry: Alphabetical [2]. ISO code of the country where the request originated.
Carrier: Alphanumeric [2]. Optional. Airline whose airports are requested. If this parameter is not sent, the default behavior of the method is to return all existing airports in the KIU system.
KIU_AirportsRS
Â
Example XML model for the answer is:
KIU_AirportsRS
Â
<?xml version="1.0" encoding="UTF-8"?>
<KIU_AirportsRS EchoToken="1" TimeStamp="2015-05-07T15:11:07+00:00" Target="Testing" Version="3.0" SequenceNmbr="1">
   <Success />
   <Airports>
       <AirportInformation AirportCode="ACC" OperationCarrier="XX">
           <AirportName>KOTOKA INTERNATIONAL AIRPORT</AirportName>
           <CityName>ACCRA</CityName>
           <CityCode>ACC</CityCode>
           <CountryCode>GH</CountryCode>
       </AirportInformation>
       <AirportInformation AirportCode="ACE" OperationCarrier="XX">
           <AirportName>LANZAROTE AIRPORT</AirportName>
           <CityName>LANZAROTE</CityName>
           <CityCode>ACE</CityCode>
           <CountryCode>ES</CountryCode>
       </AirportInformation>
   </Airports>
</KIU_AirportsRS>
Â
Elements of the message KIU_AirportsRS:
Â
Airports: Element that groups the data of the airports.
AirportInformation: Container of information about each airport.
AirportCode: Alphabetical. IATA airport code.
OperationCarrier: Airline operating at the airport. Only present if requested on the call.
AirportName: Alphabetical. Full name of the airport.
CityName: Alphabetical. Full name of the city in which the airport is located.
CityCode: Alphabetical. IATA code of the city in which the airport is located.
CountryCode: Alphabetical. ISO code of the country in which the airport is located.
Â
Possible error messages:
Code | Message | Description |
10039 | Carriers are not allowed to check other carrier's airports. | An airline was sent in the Carrier element that does not correspond to the user who made the query. |
11043 | Error at parameter Carrier. | The value of the Carrier element does not correspond to the format described (alphanumeric in upper case of two characters). |
Â
Â
Â
Â
Â
Â