Click or drag to resize

OwnerLoginAuthenticateWcfServiceAddCustomerReviewOwnerMessage Method

Adds a new CustomerReview on the supplied owner and rental object with ReviewType=Owner.

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 CustomerReviewWeb AddCustomerReviewOwnerMessage(
	AddCustomerReviewOwnerMessageCriteriaWeb criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContracts.OwnerLoginAddCustomerReviewOwnerMessageCriteriaWeb
Rental object number + password. Also required are details about the CustomerReview that needs to be created.

Return Value

Type: CustomerReviewWeb
The new customer review.

Implements

IOwnerLoginAuthenticateWcfServiceAddCustomerReviewOwnerMessage(AddCustomerReviewOwnerMessageCriteriaWeb)
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