GET
/api/rooms/{roomId}/discounts/{id}
curl \
-X GET http://api.example.com/api/rooms/{roomId}/discounts/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"roomId": "string",
"percentage": 42.0,
"originalPrice": 42.0,
"discountedPrice": 42.0,
"startDate": "2024-05-04T09:42:00+00:00",
"endDate": "2024-05-04T09:42:00+00:00"
}
Response examples (200)
{
"id": "string",
"roomId": "string",
"percentage": 42.0,
"originalPrice": 42.0,
"discountedPrice": 42.0,
"startDate": "2025-05-04T09:42:00Z",
"endDate": "2025-05-04T09:42:00Z"
}