JiwaAPI

<back to all web services

IN_Creditor_QuantityPriceBreakQuery

Requires Authentication
IN_Creditor_QuantityPriceBreakQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDqueryGuid?No
RecIDInqueryGuid[]No
IN_Creditor_RecIDquerystringNo
IN_Creditor_RecIDStartsWithquerystringNo
IN_Creditor_RecIDEndsWithquerystringNo
IN_Creditor_RecIDContainsquerystringNo
IN_Creditor_RecIDLikequerystringNo
IN_Creditor_RecIDBetweenquerystring[]No
IN_Creditor_RecIDInquerystring[]No
InventoryIDquerystringNo
InventoryIDStartsWithquerystringNo
InventoryIDEndsWithquerystringNo
InventoryIDContainsquerystringNo
InventoryIDLikequerystringNo
InventoryIDBetweenquerystring[]No
InventoryIDInquerystring[]No
RowHashquerybyte[]No
QuantityBreakquerydecimal?No
QuantityBreakGreaterThanOrEqualToquerydecimal?No
QuantityBreakGreaterThanquerydecimal?No
QuantityBreakLessThanquerydecimal?No
QuantityBreakLessThanOrEqualToquerydecimal?No
QuantityBreakNotEqualToquerydecimal?No
QuantityBreakBetweenquerydecimal[]No
QuantityBreakInquerydecimal[]No
Pricequerydecimal?No
PriceGreaterThanOrEqualToquerydecimal?No
PriceGreaterThanquerydecimal?No
PriceLessThanquerydecimal?No
PriceLessThanOrEqualToquerydecimal?No
PriceNotEqualToquerydecimal?No
PriceBetweenquerydecimal[]No
PriceInquerydecimal[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
IN_Creditor_QuantityPriceBreak Parameters:
NameParameterData TypeRequiredDescription
RecIDformGuidNo
IN_Creditor_RecIDformstringNo
InventoryIDformstringNo
RowHashformbyte[]No
QuantityBreakformdecimalNo
PriceformdecimalNo
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/IN_Creditor_QuantityPriceBreakQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"RecID":"00000000000000000000000000000000","RecIDIn":["00000000-0000-0000-0000-000000000000"],"IN_Creditor_RecID":"String","IN_Creditor_RecIDStartsWith":"String","IN_Creditor_RecIDEndsWith":"String","IN_Creditor_RecIDContains":"String","IN_Creditor_RecIDLike":"String","IN_Creditor_RecIDBetween":["String"],"IN_Creditor_RecIDIn":["String"],"InventoryID":"String","InventoryIDStartsWith":"String","InventoryIDEndsWith":"String","InventoryIDContains":"String","InventoryIDLike":"String","InventoryIDBetween":["String"],"InventoryIDIn":["String"],"RowHash":"AA==","QuantityBreak":0,"QuantityBreakGreaterThanOrEqualTo":0,"QuantityBreakGreaterThan":0,"QuantityBreakLessThan":0,"QuantityBreakLessThanOrEqualTo":0,"QuantityBreakNotEqualTo":0,"QuantityBreakBetween":[0],"QuantityBreakIn":[0],"Price":0,"PriceGreaterThanOrEqualTo":0,"PriceGreaterThan":0,"PriceLessThan":0,"PriceLessThanOrEqualTo":0,"PriceNotEqualTo":0,"PriceBetween":[0],"PriceIn":[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":[{"IN_Creditor_RecID":"String","InventoryID":"String","RowHash":"AA=="}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}