Aptra Advance Ndc Developer-s Guide |work| -
Aptra Advance NDC Developer's Guide — Overview
8. Testing and Certification with IATA NDC Capability Levels
Before going live, your integration must pass the IATA NDC Certification Level 3 (Offer and Order Management). Aptra Advance simplifies this by providing:
- A sandbox environment with mock airline responses.
- A certification test suite that validates every message pair (
AirShoppingRQ/RS,OrderCreateRQ/RS, etc.) - A message validator (based on IATA’s NDC Schema).
The developer guide includes a chapter named “Running the Certification Suite”:
git clone https://github.com/hitit/aptra-ndc-certification
docker-compose up -d
./run-tests.sh --target airline=ANY
You will receive a certification report that you can share with your airline partners.
Step-by-step authentication:
-
Register your client application with Aptra Advance to receive: aptra advance ndc developer-s guide
client_idclient_secretapi_key(for rate limiting)
-
Obtain an access token:
POST /auth/token Host: api.aptra-advance.com Content-Type: application/x-www-form-urlencodedgrant_type=client_credentials& client_id=YOUR_CLIENT_ID& client_secret=YOUR_CLIENT_SECRET& scope=ndc_shopping ndc_ordering -
Use the Bearer token in all subsequent API calls:
Authorization: Bearer <access_token> Aptra-API-Key: your_api_key
Important: The guide emphasizes mutual TLS (mTLS) for production environments. You must upload your public certificate to Aptra Advance’s developer portal. This prevents token replay attacks.
6.3 Batch Order Retrieval
Instead of calling OrderRetrieve for each PNR individually, use batch: Aptra Advance NDC Developer's Guide — Overview
8
POST /v1/ndc/order/batch with an array of up to 50 orderId values.
1.2 The Role of the Developer’s Guide
The APTRA Advance NDC Developer’s Guide is distinct from the standard user manual. It focuses on:
- API Endpoints: RESTful and SOAP endpoints for triggering NDC workflows.
- Webhook Configurations: Asynchronous event handling for order changes, cancellations, and ancillary purchases.
- Error Code Matrices: Mapping airline-specific NDC errors to APTRA Advance internal error codes.
- Session Management: Maintaining stateless JWT tokens across multi-step offers (AirShopping, OrderCreate, OrderRetrieve).
Key Takeaway: The guide assumes you understand NDC schemas (
AirShoppingRQ,OrderCreateRQ). Its value lies in showing you how APTRA Advance wraps these schemas with proprietary headers and security artifacts. A sandbox environment with mock airline responses