Retrieves a collection of unique recently visited hotels for a the current authorized guest, presenting essential details.
Ask AI
The resulting collection provides essential information about the last N different hotels the guest visited, such as hotel name, city name, star rating, and price.
Sample request:
GET guests/{guestId}/recently-visited-hotels?count=3
GET
/api/Guests/recently-visited-hotels
curl \
-X GET http://api.example.com/api/Guests/recently-visited-hotels \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"hotelName": "string",
"hotelImage": {
"imageUrl": "string",
"alternativeText": "string"
},
"cityName": "string",
"starRating": 42,
"price": 42.0
}
]
Response examples (200)
[
{
"hotelName": "string",
"hotelImage": {
"imageUrl": "string",
"alternativeText": "string"
},
"cityName": "string",
"starRating": 42,
"price": 42.0
}
]