Click or drag to resize

OwnerLoginAuthenticateWcfServiceGetCalendar Method

Gets the calendar for a specific rental object within the specified time frame.

Namespace:  Tse.EasyBook.Server.WcfContracts.WebClient
Assembly:  Tse.EasyBook.Server.WcfContracts (in Tse.EasyBook.Server.WcfContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public OwnerLoginCalendarResult GetCalendar(
	GetCalendarCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContracts.OwnerLoginGetCalendarCriteria
Rental object number + password. Also required are a start and end date of the window to view the calendar.

Return Value

Type: OwnerLoginCalendarResult
Returns all bookings, owner bookings and all other blocked intervals on the rental object calendar.

Implements

IOwnerLoginAuthenticateWcfServiceGetCalendar(GetCalendarCriteria)
Exceptions
ExceptionCondition
FaultExceptionFault may contain the following values:

ErrorCode.Error: An unspecified error happened in the server

ErrorCode.InvalidRentalObjectNo: The provided rental object number is invalid

ErrorCode.OwnerAccessOwnerNotFound: The provided owner login details did not match any owners

See Also