Dida API This API retrieves information regarding hotel policies. This includes details such as check-in instructions, announcements, and other relevant information. For the most accurate and up-to-date details, 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": "Policy",
"FileType":"Csv"
}
<GetStaticInformationRQ>
<Header>
<ClientID>DidaApiTestID</ClientID>
<LicenseKey>TestKey</LicenseKey>
</Header>
<StaticType>Policy</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 | Policy type(General or Important Notice) |
| Description | string | true | Policy description |
| Description_CN | string | true | Policy description in chinese |