Click or drag to resize

OwnerLoginAuthenticateWcfServiceUpdateCalendar Method

Updates the calendar for a specific rental object.

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 UpdateCalendar(
	UpdateCalendarCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContracts.OwnerLoginUpdateCalendarCriteria
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

IOwnerLoginAuthenticateWcfServiceUpdateCalendar(UpdateCalendarCriteria)
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

ErrorCode.UpdateCalendarWeek39Rule: The provided date interval violates the 39 week rule of the rental object

ErrorCode.UpdateCalendarDateConflict: The provided date interval violates one or more existing calendar intervals

ErrorCode.UpdateCalendarDeleteRepeatedBlocking: It is not possible to delete a repeated blocking on the calendar

ErrorCode.UpdateCalendarMissingIntermeditationAgreement: It is only possible to add or remove owner blockings, when the whole date interval is covered by intermediation intervals

See Also