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 |
|---|---|---|---|
| ShelterId | integer |
None. |
|
| NightlyStays | integer |
None. |
|
| NightlyRooms | integer |
None. |
|
| Departures | integer |
None. |
|
| Arrivals | integer |
None. |
|
| TotalArrivals | integer |
None. |
|
| TotalRemaining | 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",
"ShelterId": 1,
"NightlyStays": 2,
"NightlyRooms": 3,
"Departures": 4,
"Arrivals": 5,
"TotalArrivals": 6,
"TotalRemaining": 7,
"Month": 8,
"Year": 9,
"Day": 10,
"IsClosed": true,
"DailyRegistration": true,
"DisplayMonhtYear": "10 august 9"
},
{
"$ref": "1"
}
]