List property reviews
const url = 'https://api.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/extranet/review/grid';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"skip":0,"take":30,"sort":"","filter":"","group":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/extranet/review/grid \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "skip": 0, "take": 30, "sort": "", "filter": "", "group": "" }'Returns a paginated, filterable grid of guest reviews for the property, including filters by date, guest name, rating, and approval status.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Property identifier to show reviews for
Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Number of records to be skipped by the pager.
Example
0Number of records to take.
Example
10Descriptors used for sorting result set.
object
Descriptors used for sorting result set
Example
ascData set field to sort on
Example
hotel.nameDescriptors used for filtering result set
object
Whether to filter inclusively or exclusively
Example
andDescriptors used for filtering the result set
object
Field name to filter on
Example
hotel.nameFilter operator to use on field
Example
startsWithValue to filter dataset against
Example
Happy ResMake filter comparison case insensitive. Default: Case sensitive
Example
trueDescriptors to group result sets by.
object
Field to group data set on
Example
createdDateGroup sort direction
Example
ascPrimitive aggregate data points
object
Field to run aggregate function on
Example
hotel.bookingsAggregate function
Example
countResponses
Section titled “ Responses ”Paginated list of reviews retrieved successfully
object
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Booking identifier this review is associated with.
Property (hotel) identifier this review is for.
Guest who submitted the review.
object
User identifier
Guest’s first name.
Guest’s last name.
Guest’s email address.
Guest’s phone number.
Guest’s full name.
Date and time the review was submitted.
Average rating across all question answers (0-10 scale).
Guest’s answers to each review question with their scores.
object
Review question identifier that this answer responds to.
Category of the question (e.g., COMFORT, SERVICE, VALUE).
Display order of this answer within the review.
Guest’s numeric rating for this question on a 0-10 scale.
Private feedback message from guest to hotel manager. Not publicly displayed.
Hotel’s public response to the guest review.
Cloudinary image identifier for guest’s photo from their stay.
Guest’s written review text.
Hotel has approved this review text for public display on their profile.
Hotel has approved the guest’s photo for public display on their profile.
User identifiers who ‘liked’ this review.
Guest’s room number during their stay.
Guest’s personal rating of their room on a 0-10 scale.
Hotel has submitted a response to this review.
object
object
object
Example
{ "content": [ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "bookingIdentifier": "", "hotelIdentifier": "", "user": "", "reviewDate": "", "averageScore": "", "answers": [ "" ], "messageFromGuest": "", "responseFromHotel": "", "imageIdentifier": "", "text": "", "approvedText": false, "approvedImage": false, "likes": [ "" ], "roomNumber": "", "roomRating": "", "responded": false } ]}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Not authenticated
object
object
Not authorized to access this property’s reviews
object
object
Internal Server Error
object
Example generated
{}