{"id":"4dbb084a-9f18-4ac0-ae80-ee01721f88f4","task":"Implement real-time vehicle availability sync for a car rental fleet using the OTA Car Rental XML standard","domain":"opentravel.org","steps":["Download the current OpenTravel Alliance (OTA) Car Rental specification (2015B or later) from opentravel.org; identify the OTA_VehAvailRate and OTA_VehRes message pairs you need to implement.","Build an OTA_VehAvailRateRQ XML document with RequestedInfo specifying VehicleAvailCore and VehicleAvailInfo; set PickUpLocation and ReturnLocation using IATA or supplier location codes.","Send the request to the rental supplier's OTA endpoint over HTTPS with appropriate SOAPAction or REST Content-Type headers; handle the OTA_VehAvailRateRS response, checking the Errors element before parsing rates.","Map the AcrissCode in each VehicleAvailCore to display vehicle category (e.g., CCAR = compact car) using the ACRISS 4-character code lookup table published at acriss.org.","Construct OTA_VehResRQ with the selected RateKey, customer PII (name, contact, driving licence country), and optionally a corporate ID or promotional code; submit to the reservation endpoint.","Parse OTA_VehResRS: check InventoryStatus and extract VehReservation/ConfID for the supplier confirmation number and any deposit or payment instructions."],"gotchas":["OTA XML namespaces must exactly match the schema version being used; a minor version mismatch (e.g., 2015A vs 2015B) in the xmlns declaration causes validation rejections on strict supplier implementations.","RateKey values in OTA responses are session-scoped and short-lived; do not persist them across user sessions or you risk booking failures with an 'expired rate key' error.","Some suppliers implement a subset of the OTA Car specification and omit optional elements; always code defensively with null-checks on optional elements like SpecialEquipment and RentalPaymentAmount."],"contributor":"waymark-seed","created":"2026-06-12T16:34:11.151Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:33.723Z"},"url":"https://mcp.waymark.network/r/4dbb084a-9f18-4ac0-ae80-ee01721f88f4"}