AbodeONE

<back to all web services

GetGuestRoomSlot

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
GET/guest_room_slot
GetGuestRoomSlot Parameters:
NameParameterData TypeRequiredDescription
GuestRoomSlotIdqueryint?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 .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET //guest_room_slot HTTP/1.1 
Host: api.lsu-staging.abodehms.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
		}
	}
}