POST api/Registrations?shelterId={shelterId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shelterId | integer |
Default value is 0 |
Body Parameters
Registration| Name | Description | Type | Additional information |
|---|---|---|---|
| Country | string |
None. |
|
| Capacity | Capacity |
None. |
|
| CurrentMonth | integer |
None. |
|
| CurrentYear | integer |
None. |
|
| CurrentDay | integer |
None. |
|
| IsDayBefore | boolean |
None. |
|
| TotalRemaining | integer |
None. |
|
| MonthName | string |
None. |
|
| ID | integer |
None. |
|
| From | date |
None. |
|
| To | date |
None. |
|
| Arrivals | integer |
None. |
|
| Departures | integer |
None. |
|
| TotalArrivals | integer |
None. |
|
| NighlyStays | integer |
None. |
|
| NightlyRooms | integer |
None. |
|
| CountryCode | string |
None. |
|
| ShelterId | integer |
None. |
|
| ChangedBy | string |
None. |
|
| Changed | date |
None. |
|
| Created | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Country": "sample string 1",
"Capacity": {
"$id": "2",
"ID": 1,
"Beds": 2,
"Rooms": 3,
"Houses": 4,
"Flats": 5,
"Tentplaces": 6,
"Campingplaces": 7,
"ChangedBy": "sample string 8",
"Changed": "2026-04-06T05:17:31.8234352+01:00",
"ValidTo": "2026-04-06T05:17:31.8234352+01:00",
"ValidFrom": "2026-04-06T05:17:31.8234352+01:00",
"ShelterId": 12,
"Month": 13,
"Year": 14,
"DisplayMonthYear": "sample string 15"
},
"CurrentMonth": 2,
"CurrentYear": 3,
"CurrentDay": 4,
"IsDayBefore": true,
"TotalRemaining": 6,
"MonthName": "apríl",
"ID": 7,
"From": "2026-04-06T05:17:31.8234352+01:00",
"To": "2026-04-06T05:17:31.8234352+01:00",
"Arrivals": 1,
"Departures": 1,
"TotalArrivals": 1,
"NighlyStays": 1,
"NightlyRooms": 1,
"CountryCode": "sample string 8",
"ShelterId": 1,
"ChangedBy": "sample string 9",
"Changed": "2026-04-06T05:17:31.8234352+01:00",
"Created": "2026-04-06T05:17:31.8234352+01:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.