Display reviews on your website

This API allows you to retrieve the reviews collected via the CRM Experience satisfaction surveys for display on your website.

Reviews created modified deleted

This method will return a list of review identifiers that have been created or modified over the selected period. This way you can maintain your website up to date, even with a review deleted inside the CRM.

These identifiers can then be used with the Reviews details method to retrieve the details of the review.

Request

GET

https://interface.experience-hotel.com/api/xp-reviews/created-modified-deleted?date_start=2021-02-01&date_end=2022-02-08
Param
Format
Required

date_start

YYYY-MM-DD

Required

date_end

YYYY-MM-DD

Required

Response

Status Code 200 OK

{
  "created_or_modified": [
    5808733,
    5808736
  ],
  "deleted": []
}

Reviews details

This method will return the details of the reviews. It takes as parameter reviews identifiers retrieved with the created-modified-deleted method, with a maximum of 25 identifiers per call.

Request

GET

Response

Status Code 200 OK

Fields available

Fields
Type
Description

id

Numeric

Experience CRM internal Id for the Satisfaction Survey

partner_property_id

Numeric

Property management code at the partner.

If you need this field with your own property ID, you can send us the list of properties with their ID at your place, and we can send it back to you for each reservation.

experience_property_id

Numeric

Experience CRM Id for the property

property_name

String

Property Name in Experience CRM

publishable

Numeric

0: The review cannot be shown on a website. 1: The review can be shown on a website.

reviewed_at

Date

arrival_date

Date

Guest arrival date

departure_date

Date

Guest departure date

segment

String

Segment of the Stay

purpose

String

Purpose of the Stay

rating_min

Numeric

Minimum rating setup for the property

rating_max

Numeric

Maximum rating setup for the property

customer

Object

booking_properties

Object

Additional booking properties. Depending on the property config.

customer_properties

Object

Additional customer properties. Depending on the property config.

review_free_text

String

General review comment

ratings

Array

Array of rating

management_response

String

Response given by the property

Customer object

Fields
Type
Description

email

String

Guest email

firstname

String

Guest firstname

lastname

String

Guest lastname

country

String

Guest country code

language

String

Guest language code

Ratings

Each rating object corresponds to a question asked to the guest in the Satisfaction survey.

Fields
Type
Description

internal_id

Numeric

CRM Internal id for the question

code

String

Analitycs code for the question

rating

Numeric

Rating given by the guest for this question

text_pro

String

Positive comment

text_con

String

Nagative comment

Reviews summary

This method can be used to get a summary of the average scores for each question in the CRM Experience satisfaction survey.

The average scores communicated with this method will concern all the answers obtained to the satisfaction survey for the selected period.

Request

GET

Param
Format
Required

date_start

YYYY-MM-DD

Required

date_end

YYYY-MM-DD

Required

Response

Status Code 200 OK

question_code

String

Analytic code for the question

rating_count

Numeric

Number of answers for the question

rating_average

Numeric

Average rating

Last updated