Show template
GET
/api/booking/{bookingIdentifier}/review/questions
const url = 'https://api.wink.travel/api/booking/example/review/questions';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/booking/example/review/questions \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Returns the review questionnaire for the given booking, including the available questions and their answer options, scoped to the authenticated user.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” bookingIdentifier
required
string
Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
bookingIdentifier
required
Booking identifier to review.
string format: uuid
hotelIdentifier
required
Property (hotel) identifier to review.
string format: uuid
hotelName
required
Property name for display in the review interface.
string
userIdentifier
required
Guest user identifier submitting the review.
string format: uuid
questions
required
Array<object>
Review questions for the guest to answer.
object
identifier
Unique identifier for this review question.
string format: uuid
category
Category of this review question (e.g., COMFORT, SERVICE, VALUE).
string
sort
Display order of this question within the review template.
integer format: int32
options
Available answer options for this multiple-choice question.
Array<object>
object
sort
required
Display order of this answer option.
integer format: int32
value
required
Numeric value for this answer option.
integer format: int32
Example
{ "bookingIdentifier": "", "hotelIdentifier": "", "hotelName": "", "userIdentifier": "", "questions": [ "" ]}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" }}object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
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
{}