Dida API This API retrieves information about hotel facilities, including amenities provided in the hotel as well as in individual rooms. For the most current information, it is recommended to synchronize this data weekly.
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": "Facilities",
"FileType":"Csv"
}
<GetStaticInformationRQ>
<Header>
<ClientID>DidaApiTestID</ClientID>
<LicenseKey>TestKey</LicenseKey>
</Header>
<StaticType>Facilities</StaticType>
<IsGetUrlOnly>true</IsGetUrlOnly>
<FileType>Csv</FileType>
</GetStaticInformationRQ>
CSV file field description:
| Field | Type | Mandatory | Remarks |
|---|---|---|---|
| HotelID | int | true | Unique hotel identification |
| Type | string | true | Facilitie type(Hotel facility or Room facility) |
| Description | string | true | Description |
| Description_CN | string | true | Description_CN |