Click or drag to resize

OwnerLoginAuthenticateWcfServiceUpdateRentalObject Method

Updates a rental object with new GPS coordinates.

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 RentalObjectOwnerWeb UpdateRentalObject(
	UpdateRentalObjectCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContracts.OwnerLoginUpdateRentalObjectCriteria
The new GPS coordinate + rental object number, password and a date interval. Latitude degrees can be any integer number from 90 to -90. longitude degrees can be any integer number from 180 to -180.

Return Value

Type: RentalObjectOwnerWeb
The updated rental object details.

Implements

IOwnerLoginAuthenticateWcfServiceUpdateRentalObject(UpdateRentalObjectCriteria)
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