RateCommentDetails
GET {{endpoint}}/hotel-content-api/1.0/types/ratecommentdetails?code={{rateCommentsId}}&fields=all&language=ENG&from=1&to=100&useSecondaryLanguage=True&date={{checkIn}}
Returns the descriptions of the rate comments associated with the hotel that the hotelier wants the client to read before confirming the booking with the given date.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
code | string | Rate comment code. | |
fields | string | The list of fields to be received in the response. If nothing is specified, the accommodation type code is returned. To retrieve all the fields use ‘all’. See the complete list of available fields in the response. | |
language | string | The language code for the language in which you want the descriptions to be returned. If the language is not specified, English is the default language. | |
from | number | The number of the initial record to receive. If nothing is specified, 1 is the default value. | |
to | number | The number of the final record to receive. If nothing is indicated, 100 is the default value. | |
useSecondaryLanguage | string | Specify "True" if you want to receive the descriptions in English if the description is not available in the language requested. Specify "False" (default value) if you do not want to receive the description in English if the language requested is not available. | |
lastUpdateTime | string | Specifying this parameter limits the results to those modified or added after the date specified. The required format is YYYY-MM-DD. | |
date | string | Check in date. Format: YYYY-MM-DD |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-key | string | API Key used in the request | |
X-Signature | string | SHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds | |
Accept | string | Defines response format, posible values: application/xml, application/json | |
Accept-Encoding | string | Defines type of encoding used on the data |