Retrieve Reviews

Retrieve all reviews available in the system or retrieve a specific review by its unique identifier

Overview

The Retrieve Reviews endpoint allows the Agent to retrieve reviews available in the system or access a specific review by its unique identifier. This API provides valuable insights and feedback from guests who have stayed at various properties managed within the system.

Available Endpoints

MethodEndpointDescription
GETv2023.07.31/reviewsRetrieve all Reviews available in the system
GETv2023.07.31/reviews/{reviewId}Retrieve a specific Review by its unique identifier

Path Parameters

Path ParameterRequired / OptionalDescription
{reviewId}RequiredUnique Identifier for Review

Query String Parameters

ParameterRequired / OptionalDescriptionData Type
pageOptionalThe page to be shownint
pageSizeOptionalLimits the number of returned resultsint
lastUpdateDateOptionalOnly return objects which have been modified after a certain datedate-time
mcUserIdOptionalUnique Identifier for Supplierint
mcUserIdsOptionalUnique Identifiers for Suppliersarray
unitIdOptionalUnique Identifier for Unit in Inventoryint
unitIdsOptionalUnique Identifier for Units in Inventoryarray
reviewStartOptionalOnly return reviews which were made after a certain datedate-time
reviewEndOptionalOnly return reservations which were made before a certain datedate-time
arrivalStartOptionalOnly return reservations which arrive after a certain datedate-time
arrivalEndOptionalOnly return reservations which arrive before a certain datedate-time
departureStartOptionalOnly return reservations which depart after a certain datedate-time
departureEndOptionalOnly return reservations which depart before a certain datedate-time
reviewIdOptionalUnique Identifier for Reviewint
reviewIdsOptionalUnique Identifier for Reviewsarray
reservationIdOptionalUnique Identifier for Reservationint
reservationIdsOptionalUnique Identifier for Reservationsarray

Response Definitions

Response ItemDescriptionData Type
"Reviews"An array containing Review detailsarray

"Reviews" Object

Response ItemDescriptionData Type
"id"The unique identifier of the reviewint
"review_date"The date when the review was submitteddate
"rating"The numerical rating given by the guest for the property or experiencefloat
"rating_scale"The maximum rating scale available for the reviewfloat
"anonymous"A flag indicating whether the review is submitted anonymously (true) or not (false)boolean
"name"The name of the reviewer (if provided)string
"email"The email address of the reviewer (if provided)string
"published"A flag indicating whether the review has been published (true) or not (false)boolean
"content"The content of the review as an array of objects, where each object has a "value" field containing the review textarray
"reviewer"The type of reviewer, such as "GUEST" for a guest reviewstring
"status"The status of the review (e.g., "APPROVED" or "PENDING")string
"unit_id"The unique identifier of the unit in the Inventory to which the review belongsint
"ready_only"A value indicating whether the review is read-only (immutable) or editableboolean

"content" Object

Response ItemDescriptionData Type
"value"A field containing the review textstring

Sample Request

curl --request GET \
     --url 'https://api.ciiruspartners.com/v2023.07.31/reviews?page=1&pageSize=50'

Sample Response

{
    "Reviews": [
        {
            "id": 13145,
            "review_date": "2017-03-14",
            "rating": 5.0,
            "rating_scale": 5.0,
            "anonymous": false,
            "name": "Test Review",
            "email": "[email protected]",
            "published": true,
            "content": [
                {
                    "value": "Best Home ever!"
                }
            ],
            "reviewer": "GUEST",
            "status": "APPROVED",
            "unit_id": 219266,
            "read_only": true
        },
      ...
    ],
    "next_page_url": "https://api.ciiruspartners.com/v20230731/reviews?page=2&pageSize=50",
    "total_page_count": 4
}