Click or drag to resize

BookingAuthenticateWcfServiceDeleteOrder Method

Deletes an existing order. The order may be deleted even if recorded but can not be deleted if status = accepted.

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 OrderWeb DeleteOrder(
	DeleteOrderCriteria criteria
)

Parameters

criteria
Type: Tse.EasyBook.Server.DataContractsDeleteOrderCriteria
DeleteOrderCriteria criteria object

Return Value

Type: OrderWeb
The deleted and credited order. If the order is already credited then the order is simply returned with no changes.

Implements

IBookingAuthenticateWcfServiceDeleteOrder(DeleteOrderCriteria)
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.InvalidOrderNo: The provided order number did not match any registered orders.

ErrorCode.DeleteOrderDeleteNotAllowed: The order cannot be deleted. This could be due to a lack of permission or the order has already been accepted by the customer

See Also