Field | Type | Optional | Description |
---|
id
| Integer | No | Internal ID of a feedback questionnaire. |
language
| String | No | One of these language codes: de, en, es, fr, nl, cs, da, hu, it, pl, pt, ru, sr, sv, ar, zh, ja, fi, no |
created_date
| String | No | The date and time the questionnaire was created in Berlin local time. Provided in the format: 2019-01-10 14:12:13 |
questionnaire
| id
| Integer | No | Internal id of a feedback questionnaire. |
name
| String | No | The name of a feedback questionnaire. This is set in the questionnaire settings. |
author
| name
| String | Yes | The first and last name of a feedback's author. |
email
| String | Yes | The email of the of a feedback's author. |
age
| String | Yes | The age of the of a feedback's author. |
meta
| traveller_type
| String | No | The feedback author's traveller type. One of these strings: business, alone, couple, friends, family, group |
room_number
| String | Yes | The feedback author's room number. |
arrival_date
| String | Yes | The arrival date of the feedback's author in Berlin local time. Provided in the format: 2019-01-10 14:12:13 |
departure_date
| String | Yes | The departure date of the feedback's author in Berlin local time. Provided in the format: 2019-01-10 14:12:13 |
pms_reservation_id
| String | Yes | The optionally available reservation id |
pms_guest_profile_id
| String | Yes | The optionally available guest profile id |
question_answers
| question
| id
| Integer | No | Internal id of a feedback's question. |
type
| 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 |
label
| String | No | The question's text in your account's default language. |
mapping
| String | Yes | The optionally configured mapping for this question. |
answer
| rating
| 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. |
text
| String or Null | Yes | If the question answer contains any type of 'text', a text answer the author wrote. |
choices
| 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. |
date
| String | Yes | A date in format "YYYY-MM-DD" in case its a date question. |
date_range
| Object | Yes | A date range with nested keys "start" and "end" in "YYYY-MM-DD" format in case its a "date_range" question. |
sub_question_answers
| Array | No | Contains 'question', 'answer' and 'sub_question_answers' elements for each sub question. |