Skip to content

Show Review

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/review/{reviewIdentifier}
curl --request GET \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/review/review-1 \
--header 'Wink-Version: 2.0'

Retrieve a unique review of a hotel identified by its identifier

managingEntityIdentifier
required
string
""

Show review given to hotel with this identifier

Example
hotel-1
reviewIdentifier
required
string
""

Show review for this identifier

Example
review-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
id

Document UUID

string
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

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.

integer format: int64
""
bookingIdentifier

Booking identifier identifier booking this review is associated with.

string format: uuid
""
hotelIdentifier

Hotel identifier this booking is associated with.

string format: uuid
""
user

User details of creator of booking.

object
userIdentifier

User identifier

string format: uuid
""
firstName

First name

string
""
lastName

Last name

string
""
email

Email

string format: email
""
telephone

Telephone

string
""
fullName

Full name

string
""
reviewDate

Date of review.

string format: date-time
""
averageScore

Total points divided by number of questions.

number format: double
""
answers

List of user review answers.

Array<object>
object
questionIdentifier
required

Question identifier

string format: uuid
"" >= 1 characters
category
required

Question category

string
""
Allowed values: COMFORT CONDITION SERVICE ENVIRONMENT FACILITIES LOCATION LIFESTYLE VALUE FOOD ROOM
sort
required

Sort key

integer format: int32
""
value
required

Value

integer format: int32
""
messageFromGuest

Private message from guest to the hotel. Is not displayed on property profile.

string
""
responseFromHotel

Property can response to traveler review. Response goes on public review profile and can be seen by others.

string
""
imageIdentifier

Reviewer can upload her best picture from the property. Cloudinary image identifier.

string
""
text

Free text record created by traveler

string
""
approvedText

Hotel allows the review text to be displayed as part of their profile.

boolean
approvedImage

Hotel allows the user-generated image to be displayed as part of their profile.

boolean
likes

List of member identifiers who liked the textual review

Array<string>
roomNumber

Guest’s room number during their stay.

string
""
roomRating

Guest’s room rating

integer format: int32
""
responded

Returns true if property has responded to the review given by the guest.

boolean
Example
{
"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
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}