● Travel Never Stops. Neither Do We. 365 Days a Year.

XML API Integration for Travel Supplier Contracts

Manage XML message versions and field meaning so accepted records, updates and partner acknowledgements can be reconciled.

Four colleagues review records around a workstation

Treat XML API integration as an agreement about meaning

XML API integration can use schemas to identify permitted structure, but valid markup is only the first step. A reservation feed can say that a price or state changed without telling a new integration which employee owns approval, what a missing field means, or how a delayed update applies. The contract should explain identity, version and business effect. Keep those decisions visible to the people who prepare acceptance tests and support supplier transitions.

Start with a concrete transaction the business manages. It could be a rail seat, hotel allocation or arrival update for a transfer. Use the version of the provider specification authorised for the environment, and ask which sections describe full records, adjustments and acknowledgements. List the scope that may be updated without revising the entire record. Document the supported recovery route when a provider receipt does not establish whether the change became effective.

Review W3C's XSD specification for the structural constraints that matter to your interfaces. Validation can verify elements, attributes, types and relationships defined by a schema. It cannot automatically verify conditions documented elsewhere, such as whether an approved fare can be amended under a particular seller's terms. Confirm from the provider which language and version it supports. Separate structural failures from business rejections in your acceptance fixtures. W3C XSD 1.1 structures

Identify which reference belongs to the operation

A lodging booking can have an internal reservation, supplier reservation reference and update request reference. Each has a different use. Define the key used to recover an earlier transaction and the distinct reference that associates an update with it. Confirm which agreement or account gives the external reference meaning. A short identifier such as 33421 might appear for another property or provider. Do not use a similar name or nearby dates alone to associate a service result.

Ask for sample documents that are approved for distribution and respond to cases around a normal sale. A provider may have more than one accepted message version, and one stage can be used only with a certain service. Document whether newer responses add elements and which effects require an approved migration. Keep partner and case type in the version record. Do not put actual credentials or customer records into draft documents or fixtures.

Use a fictitious hotel and transfer reconciliation exercise

In Elm Reach a customer has a confirmed stay and a pickup with a different local supplier. The hotel XML shows the original room and service date. The transfer XML exchange captures a change toward a later pickup after an itinerary update. The two partners use the same label for an acknowledgement but assign it different effects. The exercise requires a staff member to prove what was received, what was applied and what is still pending. Sample values and statuses here are illustrative.

Elm Reach fixtures for XML contracts and version transitions
Message situationRecord to keepExpected treatment
Hotel record with guest countOriginal booking and scopeCount remains linked to the accepted reference
Transfer adjustmentOperation reference and affected pickupRecord proposal until the approved partner result arrives
Later feed omits a fieldSource version and update typeInterpret omission under the agreed rules
Duplicate adjustment observationEarlier operation and event identityReconcile observations without creating a second action
Unsupported versionPrecise feed scope, run status and review ownerPreserve last approved evidence and assign review

Load a correct document and verify the scope at entry. Record the expected fields, source and relation to existing product data. Then make an authorised sample document whose date format or item structure does not match the contract and observe the structural outcome. Separately send a valid record that has a different, ineligible service date under the business fixture. The validation output should distinguish those failures so support knows whether to contact implementation staff or a responsible operator.

Add a later accepted message that clears a previous meeting place under explicit provider rules, and another that omits the meeting place field because it represents a revision to another aspect. Test different treatments where the approved specification requires them. Keep the actual support explanation and date range clear when a previously displayed value is removed. Display only the authorised contact and latest safe public information when a replacement value is not known yet.

Make the exact field meaning testable

For a room rate, describe whether it is for one night, one stay or a specified traveller type. Include currency and accepted precision. For a pickup, record whether time reflects expected local service or timestamp of processing. Design a test where the same numeric sample has a different meaning across the two providers. A canonical representation can support consistent display while retaining source context for finance and support. Similar names do not justify a shared transformation.

Preserve the expected timezone and date relationship for the travel product. A pickup expected after midnight in its location may occur on a different date than the traveller saw on the outbound itinerary. Save an example using two records and verify the selected date under the approved conversion. The person debugging should be able to understand which field was used without asking for copies of production data. A test in a different device timezone may reveal a display disagreement.

An engineer compares two sets of printed records at a desk

Document acknowledgement and transport effects separately

One partner may acknowledge receipt immediately and send a later applied status. Another may use a single response to confirm acceptance. Decide which stage affects each staff and customer view according to the actual agreement. In the Elm Reach fixture show the transfer proposal as pending on receipt and confirmed only with the expected second result. Verify that the hotel remains confirmed and that the initial transfer reference continues to be available for support until the latest state is decided.

