Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InventoryID | query | string | No | |
InventoryIDStartsWith | query | string | No | |
InventoryIDEndsWith | query | string | No | |
InventoryIDContains | query | string | No | |
InventoryIDLike | query | string | No | |
InventoryIDBetween | query | string[] | No | |
InventoryIDIn | query | string[] | No | |
OnOrder | query | decimal? | No | |
OnOrderGreaterThanOrEqualTo | query | decimal? | No | |
OnOrderGreaterThan | query | decimal? | No | |
OnOrderLessThan | query | decimal? | No | |
OnOrderLessThanOrEqualTo | query | decimal? | No | |
OnOrderNotEqualTo | query | decimal? | No | |
OnOrderBetween | query | Nullable<Decimal>[] | No | |
OnOrderIn | query | Nullable<Decimal>[] | No | |
IN_logicalID | query | string | No | |
IN_logicalIDStartsWith | query | string | No | |
IN_logicalIDEndsWith | query | string | No | |
IN_logicalIDContains | query | string | No | |
IN_logicalIDLike | query | string | No | |
IN_logicalIDBetween | query | string[] | No | |
IN_logicalIDIn | query | string[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Skip | form | int? | No | |
Take | form | int? | No | |
OrderBy | form | string | No | |
OrderByDesc | form | string | No | |
Include | form | string | No | |
Fields | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InventoryID | form | string | No | |
OnOrder | form | decimal? | No | |
IN_logicalID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | form | int | No | |
Total | form | int | No | |
Results | form | List<T> | No | |
Meta | form | Dictionary<string, string> | No | |
ResponseStatus | form | ResponseStatus | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/INV_OnOrderQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"InventoryID":"String","InventoryIDStartsWith":"String","InventoryIDEndsWith":"String","InventoryIDContains":"String","InventoryIDLike":"String","InventoryIDBetween":["String"],"InventoryIDIn":["String"],"OnOrder":0,"OnOrderGreaterThanOrEqualTo":0,"OnOrderGreaterThan":0,"OnOrderLessThan":0,"OnOrderLessThanOrEqualTo":0,"OnOrderNotEqualTo":0,"OnOrderBetween":[0],"OnOrderIn":[0],"IN_logicalID":"String","IN_logicalIDStartsWith":"String","IN_logicalIDEndsWith":"String","IN_logicalIDContains":"String","IN_logicalIDLike":"String","IN_logicalIDBetween":["String"],"IN_logicalIDIn":["String"],"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":[{"InventoryID":"String","OnOrder":0,"IN_logicalID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}