Hotel List
修改于: 2025-09-01 10:47
TABLE OF CONTENTS
Hotel List
The Retrieve Hotels API allows distributors to fetch a comprehensive list of available hotels, including key details such as hotel name, unique identifier, and its status (Active/Inactive). This is the first step in integrating hotels into your (distributor’s) system.
Distributors can use this API to:
- Retrieve the list of hotels that are available for distribution.
- Sync available hotels regularly, ideally on a daily schedule, to ensure the system is up to date.
Hotel List 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 | HILTON |
1 | distributorId | string | Y | The code that uniquely identifies a distributor in DerbySoft's system. | TUI |
Hotel List Request Example
Hotel List Response Schema
Response | |||||
---|---|---|---|---|---|
Level | Field Name | Data Type | Required | Description | Example |
1 | hotelId | string | Y | The code that uniquely identifies a single hotel in hotel suppliers system. Accepted characters only: 1. Digits (0-9) 2. Uppercase letters (A-Z) 3. Hyphen ('-') | 100001 GATHI 00016 PEP-B3T2 B8W7 |
1 | hotelName | string | N | Hotel Name provided by hotel suppliers. | Hilton xxx Resort & Spa |
1 | supplierId | string | Y | The code that uniquely identifies a supplier in DerbySoft's system. | HILTON |
1 | status | enum | Y | 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 List Response Example
此回答是否有所帮助? 是 否
Send feedback