Distinguish a request that arrives at the provider, a well-formed response, and a complete business result. A transport error does not necessarily explain whether the provider acted. Keep an identified operation and use the licensed lookup or escalation route where applicable. Avoid issuing a second change just because the browser did not receive a reply. Ask a junior operator to find the record whose observed state would make a retry eligible under the workflow.

If your outward-facing wrapper is an HTTP API, RFC 9457 describes a standard for problem details. Use it to provide appropriate machine-readable conditions for API errors and explain the next action without exposing private payload content. A syntactically accepted message followed by a pending business decision may need a traceable state, even when the service did not return an error. Define expected behaviour by operation rather than giving all unresolved results the same code. RFC 9457 problem details

Retain observation and reconciliation evidence

Give the approved support role a way to find a small record with the original scope, message version, expected result, time and next contact. Keep sensitive travel and financial data out of broad logging. The business record may need a summary of the supplier's response and which information has not been resolved. Plan access to authorised source evidence separately so an employee who needs it for a specific dispute can retrieve only the relevant part.

Rehearse a delayed status from an earlier operation after a newer confirmed change. The current result should not be erased because the latest received message carries an older business version. Apply the version ordering the supplier actually supports, or ask the relevant owner if the format is ambiguous. Record how staff can compare the earlier and current evidence for the correct property and date. Include a duplicate receipt with a different transport timestamp to ensure the meaning remains clear.

Prepare a transition between two approved versions

Ask the provider whether different versions can run together and where to find the applicable requirements. The Elm Reach fixture shows an existing operation with an accepted version one, then a fresh service using an approved version two. A field named “confirmed” remains in both but the newer one adds a separate confirmation reason. Preserve version identity and use documented meanings for the new field. The operational workflow should not assume a new condition for earlier accepted responses.

Build a side-by-side sample. Use an earlier message, a permitted new one and an intentionally unsupported variation. Verify who should see the current result, who can view observations and what previous staff instructions continue to apply. If the migration introduces a required attribution or reference, document how old data behaves without fabricating values. A deliberate default can be appropriate only when approved and when it keeps existing records accurate. Show the missing-value case to a reviewer.

Use a review and rotation schedule for each environment. Record who is responsible for software and business changes. If an external participant starts sending new data early, decide whether to queue those records for review or accept a documented forward-compatible addition. Unknown essential states can need a controlled pause. Check how staff support already accepted bookings while new update requests for the affected connection are held. Document what evidence permits it to resume.

Test correctness after displaying part of a batch

A feed can carry many records for several properties. Pick one change that would be safe when its target is known and a second that lacks a required field. If the provider explicitly permits per-record processing, verify how accepted and rejected items are counted and reported. If the contract requires the whole batch to apply together, check that no partial state became visible. Keep clear enough logs that a reviewer can determine what reached the public-facing service without opening raw records unnecessarily.

In the test, send the later accepted transfer time and a hotel room amendment alongside a deliberately ineligible property scope. Verify the correct affected business records and how an authorised staff member handles the third case. The test is not a substitute for partner approval; it gives the team a repeatable view of how the software treats scope, stability and eligibility. Request a new authorised sample if important conditions remain unclear.

Ask support to operate the contract without the developer

Give an authorised employee two synthetic customer references and ask what happened. Use one after a successful supplier change and one after a connection interrupted the process. They should be able to find the correct original sale, relevant update request and next responsible actor. Their view should never imply a supplier state they cannot establish. Time how long the lookup takes, and improve fields or search actions if they consistently need to ask engineering about ordinary situations.

Include a supplier revision that changes which role can perform an action. Staff must identify their current approval, how to ask for another role and what customer message is appropriate while they wait. An integration can be parseable and still unworkable if it depends on someone being permanently available. Use approved operating windows and review what parts can be confirmed without late short-notice coordination. Document the actual handoff in staff instructions.

Verify the operator and buyer views after a record was created under the old XML version. They may need to recover a boarding or pickup instruction sent before the update. The corrected service shows the accepted latest change while preserving the original evidence and references where authorised. Do not show a replacement from another product because it has a similar title. A good migration protects retrieval and servicing alongside new order entry.

Choose measurements that reveal broken semantics

Count rejected versions, unassociated source references, changes awaiting proof and supplier lookups requiring a person. Check observed update lag and capture incidents where the wrong hotel or transfer is associated. Choose thresholds suitable for the actual integration and ask the business owner how they will be reviewed. Plan not to treat missing records as deleted or absent fields as a uniform default in reporting. Review the types of exceptions and which role is able to resolve each.

