| Required role: | Admin |
| GET | /guest_residents/room_slots |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestEventId | query | int | No | |
| BuildingIds | query | ArrayOfInt | No | |
| StartDt | query | DateTime? | No | |
| EndDt | query | DateTime? | No | |
| Statuses | query | List<string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<GuestResidentRoomSlotDTO> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestRoomSlotId | form | int | No | |
| IsActive | form | bool | No | |
| Room | form | string | No | |
| RoomId | form | int | No | |
| WingId | form | int? | No | |
| WingName | form | string | No | |
| BuildingId | form | int? | No | |
| BuildingName | form | string | No | |
| GuestResidentId | form | int? | No | |
| GuestId | form | int? | No | |
| Status | form | string | No | |
| StartDt | form | DateTime? | No | |
| EndDt | form | DateTime? | No | |
| IsAutoMoveout | form | bool? | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| GuestFullName | form | string | No | |
| RequestedGuest | form | string | No | |
| Comments | form | string | No | |
| RequestedGuest1 | form | string | No | |
| RequestComments | form | string | No | |
| HostFirstName | form | string | No | |
| HostLastName | form | string | No | |
| HostFullName | form | string | No | |
| HostCellphone | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET //guest_residents/room_slots HTTP/1.1 Host: api.lsu-staging.abodehms.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'GuestResidentsRoomSlotsResponse' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)