Response fields description
- Renata Rusecka
In this section, you will find an explanation of the fields that you might receive in the response when calling a JSON API endpoint of a certain type.
Reviews
Field | Description |
---|
Field | Description | |
---|---|---|
| The total number of reviews available to paginate over | |
|
| The name of the hotel owning the review |
| The anonymized name of review's author, returns "null" if there is no value | |
| An identifier for the review | |
| The source of the review, e.g. Customer Alliance, Holiday Check, etc | |
| The review score as a percentage | |
| The review score as it appeared in its original format | |
| The type of the review, if the review source supports them | |
| The language of the review | |
| Only available for Customer Alliance reviews, shows if the review is published or not | |
| A comment from hotelier | |
| Displayed depending on access level scope on the API key:
Please note scopes are assigned internally. | |
| See | |
| See | |
| The age of the user, if there is no value for age then null is going to be shown | |
| Only shown if the Access level scope on the API key is set to owner. Please note scopes are assigned internally. | |
| Reviewer’s attribute. Only shown if the Access level scope on the API key is set to owner. | |
| Reviewer’s attribute. Only shown if the Access level scope on the API key is set to owner. | |
| The date the review was created | |
| The email address of the reviewer | |
| Contains a review rating category information. The keys of these are the default category names. For a list of available categories please check the Statistics API. Included with each rating category is its translated name, its rating and any comment that the guest left for that category. |
Statistics
Field | Description |
---|
Field | Description |
---|---|
| Reviews left on or after this day are included in the statistics. In the format YYYY-MM-DD. |
| Reviews left on or before this day are included in the statistics. In the format YYYY-MM-DD. |
| The fraction of reviews left with a comment out of 10. |
| Statistics for each configured category in the customer's statistics. See |
| Count of reviews available within the category or topic |
| Count of positive reviews available within the category or topic |
| Count of neutral reviews available within the category or topic |
| Count of negative reviews available within the category or topic |
| The review score as it appeared in its original format |
Feedbacks
Field | Description |
---|
Field | Description | |
---|---|---|
| Internal ID of a feedback questionnaire | |
| The name of a feedback questionnaire. This is set in the questionnaire settings. | |
|
| The current page returned. Integer value. |
| The total number of pages available to view. Can be changed using the 'limit' parameter. Integer value. | |
| The total number of items found by this search over all pages. Integer value. |
A description of an item in the "items" array.
Field | Type | Optional | Description |
---|
Field | Type | Optional | Description | ||
---|---|---|---|---|---|
| Integer | No | Internal ID of a feedback questionnaire. | ||
| String | No | One of these language codes: | ||
| String | No | The date and time the questionnaire was created in Berlin local time. Provided in the format: 2019-01-10 14:12:13 | ||
|
| Integer | No | Internal id of a feedback questionnaire. | |
| String | No | The name of a feedback questionnaire. This is set in the questionnaire settings. | ||
|
| String | Yes | The first and last name of a feedback's author. | |
| String | Yes | The email of the of a feedback's author. | ||
| String | Yes | The age of the of a feedback's author. | ||
|
| String | No | The feedback author's traveller type. One of these strings: business, alone, couple, friends, family, group | |
| String | Yes | The feedback author's room number. | ||
| String | Yes | The arrival date of the feedback's author in Berlin local time. Provided in the format: 2019-01-10 14:12:13 | ||
| String | Yes | The departure date of the feedback's author in Berlin local time. Provided in the format: 2019-01-10 14:12:13 | ||
| String | Yes | The optionally available reservation id | ||
| String | Yes | The optionally available guest profile id | ||
|
|
| Integer | No | Internal id of a feedback's question. |
| String | No | The question's type. One of the following strings: overall_comment, text, choice, rating, nps, email, traveller_type, age, name, newsletter_signup, date, date_range | ||
| String | No | The question's text in your account's default language. | ||
| String | Yes | The optionally configured mapping for this question. | ||
|
| Integer | Yes | If the question type is 'rating', the rating the author chose. The rating value will always be an integer between 1 and 5. | |
| String or Null | Yes | If the question answer contains any type of 'text', a text answer the author wrote. | ||
| Array | Yes | If the question type is 'choice', an array containing the answers to the choice question. Will optionally contain a "mapping" that was configured for this choice. | ||
| String | Yes | A date in format "YYYY-MM-DD" in case its a date question. | ||
| Object | Yes | A date range with nested keys "start" and "end" in "YYYY-MM-DD" format in case its a "date_range" question. | ||
| Array | No | Contains 'question', 'answer' and 'sub_question_answers' elements for each sub question. |