JiwaAPI

<back to all web services

IN_UpSellQuery

Requires Authentication
IN_UpSellQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
InventoryIDquerystringNo
InventoryIDStartsWithquerystringNo
InventoryIDEndsWithquerystringNo
InventoryIDContainsquerystringNo
InventoryIDLikequerystringNo
InventoryIDBetweenquerystring[]No
InventoryIDInquerystring[]No
UpSellInventoryIDquerystringNo
UpSellInventoryIDStartsWithquerystringNo
UpSellInventoryIDEndsWithquerystringNo
UpSellInventoryIDContainsquerystringNo
UpSellInventoryIDLikequerystringNo
UpSellInventoryIDBetweenquerystring[]No
UpSellInventoryIDInquerystring[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
PrimaryCategoryIDquerystringNo
PrimaryCategoryIDStartsWithquerystringNo
PrimaryCategoryIDEndsWithquerystringNo
PrimaryCategoryIDContainsquerystringNo
PrimaryCategoryIDLikequerystringNo
PrimaryCategoryIDBetweenquerystring[]No
PrimaryCategoryIDInquerystring[]No
SecondaryCategoryIDquerystringNo
SecondaryCategoryIDStartsWithquerystringNo
SecondaryCategoryIDEndsWithquerystringNo
SecondaryCategoryIDContainsquerystringNo
SecondaryCategoryIDLikequerystringNo
SecondaryCategoryIDBetweenquerystring[]No
SecondaryCategoryIDInquerystring[]No
Quantityquerydecimal?No
QuantityGreaterThanOrEqualToquerydecimal?No
QuantityGreaterThanquerydecimal?No
QuantityLessThanquerydecimal?No
QuantityLessThanOrEqualToquerydecimal?No
QuantityNotEqualToquerydecimal?No
QuantityBetweenqueryNullable<Decimal>[]No
QuantityInqueryNullable<Decimal>[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
IN_UpSell Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
InventoryIDformstringNo
UpSellInventoryIDformstringNo
DescriptionformstringNo
PrimaryCategoryIDformstringNo
SecondaryCategoryIDformstringNo
Quantityformdecimal?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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/IN_UpSellQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"RecID":"String","RecIDStartsWith":"String","RecIDEndsWith":"String","RecIDContains":"String","RecIDLike":"String","RecIDBetween":["String"],"RecIDIn":["String"],"InventoryID":"String","InventoryIDStartsWith":"String","InventoryIDEndsWith":"String","InventoryIDContains":"String","InventoryIDLike":"String","InventoryIDBetween":["String"],"InventoryIDIn":["String"],"UpSellInventoryID":"String","UpSellInventoryIDStartsWith":"String","UpSellInventoryIDEndsWith":"String","UpSellInventoryIDContains":"String","UpSellInventoryIDLike":"String","UpSellInventoryIDBetween":["String"],"UpSellInventoryIDIn":["String"],"Description":"String","DescriptionStartsWith":"String","DescriptionEndsWith":"String","DescriptionContains":"String","DescriptionLike":"String","DescriptionBetween":["String"],"DescriptionIn":["String"],"PrimaryCategoryID":"String","PrimaryCategoryIDStartsWith":"String","PrimaryCategoryIDEndsWith":"String","PrimaryCategoryIDContains":"String","PrimaryCategoryIDLike":"String","PrimaryCategoryIDBetween":["String"],"PrimaryCategoryIDIn":["String"],"SecondaryCategoryID":"String","SecondaryCategoryIDStartsWith":"String","SecondaryCategoryIDEndsWith":"String","SecondaryCategoryIDContains":"String","SecondaryCategoryIDLike":"String","SecondaryCategoryIDBetween":["String"],"SecondaryCategoryIDIn":["String"],"Quantity":0,"QuantityGreaterThanOrEqualTo":0,"QuantityGreaterThan":0,"QuantityLessThan":0,"QuantityLessThanOrEqualTo":0,"QuantityNotEqualTo":0,"QuantityBetween":[0],"QuantityIn":[0],"Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Results":[{"RecID":"String","InventoryID":"String","UpSellInventoryID":"String","Description":"String","PrimaryCategoryID":"String","SecondaryCategoryID":"String","Quantity":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}