Click or drag to resize

OwnerLoginAuthenticateWcfServiceGetDocument Method

Retrieves a specific document as a Base64 encoded string.

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 IList<EncodedDocumentWeb> GetDocument(
	GetDocumentCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContracts.OwnerLoginGetDocumentCriteria
Input criteria containing the rental object number and password of the owner as well as the Id of the correspondence item.

Return Value

Type: IListEncodedDocumentWeb
A PDF document encoded as a Base64 string.

Implements

IOwnerLoginAuthenticateWcfServiceGetDocument(GetDocumentCriteria)
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.OwnerAccessDocumentNotFound: The requested document does not exist or is not associated with the supplied owner login details

See Also