Why a single universal integration is insufficient
Travel APIs may use REST, SOAP, XML, JSON or other provider-specific messaging conventions. Even where two providers use similar protocols, their business rules may differ. One supplier may return an offer that can proceed directly to booking. Another may require repricing. A third may require a session, previously created workbench or additional customer information. A common internal interface can make these providers easier to work with, but it cannot make their rules interchangeable. For example, IATA's NDC documentation describes an Offer and Order approach to airline distribution. This provides a common industry framework, but individual airline and intermediary implementations still determine available content and supported operations.
An adapter should therefore expose what its supplier can actually perform, rather than claim support for every function in a generic integration contract.


