Hahn Air NDC 2017.2 API – Endpoints and Request Header

Endpoints

The endpoints used to send NDC requests to our NDC platform will depend on the environment that you are targeting.

Please note that your IP addresses need to be whitelisted before you are authorized to send NDC requests to our NDC platform.

If you have not communicated your IP addresses to us, please get in touch with us at: ndc@hahnair.com

Request Header


Each NDC request that you send to our NDC platform should contain the following elements in the Header:

 

Request Header example
header = {
 'Accept': 'text/xml',
 'Content-Type': 'text/xml;charset=UTF-8',
 'Authorization': 'Basic xxxxxxxxxxxxxxxx',
 'User-Agent': '<any-value>'
}

 

Please note that it is mandatory to send all the elements listed above in the Header.

We use HTTP basic access authentication. The required credentials will be provided on demand. If you have not yet received your credentials, please get in touch with us at: ndc@hahnair.com

We will first provide credentials to access our Test environment. Credentials to access our Production environment will be communicated after the certification process.