Skip to content

Show Review Template

GET
/api/booking/{bookingIdentifier}/review/questions
curl --request GET \
--url https://api.wink.travel/api/booking/example/review/questions \
--header 'Wink-Version: 2.0'

Loads available questions and answer options

bookingIdentifier
required
string
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
bookingIdentifier
required

Booking ID to review

string
""
hotelIdentifier
required

Hotel ID to review

string
""
hotelName
required

Hotel name to review

string
""
userIdentifier
required

User ID doing the reviewing

string
""
questions
required
Array<object>
>= 1 items <= 2147483647 items

Questions to be answered by booker

object
identifier
string
category
string
Allowed values: COMFORT CONDITION SERVICE ENVIRONMENT FACILITIES LOCATION LIFESTYLE VALUE FOOD ROOM
sort
integer format: int32
options
Array<object>
object
sort
required

Sort key

integer format: int32
""
value
required
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"
}
}

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
{}