GET hotels/{hotelId}/groups/availability?key={key}&fromDate={fromDate}&toDate={toDate}&tRateIds={tRateIds}
Gets all group availabilities on a specific date range (max. 60 days) and assigned to any of the Template Rates passed
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| hotelId |
Hotel Id for which to return the group availabilites |
string |
Required |
| key |
API - Key identifying the caller |
string |
Required |
| fromDate |
Start Date Range, Format YYYY-MM-DD |
date |
Required |
| toDate |
End Date Range, Format YYYY-MM-DD |
date |
Required |
| tRateIds |
Comma separated list of Template Rate IDs |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GroupAvailability| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| GroupAvailRoomType | Collection of GroupAvailRoomType |
None. |
|
| GroupRatePlan | Collection of GroupRatePlan |
None. |
|
| GroupAvailRoomRates | Collection of GroupAvailRoomRates |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StartDate": "2025-10-27T16:41:26.1204943-07:00",
"EndDate": "2025-10-27T16:41:26.1204943-07:00",
"GroupAvailRoomType": [],
"GroupRatePlan": [],
"GroupAvailRoomRates": []
},
{
"StartDate": "2025-10-27T16:41:26.1204943-07:00",
"EndDate": "2025-10-27T16:41:26.1204943-07:00",
"GroupAvailRoomType": [],
"GroupRatePlan": [],
"GroupAvailRoomRates": []
}
]
application/xml, text/xml
Sample:
<ArrayOfGroupAvailability xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoomKeyAPI.Models">
<GroupAvailability>
<EndDate>2025-10-27T16:41:26.1204943-07:00</EndDate>
<GroupAvailRoomRates />
<GroupAvailRoomType />
<GroupRatePlan />
<StartDate>2025-10-27T16:41:26.1204943-07:00</StartDate>
</GroupAvailability>
<GroupAvailability>
<EndDate>2025-10-27T16:41:26.1204943-07:00</EndDate>
<GroupAvailRoomRates />
<GroupAvailRoomType />
<GroupRatePlan />
<StartDate>2025-10-27T16:41:26.1204943-07:00</StartDate>
</GroupAvailability>
</ArrayOfGroupAvailability>