2.2.1.2 Get Supplier dic Data Configuration and Mapping
About 292 wordsLess than 1 minute
2025-11-03
Warning
- Mandatory
- Klook uses this interface to retrieve the supplier's basic dictionary data configuration and its mapping relationship with the Klook dictionary.
- Klook will check the mapping of
klookKeyagainst the supplier's dictionarysupplierKeybased on the dictionarysupplierValue.
URL
Integrator to define and provide to Klook
Input Parameters
| Field | Type | Mandatory | Description |
|---|---|---|---|
dicTypeList | List<int> | false | Klook retrieves the dictionary data types from the integrator. It supports multiple values.If no value is passed, it means fetching all data Please refer to 3.3 Dictionary Description |
Input Parameter Example
Example
{
"base": {
"requestAgent": "KLOOK",
"openApiSign": "301e4cfefbc376c4f4c4dac8b096efcdee47810c2a3627b29b2d3a66b8ae04af27f4ff38c4a8d40dff48f67",
"requestId": "xxxxx111bbbbbcccc",
"requestTime": "2025-11-28T12:06:15.890+08:00",
"version": "1.0"
},
"requestData": {
"dicTypeList": [
1,
2
]
}
}Output Parameters
| Field | Type | Mandatory | Description |
|---|---|---|---|
supplierDicDataList | List<OpenApiDicData> | true | Integrator dictionary data |
OpenApiDicData
| Field | Type | Mandatory | Description |
|---|---|---|---|
dicType | int | true | Klook dictionary data type, Please refer to 3.3 Dictionary Description |
dicDetailList | List<OpenApiDicDetail> | true | dic Data details list |
OpenApiDicDetail
| Field | Type | Mandatory | Description |
|---|---|---|---|
supplierKey | String | true | supplier dictionary data key |
supplierValue | String | true | supplier dictionary data value |
klookKey | String | true | Mandatory The Klook dictionary data key corresponding to the supplier's key |
klookValue | String | true | Mandatory1: Value corresponding to the Klook dictionary data key2: Klook may update the dictionary in the future, and this will be used to check if the supplier's dictionary has been synchronously updated |
Output Parameter Example
{
"success": true,
"error": {
"code": "",
"message": ""
},
"result": {
"supplierDicDataList": [
{
"dicType": 1,
"dicDetailList": [
{
"supplierKey": "SZCT001",
"supplierValue": "china restaurant",
"klookKey": "1020051",
"klookValue": "Chinese Restaurant"
}
]
}
]
}
}