Aller au contenu

Réception machine d'une réservation OTA (OTA_HotelResNotifRQ → OTA_HotelResNotifRS)

POST
/v1/distribution/ota/reservations
curl --request POST \
--url https://example.com/v1/distribution/ota/reservations \
--header 'Content-Type: text/xml' \
--header 'X-API-Key: <X-API-Key>' \
--data example

Endpoint machine-à-machine (clé API X-API-Key porteuse de distribution.inbound — jamais un JWT humain). Corps BRUT text/xml ≤ 1 Mo : message push OTA_HotelResNotifRQ (OpenTravel 2003/05, book/modify/cancel). Réponse OTA_HotelResNotifRS : Success (livré / ack idempotent), Errors EWT 1 (technique, redélivrer), decline EWT 3 non-retryable (survente code 322, quarantaine code 450 — file de revue /v1/distribution/ota/review). Hors contrat public (ADR-00D84/00D102 D4).

OTA_HotelResNotifRQ (SOAP Envelope accepté)

string format: xml

OTA_HotelResNotifRS (Success, Errors retryable ou decline non-retryable)

Media type application/xml
string format: xml

XML non parsable / RQ malformée — aucune ligne d’ingest

Media type application/xml
string format: xml

Clé API absente/invalide, ou sujet non-machine

Clé API sans la permission distribution.inbound