body {
font-family:Inter, ui-sans-serif, system-ui;
}
/* Container */
.xml-container{
margin:18px auto;
padding:18px;
max-width:1100px;
background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
border-radius:16px;
border:1px solid rgba(255,255,255,0.05);
color:#e7f0fc;
}
/* Headings */
.xml-container h1{
font-size:22px;
margin-top:0;
color:var(--accent);
}
.xml-note{
color:var(--muted);
font-size:14px;
margin-bottom:15px;
}
/* Accordion */
details{
margin:12px 0;
border-radius:var(--radius);
background:var(--card);
border:1px solid rgba(255,255,255,0.04);
padding:6px;
}
summary{
cursor:pointer;
padding:10px;
color:var(--accent);
font-weight:600;
display:flex;
justify-content:space-between;
align-items:center;
}
summary::-webkit-details-marker{ display:none }
/* Code Box */
.code-box{
background:var(--code-bg);
padding:18px;
border-radius:var(--radius);
margin:10px 0;
overflow:auto;
max-height:450px;
box-shadow:inset 0 0 25px rgba(0,0,0,0.3);
}
.code-box code{
white-space:pre;
font-size:13px;
color:#dbeafe;
font-family:ui-monospace, Menlo, Consolas, monospace;
}
/* Copy Button */
.copy-btn{
padding:6px 12px;
font-size:13px;
border-radius:6px;
border:1px solid rgba(255,255,255,0.1);
background:var(--glass);
color:var(--muted);
cursor:pointer;
margin-left:12px;
}
OTA / SOAP XML Beispiele
Alle XML-Dateien als einklappbare Blöcke – Thrive-kompatibel, vollständig escaped.
Thank you for reading this post, don't forget to subscribe!LoginOk Request
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<LoginOk xmlns="http://www.thlrentals.com/Aurora/OTA">
<THL_LoginOkRQ EchoToken="Token"
Version="1.1"
xmlns="http://www.opentravel.org/OTA/2003/05">
<email>valid-email-agent@test.com</email>
<IsAgent>true</IsAgent>
<password>valid-strong-password</password>
</THL_LoginOkRQ>
</LoginOk>
</soap:Body>
</soap:Envelope>
LoginOk Response
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope>
<soap:Body>
<LoginOkResponse>
<THL_LoginOkRS EchoToken="eyJhbGciOi...">
<Success/>
</THL_LoginOkRS>
</LoginOkResponse>
</soap:Body>
</soap:Envelope>
VehAvailRate Request
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<VehAvailRate xmlns="http://www.thlrentals.com/Aurora/OTA">
<OTA_VehAvailRateRQ EchoToken="ey..." Target="Production" Version="1" MaxResponses="3" TimeStamp="2024-01-22T00:00:00Z" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS><Source AgentSine="123"><RequestorID Type="22" ID="AGENCY"/></Source></POS>
<VehAvailRQCore Status="Available">
<VehRentalCore PickUpDateTime="2024-10-21T09:00:00" ReturnDateTime="2024-10-29T15:00:00">
<PickUpLocation LocationCode="AKL"/>
<ReturnLocation LocationCode="AKL"/>
</VehRentalCore>
</VehAvailRQCore>
</OTA_VehAvailRateRQ>
</VehAvailRate>
</soap:Body>
</soap:Envelope>
VehAvailRate Response
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope>
<soap:Body>
<VehAvailRateResponse>
<OTA_VehAvailRateRS EchoToken="ey...">
<Success/>
<Warnings>
<Warning ShortText="Limited Availability"/>
</Warnings>
<VehAvailRSCore>
<VehVendorAvails>
<VehVendorAvail>
<Vendor CompanyShortName="Apollo"/>
<VehAvails>
<VehAvail>
<VehAvailCore Status="Available">
<Vehicle><VehMakeModel Name="Apollo Hitop"/></Vehicle>
<TotalCharge RateTotalAmount="1391" CurrencyCode="AUD"/>
<TPA_Extensions><AvailableVehicleId>12345</AvailableVehicleId></TPA_Extensions>
</VehAvailCore>
</VehAvail>
</VehAvails>
</VehVendorAvail>
</VehVendorAvails>
</VehAvailRSCore>
</OTA_VehAvailRateRS>
</VehAvailRateResponse>
</soap:Body>
</soap:Envelope>
GetExtraHireItems Request
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope>
<soap:Body>
<THL_getExtraHireItems>
<THL_getExtraHireItems EchoToken="ey...">
<sAvailabilityRef>UUID</sAvailabilityRef>
</THL_getExtraHireItems>
</THL_getExtraHireItems>
</soap:Body>
</soap:Envelope>