2.2.1.1 Get Klook Basic Dictionary Data Configuration
About 299 wordsAbout 1 min
2025-11-03
Warning
- Mandatory
- Integrators use this interface to retrieve Klook's basic dictionary data.
URL
/v1/hotelendpointsrv/supplier/openapi/get/klookDictionaryData
Input Parameters
| Field | Type | Mandatory | Description |
|---|---|---|---|
dicTypeList | List<int> | false | The dictionary data types the integrator needs to retrieve from Klook, supports multiple values. Default is to fetch all data if no value is passed.Please refer to 3.3 Dictionary Description1: Hotel Amenities2: Hotel Room Type Image Categories3: Hotel Room Amenities6: Hotel Room View7: Hotel Category8: Hotel Meals9: Hotel General Policy10: Rate Code Benefit11: Bed Type12: Non-Arrival Tax Fee Policy Type13: Hotel Theme15: Hotel Image Category16: Hotel Stars17: Hotel Arrival Fee Policy18:Hotel Arrival Fee Policy Scope Unit19:Hotel Arrival Fee Policy Frequency Unit |
Input Parameter Example
Example
{
"base": {
"requestAgent": "supplierCode",
"openApiSign": "301e4cfefbc376c4f4c4dac8b096efcdee47810c2a3627b29b2d3a66b8ae04af27f4ff38c4a8d40dff48f67",
"requestId": "xxxxx111bbbbbcccc",
"requestTime": "2025-11-28T12:06:15.890+08:00",
"version": "1.0"
},
"requestData": {
}
}Output Parameters
| Field | Type | Mandatory | Description |
|---|---|---|---|
dicDataList | List<OpenApiDicData> | true | Klook basic dictionary data |
OpenApiDicData
| Field | Type | Mandatory | Description |
|---|---|---|---|
dicType | int | true | Klook dic data typePlease refer to 3.3 Dictionary Description |
dicTypeDesc | String | true | Klook dic data type description |
dicDetailList | List<OpenApiDicDetail> | true | Data details |
OpenApiDicDetail
| Field | Type | Mandatory | Description |
|---|---|---|---|
klookKey | String | true | Klook dic data key |
klookValue | String | true | Klook dic data value |
Output Parameter Example
{
"success": true,
"error": {
"code": "",
"message": ""
},
"result": {
"dicDataList": [
{
"dicType": 1,
"dicTypeDesc": "Hotel Amenities",
"dicDetailList": [
{
"klookKey": "1010011",
"klookValue": "Kid's club"
}
]
},
{
"dicType": 3,
"dicTypeDesc": "Room Amenities",
"dicDetailList": [
{
"klookKey": "2010021",
"klookValue": "Balcony"
}
]
}
]
}
}