GET api/orders/GetStatusFromDate/{fromDate}?branchId={branchId}&onlyClosed={onlyClosed}
Get CloseOrderTypeId and OrderStatusId, paged, for all orders for specific branch from fromDate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fromDate |
Get all order status for orders with [CreatedDate] > fromDate |
date |
Required |
| branchId |
Branch id on orders |
integer |
Default value is Null |
| onlyClosed |
Indicates if only closed orders should be returned |
boolean |
Default value is True |
Body Parameters
None.
Remarks
None.
Example
//Gets all order statuses in first page.
http://localhost/api/orders/GetStatusFromDate/{fromDate}
//Gets all order statuses in the fifth page with page size 50
http://localhost/api/orders/GetStatusFromDate/{fromDate}?pageNumber=5&pageSize=50
//Gets all order statuses in the fifth page with default page size (25).
http://localhost/api/orders/GetStatusFromDate/{fromDate}?pageNumber=5
Response Information
Resource Description
CloseOrderTypeId and OrderStatusId, paged, for all orders for specific branch from fromDate
PagedOrderStatusResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderStatusResponses | Collection of OrderStatusResponse |
None. |
|
| TotalPages | integer |
None. |
|
| NextPage | string |
None. |
|
| PreviousPage | string |
None. |
|
| LastPage | string |
None. |
|
| FirstPage | string |
None. |
Response Formats
application/json, text/json
Sample not available.