Dida API This API retrieves descriptions of hotels. It is recommended to synchronize this data on a weekly basis to ensure you have the most up-to-date information.
When "IsGetUrlOnly=true", the "FileType" field supports two file formats for selection: Csv and Zip. (Please note capitalization)
{
"IsGetUrlOnly": true,
"Header": {
"LicenseKey": "TestKey",
"ClientID": "DidaApiTestID"
},
"StaticType": "HotelDescription",
"FileType":"Csv"
}
<GetStaticInformationRQ>
<Header>
<ClientID>DidaApiTestID</ClientID>
<LicenseKey>TestKey</LicenseKey>
</Header>
<StaticType>HotelDescription</StaticType>
<IsGetUrlOnly>true</IsGetUrlOnly>
<FileType>Csv</FileType>
</GetStaticInformationRQ>
CSV file field description:
| Field | Type | Mandatory | Remarks |
|---|---|---|---|
| HotelID | int | true | Unique hotel identification |
| HotelDescription | string | true | Hotel description |
| HotelDescription_CN | string | true | Hotel description in chinese |