<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Create" currency="EUR"
date="2027-04-20T20:03:25" totalAmount="397.00"
paidAmount="0.00" dueAmount="397.00" payableAmount="0.00"
paxCount="2">
<customer firstName="Alain" lastName="Dupont">
<contact email="alain.dupont@example.com" />
</customer>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="198.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" ageRange="10" />
<guest firstName="Marie" lastName="Dupont" title="Mrs" ageRange="10" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Modify" currency="EUR"
date="2027-04-21T09:12:40" totalAmount="595.50"
paidAmount="0.00" dueAmount="595.50" payableAmount="0.00"
paxCount="2">
<customer firstName="Alain" lastName="Dupont">
<contact email="alain.dupont@example.com" />
</customer>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-04" quantity="1" unitPrice="198.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" ageRange="10" />
<guest firstName="Marie" lastName="Dupont" title="Mrs" ageRange="10" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Cancel" currency="EUR"
date="2027-04-22T16:40:05" totalAmount="595.50"
paidAmount="0.00" dueAmount="595.50" payableAmount="0.00"
paxCount="2">
<customer />
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOC4440" action="Create" currency="EUR"
date="2027-04-14T10:03:25" totalAmount="397.00" paidAmount="397.00"
dueAmount="0.00" payableAmount="397.00" origin="MySite.com"
paxCount="3" adultCount="2" childCount="1" infantCount="0"
commissionType="percent" commissionValue="10.00" sellType="gross"
dayUse="false" arrivalTime="15:00Z" departureTime="11:00Z">
<customer firstName="Alain" lastName="Dupont" title="Mr">
<contact email="alain.dupont@example.com" phone="0620304050">
<address city="Paris" country="FR" postalCode="75002">
<![CDATA[24 rue du sentier]]>
</address>
</contact>
<creditCard number="4111111111111111" cardHolder="Alain Dupont"
expiryDate="2028-03" cardType="Visa" />
<comment><![CDATA[Quiet room, please.]]></comment>
</customer>
<travelAgent name="My Travel Agency" id="IATA12456">
<contact email="agency@example.com" phone="+33120304050" />
</travelAgent>
<distributor>
<comment name="Cancel Policy">
<![CDATA[In the event of a no-show, the first night is charged.]]>
</comment>
<comment name="Guaranty"><![CDATA[Credit card guarantee]]></comment>
</distributor>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="62.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="63.00" rateCode="NR" />
<stay date="2027-10-04" quantity="1" unitPrice="60.00" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" title="Mr" ageRange="10" />
</guests>
</room>
<room id="SUP">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="70.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="70.50" rateCode="BAR" />
<stay date="2027-10-04" quantity="1" unitPrice="70.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Helene" lastName="Dupont" title="Mrs" ageRange="10" />
<guest firstName="Lea" lastName="Dupont" title="Miss"
ageRange="8" birthDate="2019-02-05" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success />
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<warning type="204" message="ExtraIntegrationError">
<comment><![CDATA[unitPrice is mandatory, failed to integrate the extras]]></comment>
</warning>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<failure type="201" message="DomInvalidXML">
<comment><![CDATA[DOM validation parsing error]]></comment>
</failure>
</message>
Bookings
Push bookings
You push each confirmed booking to D-EDGE
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Create" currency="EUR"
date="2027-04-20T20:03:25" totalAmount="397.00"
paidAmount="0.00" dueAmount="397.00" payableAmount="0.00"
paxCount="2">
<customer firstName="Alain" lastName="Dupont">
<contact email="alain.dupont@example.com" />
</customer>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="198.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" ageRange="10" />
<guest firstName="Marie" lastName="Dupont" title="Mrs" ageRange="10" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Modify" currency="EUR"
date="2027-04-21T09:12:40" totalAmount="595.50"
paidAmount="0.00" dueAmount="595.50" payableAmount="0.00"
paxCount="2">
<customer firstName="Alain" lastName="Dupont">
<contact email="alain.dupont@example.com" />
</customer>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-04" quantity="1" unitPrice="198.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" ageRange="10" />
<guest firstName="Marie" lastName="Dupont" title="Mrs" ageRange="10" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Cancel" currency="EUR"
date="2027-04-22T16:40:05" totalAmount="595.50"
paidAmount="0.00" dueAmount="595.50" payableAmount="0.00"
paxCount="2">
<customer />
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOC4440" action="Create" currency="EUR"
date="2027-04-14T10:03:25" totalAmount="397.00" paidAmount="397.00"
dueAmount="0.00" payableAmount="397.00" origin="MySite.com"
paxCount="3" adultCount="2" childCount="1" infantCount="0"
commissionType="percent" commissionValue="10.00" sellType="gross"
dayUse="false" arrivalTime="15:00Z" departureTime="11:00Z">
<customer firstName="Alain" lastName="Dupont" title="Mr">
<contact email="alain.dupont@example.com" phone="0620304050">
<address city="Paris" country="FR" postalCode="75002">
<![CDATA[24 rue du sentier]]>
</address>
</contact>
<creditCard number="4111111111111111" cardHolder="Alain Dupont"
expiryDate="2028-03" cardType="Visa" />
<comment><![CDATA[Quiet room, please.]]></comment>
</customer>
<travelAgent name="My Travel Agency" id="IATA12456">
<contact email="agency@example.com" phone="+33120304050" />
</travelAgent>
<distributor>
<comment name="Cancel Policy">
<![CDATA[In the event of a no-show, the first night is charged.]]>
</comment>
<comment name="Guaranty"><![CDATA[Credit card guarantee]]></comment>
</distributor>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="62.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="63.00" rateCode="NR" />
<stay date="2027-10-04" quantity="1" unitPrice="60.00" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" title="Mr" ageRange="10" />
</guests>
</room>
<room id="SUP">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="70.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="70.50" rateCode="BAR" />
<stay date="2027-10-04" quantity="1" unitPrice="70.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Helene" lastName="Dupont" title="Mrs" ageRange="10" />
<guest firstName="Lea" lastName="Dupont" title="Miss"
ageRange="8" birthDate="2019-02-05" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success />
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<warning type="204" message="ExtraIntegrationError">
<comment><![CDATA[unitPrice is mandatory, failed to integrate the extras]]></comment>
</warning>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<failure type="201" message="DomInvalidXML">
<comment><![CDATA[DOM validation parsing error]]></comment>
</failure>
</message>
Your system sends HTTP
POST requests to a URL given by the D-EDGE team, authenticated with Basic Auth credentials issued by D-EDGE. The hosting model is described in the introduction.The request you send
Send an HTTPPOST with Content-Type: application/xml, the credentials in the Authorization header, and the XML as the raw body. Allow an HTTP timeout of up to 60 seconds.
The body has the shape of a Get bookings response: a <message> opening with an empty <success/> element, then one booking message in a <bookings> element. The <success/> is required even though your call answers nothing. The examples follow one booking through its three actions, then show a booking carrying most optional elements of the booking message.
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Create" currency="EUR"
date="2027-04-20T20:03:25" totalAmount="397.00"
paidAmount="0.00" dueAmount="397.00" payableAmount="0.00"
paxCount="2">
<customer firstName="Alain" lastName="Dupont">
<contact email="alain.dupont@example.com" />
</customer>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="198.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" ageRange="10" />
<guest firstName="Marie" lastName="Dupont" title="Mrs" ageRange="10" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Modify" currency="EUR"
date="2027-04-21T09:12:40" totalAmount="595.50"
paidAmount="0.00" dueAmount="595.50" payableAmount="0.00"
paxCount="2">
<customer firstName="Alain" lastName="Dupont">
<contact email="alain.dupont@example.com" />
</customer>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="198.50" rateCode="BAR" />
<stay date="2027-10-04" quantity="1" unitPrice="198.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" ageRange="10" />
<guest firstName="Marie" lastName="Dupont" title="Mrs" ageRange="10" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOCFGA" action="Cancel" currency="EUR"
date="2027-04-22T16:40:05" totalAmount="595.50"
paidAmount="0.00" dueAmount="595.50" payableAmount="0.00"
paxCount="2">
<customer />
</booking>
</bookings>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<success/>
<bookings hotelId="1234">
<booking id="EOC4440" action="Create" currency="EUR"
date="2027-04-14T10:03:25" totalAmount="397.00" paidAmount="397.00"
dueAmount="0.00" payableAmount="397.00" origin="MySite.com"
paxCount="3" adultCount="2" childCount="1" infantCount="0"
commissionType="percent" commissionValue="10.00" sellType="gross"
dayUse="false" arrivalTime="15:00Z" departureTime="11:00Z">
<customer firstName="Alain" lastName="Dupont" title="Mr">
<contact email="alain.dupont@example.com" phone="0620304050">
<address city="Paris" country="FR" postalCode="75002">
<![CDATA[24 rue du sentier]]>
</address>
</contact>
<creditCard number="4111111111111111" cardHolder="Alain Dupont"
expiryDate="2028-03" cardType="Visa" />
<comment><![CDATA[Quiet room, please.]]></comment>
</customer>
<travelAgent name="My Travel Agency" id="IATA12456">
<contact email="agency@example.com" phone="+33120304050" />
</travelAgent>
<distributor>
<comment name="Cancel Policy">
<![CDATA[In the event of a no-show, the first night is charged.]]>
</comment>
<comment name="Guaranty"><![CDATA[Credit card guarantee]]></comment>
</distributor>
<rooms>
<room id="CLA">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="62.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="63.00" rateCode="NR" />
<stay date="2027-10-04" quantity="1" unitPrice="60.00" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Alain" lastName="Dupont" title="Mr" ageRange="10" />
</guests>
</room>
<room id="SUP">
<stays>
<stay date="2027-10-02" quantity="1" unitPrice="70.50" rateCode="BAR" />
<stay date="2027-10-03" quantity="1" unitPrice="70.50" rateCode="BAR" />
<stay date="2027-10-04" quantity="1" unitPrice="70.50" rateCode="BAR" />
</stays>
<guests>
<guest firstName="Helene" lastName="Dupont" title="Mrs" ageRange="10" />
<guest firstName="Lea" lastName="Dupont" title="Miss"
ageRange="8" birthDate="2019-02-05" />
</guests>
</room>
</rooms>
</booking>
</bookings>
</message>
The response D-EDGE returns
The usual envelope: a<success>, a <failure>, or a <warning>.
On an unexpected D-EDGE error, the body may be plain text rather than the XML envelope. Treat any response you cannot parse as XML like a 203 InternalError: keep the booking on your side, retry later, and contact us if it persists.
<?xml version="1.0" encoding="utf-8"?>
<message>
<success />
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<warning type="204" message="ExtraIntegrationError">
<comment><![CDATA[unitPrice is mandatory, failed to integrate the extras]]></comment>
</warning>
</message>
<?xml version="1.0" encoding="utf-8"?>
<message>
<failure type="201" message="DomInvalidXML">
<comment><![CDATA[DOM validation parsing error]]></comment>
</failure>
</message>
A
<success> means the booking was read, not that it is integrated. Integration is asynchronous, and the definitive signal is the Confirm bookings message that follows. A booking pushed for an unknown hotel is refused with a <failure> (HotelNotLinked). A booking for an unknown room, or dated in the past, does not raise an error at push time. The other failures come from invalid XML, amounts that do not add up, or a processing error on the D-EDGE side, with the codes listed in Responses.Retries
If you implement an automatic retry when no confirmation arrives, wait 15 minutes before pushing the same booking again. The push URL and its credentials are issued in the second certification phase and stay stable from then through production.Was this page helpful?