Click or drag to resize

BookingAuthenticateWcfServiceUpdateCustomer Method

Retrieves an existing customer based on the supplied customer profile ID or updates an existing customer.

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 UpdateCustomerResult UpdateCustomer(
	UpdateCustomerCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContractsUpdateCustomerCriteria
[!:UpdateCustomerCriteriaAndResult] criteria object

Return Value

Type: UpdateCustomerResult
UpdateCustomerResultObject containing the customer details based on the input criteria profile ID

Implements

IBookingAuthenticateWcfServiceUpdateCustomer(UpdateCustomerCriteria)
Exceptions
ExceptionCondition
FaultExceptionAuthorizationFault

The provided username and password is not authorized to call this service method

Fault may contain the following values:

ErrorCode.Error: An unspecified error happened in the server

ErrorCode.InvalidProfileId: The provided customer profile Id is not a valid GUID or does not match an existing customer

ErrorCode.InvalidCustomerPerson: The Customer person contaning details about the customer is either null or missing nescessary information

ErrorCode.InvalidCustomerCompany: The Customer company contaning details about the customer is either null or missing nescessary information

ErrorCode.InvalidPhoneNumber: A phonenumber failed validation. It may only contain digits or white spaces. Atleast 1 digit is required

ErrorCode.InvalidBankInfo: The bank info could not be validated

ErrorCode.InvalidChangeFromCompanyToPerson: An existing company customer cannot be changed to a person customer

ErrorCode.InvalidChangeFromPersonToCompany: An existing customer of type person cannot be changed to a company customer

See Also