| Requires the role: | Admin |
| POST | /guest_room_slot |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestHostResponseId | body | int? | No | |
| GuestEventId | body | int? | No | |
| RoomId | body | int? | No | |
| HostId | body | int? | No | |
| HostPayment | body | decimal? | No | |
| RequestedGuest | body | string | No | |
| Comments | body | string | No | |
| GuestRequest1 | body | string | No | |
| RequestComments | body | string | No | |
| IsActive | body | bool? | No | |
| OverrideWarnings | body | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | GuestRoomSlotDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GuestRoomSlotId | form | int | No | |
| GuestHostResponseId | form | int? | No | |
| GuestEventId | form | int? | No | |
| RoomId | form | int? | No | |
| HostId | form | int? | No | |
| HostPayment | form | decimal? | No | |
| IsActive | form | short | No | |
| CurrentGuestID | form | int | No | |
| CurrentGuestFullname | form | string | No | |
| CurrentGuestStatus | form | string | No | |
| HostName | form | string | No | |
| RoomName | form | string | No | |
| WingId | form | int? | No | |
| WingName | form | string | No | |
| BuildingId | form | int? | No | |
| BuildingName | form | string | No | |
| RequestedGuest | form | string | No | |
| Comments | form | string | No | |
| GuestRequest1 | form | string | No | |
| RequestComments | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //guest_room_slot HTTP/1.1
Host: api.lsu-staging.abodehms.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"guestHostResponseId":0,"guestEventId":0,"roomId":0,"hostId":0,"hostPayment":0,"requestedGuest":"String","comments":"String","guestRequest1":"String","requestComments":"String","isActive":false,"overrideWarnings":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":{"guestRoomSlotId":0,"guestHostResponseId":0,"guestEventId":0,"roomId":0,"hostId":0,"hostPayment":0,"isActive":0,"currentGuestID":0,"currentGuestFullname":"String","currentGuestStatus":"String","hostName":"String","roomName":"String","wingId":0,"wingName":"String","buildingId":0,"buildingName":"String","requestedGuest":"String","comments":"String","guestRequest1":"String","requestComments":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}