Hotel Activation Push Distributors
Modified on: 2025-07-29 16:50
TABLE OF CONTENTS
Hotel Activation Push Distributors
The Hotel Activation (Push) API is an optional step that allows Push distributors to select the hotels they wish to activate for distribution. While activating hotels is required in the Push ARI model for ARI delivery, distributors have the choice to either manage the activation process themselves through this API or delegate the responsibility to DerbySoft.
Through this API, DerbySoft retrieves the list of active hotels for each supplier, ensuring that only the selected hotels are made available for distribution. This optional activation process gives distributors control over which hotels are included in their distribution scope.
Distributors can use this API to:
- Select the hotels they wish to activate for distribution from their suppliers.
GET /hotels/{supplierId} HTTP/1.1 URL: {AvailabilityPeer-Endpoint}/hotels/{supplierId} Authorization: 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc Accept-Encoding: gzip Content-Encoding: gzip Content-Type: application/json;charset=utf-8
Hotel Activation Push Distributors Request Schema
Request(METHOD: GET) | |||||
---|---|---|---|---|---|
Level | Field Name | Data Type | Required | Description | Example |
1 | supplierId | string | Y | The code that uniquely identifies a supplier in DerbySoft's system. MaxLength: 32 | HILTON |
Hotel Activation Push Distributors Request Example
Sample URL: https://dsgo.xxxxx.net/hotels/GOHOTEL
Hotel Activation Push Distributors Response Schema
Response | |||||
---|---|---|---|---|---|
Level | Field Name | Data Type | Required | Description | Example |
1 | supplierId | string | Y | The code that uniquely identifies a supplier in DerbySoft's system | HILTON |
1 | hotelId | string | Y | The code that uniquely identifies a single hotel in hotel suppliers system | GATHI |
1 | status | enum | Y | Enum: [ Actived, Deactived ] Hotel Status provided by hotel suppliers [Actived, Deactived]: Actived means the hotel is active for the distribution. Deactived means the hotel is NOT active for the distribution. ARI will not flow for deactivated hotels | Actived |
1 | error | string | N | error response | Key not authorized |
1 | errorCode | string | C | error response | InvalidField |
1 | errorMessage | string | C | error response | Invalid Message |
Hotel Activation Push Distributors Response Example
Success Response (HTTP Status 200)
[ { "supplierId": "HILTON", "hotelId": "GATHI", "status": "Actived" } ]
{ "error": "Key not authorised" }
{ "errorCode": "InvalidField", "errorMessage": "Invalid Message" }
Did you find it helpful? Yes No
Send feedback