GET api/Registrations?year={year}&month={month}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| year | integer |
Required |
|
| month | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TotalRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelId | integer |
None. |
|
| NightlyStays | integer |
None. |
|
| NightlyRooms | integer |
None. |
|
| LeisureGroupsTotal | integer |
None. |
|
| LeisureSingleTotal | integer |
None. |
|
| BusinessGroupTotal | integer |
None. |
|
| BusinessSingleTotal | integer |
None. |
|
| Arrivals | integer |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| Day | integer |
None. |
|
| IsClosed | boolean |
None. |
|
| DailyRegistration | boolean |
None. |
|
| DisplayMonhtYear | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"HotelId": 1,
"NightlyStays": 2,
"NightlyRooms": 3,
"LeisureGroupsTotal": 4,
"LeisureSingleTotal": 5,
"BusinessGroupTotal": 6,
"BusinessSingleTotal": 7,
"Arrivals": 8,
"Month": 9,
"Year": 10,
"Day": 11,
"IsClosed": true,
"DailyRegistration": true,
"DisplayMonhtYear": "11 september 10"
},
{
"$ref": "1"
}
]