JiwaAPI

<back to all web services

SO_SalesQtyQuery

Requires Authentication
SO_SalesQtyQuery Parameters:
NameParameterData TypeRequiredDescription
InventoryIDquerystringNo
InventoryIDStartsWithquerystringNo
InventoryIDEndsWithquerystringNo
InventoryIDContainsquerystringNo
InventoryIDLikequerystringNo
InventoryIDBetweenquerystring[]No
InventoryIDInquerystring[]No
YearNoqueryint?No
YearNoGreaterThanOrEqualToqueryint?No
YearNoGreaterThanqueryint?No
YearNoLessThanqueryint?No
YearNoLessThanOrEqualToqueryint?No
YearNoNotEqualToqueryint?No
YearNoBetweenqueryNullable<Int32>[]No
YearNoInqueryNullable<Int32>[]No
MonthNoqueryint?No
MonthNoGreaterThanOrEqualToqueryint?No
MonthNoGreaterThanqueryint?No
MonthNoLessThanqueryint?No
MonthNoLessThanOrEqualToqueryint?No
MonthNoNotEqualToqueryint?No
MonthNoBetweenqueryNullable<Int32>[]No
MonthNoInqueryNullable<Int32>[]No
TotalQtyquerydecimal?No
TotalQtyGreaterThanOrEqualToquerydecimal?No
TotalQtyGreaterThanquerydecimal?No
TotalQtyLessThanquerydecimal?No
TotalQtyLessThanOrEqualToquerydecimal?No
TotalQtyNotEqualToquerydecimal?No
TotalQtyBetweenqueryNullable<Decimal>[]No
TotalQtyInqueryNullable<Decimal>[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SO_SalesQty Parameters:
NameParameterData TypeRequiredDescription
InventoryIDformstringNo
YearNoformint?No
MonthNoformint?No
TotalQtyformdecimal?No
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/SO_SalesQtyQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"InventoryID":"String","InventoryIDStartsWith":"String","InventoryIDEndsWith":"String","InventoryIDContains":"String","InventoryIDLike":"String","InventoryIDBetween":["String"],"InventoryIDIn":["String"],"YearNo":0,"YearNoGreaterThanOrEqualTo":0,"YearNoGreaterThan":0,"YearNoLessThan":0,"YearNoLessThanOrEqualTo":0,"YearNoNotEqualTo":0,"YearNoBetween":[0],"YearNoIn":[0],"MonthNo":0,"MonthNoGreaterThanOrEqualTo":0,"MonthNoGreaterThan":0,"MonthNoLessThan":0,"MonthNoLessThanOrEqualTo":0,"MonthNoNotEqualTo":0,"MonthNoBetween":[0],"MonthNoIn":[0],"TotalQty":0,"TotalQtyGreaterThanOrEqualTo":0,"TotalQtyGreaterThan":0,"TotalQtyLessThan":0,"TotalQtyLessThanOrEqualTo":0,"TotalQtyNotEqualTo":0,"TotalQtyBetween":[0],"TotalQtyIn":[0],"Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"InventoryID":"String","YearNo":0,"MonthNo":0,"TotalQty":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}