Click or drag to resize

OwnerLoginAuthenticateWcfServiceUpdateAccount Method

Updates the owners bank account with the supplied BankInfoWeb. Important: Remember to set the [!:BankInfoWeb.Id] to the Id of the AccountWeb that needs updating.

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 AccountResult UpdateAccount(
	UpdateAccountCriteria criteria
)

Parameters

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

Return Value

Type: AccountResult
One or more account statements depending on the number of accounts associated with the rental object.

Implements

IOwnerLoginAuthenticateWcfServiceUpdateAccount(UpdateAccountCriteria)
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.InvalidBankInfo: The bank info could not be validated. See reason code in error message

See Also