Click or drag to resize

IOperationServiceGetPastOrdersByExternalNumber Method

Get collection of closed orders data with specified order number in the specified time interval from server, and returns it.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
IReadOnlyCollection<PastOrder> GetPastOrdersByExternalNumber(
	string externalNumber = null,
	DateTime? minCloseTime = null,
	DateTime? maxCloseTime = null,
	bool isPartOfExternalNumber = false
)

Parameters

externalNumber  String  (Optional)
Order number
minCloseTime  NullableDateTime  (Optional)
If null then minCloseTime will be equal current date and time minus 3 months
maxCloseTime  NullableDateTime  (Optional)
If null then minCloseTime will be equal current date and time
isPartOfExternalNumber  Boolean  (Optional)
If true then the operation will return orders whose part of order`s external number match the argument [!:externalNumber].

Return Value

IReadOnlyCollectionPastOrder
See Also