EMS API Functions—Auto Check-in Operation

AutoCheckin

Requires EMS API Advanced License

Description

Automatically checks-in to a Booking in EMS. 

Request Parameters 

Name

Description

Type

UserName

EMS User Name

String

Password

EMS User Password

String

EmailAddress

Email Address

String

WebUserID

Web User ID

Integer

UDFID

User Defined Field ID

Integer

UDFValue

Value of User Defined Field

String

BuildingID

Building ID

Integer

RoomID

Room ID

Integer

FloorID

Floor ID

Integer

BookingDate

Date of Event

DateTime

EventType

Event Type (To remove this filter use ‘-1’.)

Integer

Response Elements

Name

Description

Type

Message

“Success!” or error, i.e. “The information provide did not return any records.”

String

BookingID

Booking ID

Integer

RoomID

Room ID

Integer

Sample Code

Private Sub AutoCheckin()
               Dim svc As New EMSAPI.ServiceSoapClient
               Dim objReader As New System.IO.StringReader
		(svc.AutoCheckin(“UserID”, “Password”, 
		“test@test.com”, 5, 6, “UDF Value”,1, 2, 3, 
		Date.Today, 3))
               Dim dst As New DataSet("Data")
               dst.ReadXml(objReader)
End Sub

Example Response 

<AutoCheckinDetails>
<Data>
	<Message>Success</>
	<BookingID>1</BookingID>
	<RoomID>3</RoomID>
	</Data>
</ AutoCheckinDetails