Compare suggested UI wording with the contract. If the material state is “received,” choose wording that lets the customer know the change is being considered. A “confirmed” result needs evidence with the correct effective terms. Publish concise service detail and help routes while keeping provider messages and personal information in approved support views. Test the public customer paths with an older bookmarked request and a newly created record.

Test the route for following up after a schema change

Suppose the hotel partner changes a room status element and provides an approved conversion rule. Assign one person to review the documented mapping and another to validate effects in an independent fixture. Confirm which records would show a new result, which historical orders must preserve the old data and which device and timezone assumptions apply. Make the authorised update reproducible and hand over a specific error classification to support. Test the transition in a staged record before running a whole import.

Plan a small reversal if the new source cannot supply a controlled sample. The existing approved version may remain valid or may no longer accept new messages after the provider's transition. Confirm actual dates and obligations. Decide what changes must be taken manually and which pending records need targeted follow-up. A safe shutdown does not discard active bookings. Let the on-duty operator find the latest reliable view under the approved process and explain how to get help.

Review what approximate matches are allowed to do

A new feed may include a hotel name with slightly different punctuation, and staff could suggest a correspondence to an existing property. Such a suggestion should not move a confirmed booking or change financial terms until a permitted review proves identity. Use a stable mapped reference and a documented approving role. Add a pair of similarly named properties to the trial and give staff one valid and one invalid proposed map. Verify the observable differences and how the approved decision is recorded.

Where a record moves through several versions, store the accepted mapping and the relevant supplier scope with the operation. If a present-day adapter uses a newer canonical field, staff should still be able to trace the earlier version and actual agreed date. Supply a limited report for support to reach the responsible operator. Keep the original integration and business approvals separate from any general journal about software revisions. This is particularly useful when technical and commercial users discuss the same service under different names.

Use one handover record for future work

Capture the provider version, test cases, method for checking an uncertain result, approved owner and documentation contact. Describe representative structural and business rejections in language the delivery team can read. Have another reviewer inspect the exercise after a licence, market or workflow change and compare it with the accepted scope. Publish only customer-facing facts the trial can actually confirm. Leave operational and technical details accessible only where the responsible roles need them.

Reproduce an agreed normal booking and change before deciding the integration is ready. Include at least one customer request that reaches the supplier, one changed response that follows a later event and one explicit rejection of a wrong source version. Connect each result to a named owner and approved proof. Retain the acknowledgement and actual state separately. A schema document becomes useful operational evidence when your team can apply it to a real choice, trace it and explain the outcome without relying on undocumented conventions.

Check downstream consumers before calling the migration done

Test a compact receipt, support lookup and summary report that each depend on the same approved source event. The receipt may need only the accepted effective time and reference, while the operations view needs the person who can check an incomplete response. The report may aggregate changed services for product owners without exposing individual details. Have each reviewer explain which day and condition appear. If one still relies on the earlier XML interpretation, decide which consumers can continue and which need a verified adjustment before broad use.

Add an example with two authorised partners that use different encodings for the same character in an approved name. Follow the original reference and make sure the essential field remains readable in each output without changing the source record. Treat presentation normalisation separately from matching identifiers. Use explicit mappings based on the intended provider contract rather than guessing the value from its appearance in a browser. Keep the synthetic fixture in an approved shared location so a later reviewer can reproduce the exact observation.

Compare new and old retry evidence without sending speculative writes. A report can show a service request still awaiting supplier evidence after the update. Give support a safe path to use the documented status lookup and make the next owner clear. Verify the current result and related operation after a staged pause. If a new request must be made after an authorised review, record its distinct identity. Keep the earlier observation available to explain repeated receipts, affected dates and changes to the approved purchase scope.

Hand over one tested supplier problem

Show the operator a rejected XML document whose root or field mapping is inconsistent with the approved schema. Provide just enough information to identify the valid sample, required version and responsible person. A different example may be structurally fine but exceed the property agreement. Have staff explain how each is routed and where the next business decision will appear. The primary check is whether a responsible reviewer can apply the right workflow without exposing any unrelated partner or traveller information.

After the migration, record what the most recent review proved. Include both accepted and unresolved outcomes, identify which changes still require manual review and list alerts that a business user can interpret. For any material mapping correction, replay a representative historical case alongside a new one. Ask whether its original confirmation and service status remain traceable under approved permissions. This protects customer reports and financial reconciliation while technical versions evolve.

Pick one known change that affects a source version without changing the displayed name. A customer using a printed pickup card still needs the correct meeting detail while the supplier has amended the underlying field. In a side-by-side exercise trace the accepted change reference, date and public wording. Ask a staff member to name the contact if the new evidence is unavailable. Include that practical trace in the process notes so future migrations are assessed against the service, not simply against a schema error counter.