GET
/api/Bookings/{id}
curl \
-X GET http://api.example.com/api/Bookings/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"confirmationId": "string",
"checkInDate": "2024-05-04",
"checkOutDate": "2024-05-04",
"price": 42.0,
"numberOfAdults": 42,
"numberOfChildren": 42,
"roomNumbers": [
42
],
"guestFullName": "string",
"guestId": "string",
"hotelName": "string",
"hotelId": "string"
}
Response examples (200)
{
"confirmationId": "string",
"checkInDate": "2025-05-04",
"checkOutDate": "2025-05-04",
"price": 42.0,
"numberOfAdults": 42,
"numberOfChildren": 42,
"roomNumbers": [
42
],
"guestFullName": "string",
"guestId": "string",
"hotelName": "string",
"hotelId": "string"
}