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

Collection of SupplierOrderHeadResponse

None.

TotalPages

integer

None.

NextPage

string

None.

PreviousPage

string

None.

LastPage

string

None.

FirstPage

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.