Click or drag to resize

PartnerBlockingAuthRestWcfServiceCalendarPostJson Method

Returns a CalendarEntryWeb if the partner blocking is successfully created. Otherwise an exception is thrown.

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 CalendarEntryWeb CalendarPostJson(
	string rentalObjectNo,
	PartnerBlockIntervalCriteria crit
)

Parameters

rentalObjectNo
Type: SystemString
Rental object number in the following format: ##-#### where # is number between 0 and 9. Example: 10-0034
crit
Type: Tse.EasyBook.Server.DataContracts.WebClient.PartnerBlockingPartnerBlockIntervalCriteria
Http request body object serialized as json text. PartnerBlockIntervalCriteria

Return Value

Type: CalendarEntryWeb
Returns a CalendarEntryWeb if the partner blocking is successfully created. Otherwise an exception is thrown.

Implements

IPartnerBlockingAuthRestWcfServiceCalendarPostJson(String, PartnerBlockIntervalCriteria)
Exceptions
ExceptionCondition
ArgumentNullException
ArgumentException
See Also