Pull endpoints
Capacities
Synchronizing available space.
Usage:
- called when new hotel is registered
- called after a new reservation is created or reservation fails
- periodical synchronization of available space unless push endpoint is used
post/capacities
Request body
Response
Successful response
Example response
{
"capacities": [
{
"availableRooms": 5
}
]
}