Click or drag to resize

OwnerLoginAuthenticateWcfServiceUpdateOwner Method

Updates an existing owner. The owners password may also be changed using this service method.

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 OwnerWeb UpdateOwner(
	UpdateOwnerCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContracts.OwnerLoginUpdateOwnerCriteria
Input criteria containing the rental object number and password of the owner.

Return Value

Type: OwnerWeb
The updated owner.

Implements

IOwnerLoginAuthenticateWcfServiceUpdateOwner(UpdateOwnerCriteria)
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.OwnerAccessValidationError: The update failed because of one or more validation errors

See Also