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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
OrderStatusResponses

List of order status responses

Collection of OrderStatusResponse

None.

TotalPages

Total number of pages.

integer

None.

NextPage

Link to the next page.

string

None.

PreviousPage

Link to the previous page.

string

None.

LastPage

Link to the last page.

string

None.

FirstPage

Link to the first page.

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.