AbodeONE

<back to all web services

CreateGuestRoomSlot

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
POST/guest_room_slot
CreateGuestRoomSlot Parameters:
NameParameterData TypeRequiredDescription
GuestHostResponseIdbodyint?No
GuestEventIdbodyint?No
RoomIdbodyint?No
HostIdbodyint?No
HostPaymentbodydecimal?No
RequestedGuestbodystringNo
CommentsbodystringNo
GuestRequest1bodystringNo
RequestCommentsbodystringNo
IsActivebodybool?No
OverrideWarningsbodybool?No
GuestRoomSlotResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformGuestRoomSlotDTONo
ResponseStatusformResponseStatusNo
GuestRoomSlotDTO Parameters:
NameParameterData TypeRequiredDescription
GuestRoomSlotIdformintNo
GuestHostResponseIdformint?No
GuestEventIdformint?No
RoomIdformint?No
HostIdformint?No
HostPaymentformdecimal?No
IsActiveformshortNo
CurrentGuestIDformintNo
CurrentGuestFullnameformstringNo
CurrentGuestStatusformstringNo
HostNameformstringNo
RoomNameformstringNo
WingIdformint?No
WingNameformstringNo
BuildingIdformint?No
BuildingNameformstringNo
RequestedGuestformstringNo
CommentsformstringNo
GuestRequest1formstringNo
RequestCommentsformstringNo

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

HTTP + JSON

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.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"}}}