SalesOrderController..::..List Method
gets a list of sales orders, given optional filters, top, skip and orderby.
Namespace:
ControllersAssembly: JiwaWebAPI (in JiwaWebAPI.dll)
Syntax
[HttpGetAttribute] public List<SalesOrder> List( string filter, string top, string skip, string orderby )
<HttpGetAttribute> _ Public Function List ( _ filter As String, _ top As String, _ skip As String, _ orderby As String _ ) As List(Of SalesOrder)
[HttpGetAttribute] public: List<SalesOrder^>^ List( String^ filter, String^ top, String^ skip, String^ orderby )
Parameters
- filter
- Type: String
- top
- Type: String
a query parameter (Sets the filter for the results to return)a query parameter (Sets the maximum number of results to return)
- skip
- Type: String
a query parameter (Sets the number of results to skip, before return up the $top number of matching items.)
- orderby
- Type: String
Return Value
A List of JiwaFinancials.Jiwa.JiwaSales.SalesOrder.XML.SalesOrderRemarks
C#
List?$orderby=OrderNo&$top=2&$skip=20
C#
List?$filter=SOReference eq 'Web' and LastSavedDateTime ge 2015-01-01T00:00:00Z and Status eq '0'
C#
List?$filter=startswith(SOReference, 'we') and Debtor/AccountNo eq '1001'