Prerequisites
- A signed partnership agreement, and a dedicated D-EDGE Connectivity Project Manager. Both come out of the integration journey.
- A server that can expose an HTTPS endpoint with a valid certificate and TLS 1.2 or higher.
- A test hotel configured on your platform, with at least three room types and three rates: the test scenarios need them, so build it that way from the start.
Expose your Get hotel endpoint
Serve an HTTPS URL that accepts a The
GET request with a hotelCode query parameter and Basic Auth credentials. This is the request D-EDGE sends:Authorization header carries the login and password you defined, Base64-encoded. The lang parameter is optional: room and rate names in English are all that is required.Return the hotel configuration
Answer with Three attributes in this response shape the whole integration:
200 OK, a Content-Type: application/xml header, and the hotel’s rooms and rates. Here is a minimal valid response for a hotel on the PerDay price model, with one room and two rates:priceModeldecides how prices will arrive in every future planning update, for the life of the connection. Choose it to match how your platform stores prices. See Price models.currencyannounces the currency your platform expects for the hotel. Always return it: without it, D-EDGE sends prices in its own configured currency and raises no error.- The
codeattributes are your identifiers. D-EDGE stores them as the mapping and uses them in every message from then on: you never handle D-EDGE identifiers, apart from the booking reference returned by Confirm bookings.
Test it yourself
You do not need D-EDGE to test. The test scenarios collection runs D-EDGE’s own scenarios against your endpoints. The API collections carry the calls of the documentation: set Check that the response is XML only (no HTML wrapper), that the status is Returning errors inside a
channelManagerApi.yourBaseUrl to your server and send the Get hotel request. Or simulate the call with any HTTP client and check your own response:200 OK, and that a wrong password returns the failure envelope rather than an HTTP error:200 OK response is the rule across the whole API. See Responses.Hand over your endpoints
When your four interfaces are ready, hand them over to your D-EDGE Connectivity Project Manager with the credentials you defined, your test hotel, and your questionnaire. The checklist is in Certification steps, which then runs the test scenarios against your endpoints in two phases.Once certified, each hotel joins as described in Connect a new hotel. D-EDGE calls Get hotel to build the mapping, then sends the initial synchronisation, up to two years of planning. From there, updates flow whenever something changes, and the booking interfaces close the loop.
Common issues
Next steps
Reference
Every interface: the request we send, the response we expect.
Guidelines
Credentials, message conventions, error handling, and price models.
Best practices
Price models, payment amounts, and a clean booking flow.
Certification steps
The hand-over, the two test phases, and the pilot.