IOperationServiceGetPastOrders 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.V8 (in Resto.Front.Api.V8.dll)
Syntax IReadOnlyCollection<PastOrder> GetPastOrders(
int? orderNumber = null,
DateTime? minCloseTime = null,
DateTime? maxCloseTime = null,
bool isEndOfOrderNumber = false
)
Parameters
- orderNumber (Optional)
- Type: SystemNullableInt32
Order number
- minCloseTime (Optional)
- Type: SystemNullableDateTime
If null then minCloseTime will be equal current date and time minus 3 months
- maxCloseTime (Optional)
- Type: SystemNullableDateTime
If null then minCloseTime will be equal current date and time
- isEndOfOrderNumber (Optional)
- Type: SystemBoolean
If true then the operation will return orders whose low order numbers of order`s number match the argument [!:orderNumber].
Return Value
Type:
IReadOnlyCollectionPastOrderSee Also