GET api/supplierorder/status/{orderStatus}/{branchId}

Gets all orders with a specific status.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branchId

integer

Required

orderStatus

SupplierOrderStatus

Required

Body Parameters

None.

Remarks

Order status and Branch id must be specified.
Status examples:
0 = Open
1 = Finalized
2 = Delivered

Example

//Gets all orders with an order status 1 from branch id 5 in the fifth page with page size 50
http://localhost/api/supplierorder/status/1/5?pageNumber=5&pageSize=50

//Gets all orders with an order status 1 from branch id 5 on the first page
http://localhost/api/supplierorder/status/1/5

//Gets all orders with an order status 1 from branch id 5 in the fifth page with default page size (25).
http://localhost/api/supplierorder/status/1/5?pageNumber=5

Response Information

Resource Description

Returns all orders with the specified order status.

PagedSupplierOrderResponse
NameDescriptionTypeAdditional information
SupplierOrderResponse

List of Supplier order status responses

Collection of SupplierOrderHeadResponse

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.