Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FreightInID | query | string | No | |
FreightInIDStartsWith | query | string | No | |
FreightInIDEndsWith | query | string | No | |
FreightInIDContains | query | string | No | |
FreightInIDLike | query | string | No | |
FreightInIDBetween | query | string[] | No | |
FreightInIDIn | query | string[] | No | |
Description | query | string | No | |
DescriptionStartsWith | query | string | No | |
DescriptionEndsWith | query | string | No | |
DescriptionContains | query | string | No | |
DescriptionLike | query | string | No | |
DescriptionBetween | query | string[] | No | |
DescriptionIn | query | string[] | No | |
FreightValue | query | decimal? | No | |
FreightValueGreaterThanOrEqualTo | query | decimal? | No | |
FreightValueGreaterThan | query | decimal? | No | |
FreightValueLessThan | query | decimal? | No | |
FreightValueLessThanOrEqualTo | query | decimal? | No | |
FreightValueNotEqualTo | query | decimal? | No | |
FreightValueBetween | query | Nullable<Decimal>[] | No | |
FreightValueIn | query | Nullable<Decimal>[] | No | |
FreightType | query | short? | No | |
FreightTypeGreaterThanOrEqualTo | query | short? | No | |
FreightTypeGreaterThan | query | short? | No | |
FreightTypeLessThan | query | short? | No | |
FreightTypeLessThanOrEqualTo | query | short? | No | |
FreightTypeNotEqualTo | query | short? | No | |
FreightTypeBetween | query | Nullable<Int16>[] | No | |
FreightTypeIn | query | Nullable<Int16>[] | No | |
FreightFactor | query | bool? | No | |
IsDefault | query | bool? | 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 |
---|---|---|---|---|
FreightInID | form | string | No | |
Description | form | string | No | |
FreightValue | form | decimal? | No | |
FreightType | form | short? | No | |
FreightFactor | form | bool? | No | |
IsDefault | form | bool | 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 .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/IN_FreightQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"FreightInID":"String","FreightInIDStartsWith":"String","FreightInIDEndsWith":"String","FreightInIDContains":"String","FreightInIDLike":"String","FreightInIDBetween":["String"],"FreightInIDIn":["String"],"Description":"String","DescriptionStartsWith":"String","DescriptionEndsWith":"String","DescriptionContains":"String","DescriptionLike":"String","DescriptionBetween":["String"],"DescriptionIn":["String"],"FreightValue":0,"FreightValueGreaterThanOrEqualTo":0,"FreightValueGreaterThan":0,"FreightValueLessThan":0,"FreightValueLessThanOrEqualTo":0,"FreightValueNotEqualTo":0,"FreightValueBetween":[0],"FreightValueIn":[0],"FreightType":0,"FreightTypeGreaterThanOrEqualTo":0,"FreightTypeGreaterThan":0,"FreightTypeLessThan":0,"FreightTypeLessThanOrEqualTo":0,"FreightTypeNotEqualTo":0,"FreightTypeBetween":[0],"FreightTypeIn":[0],"FreightFactor":false,"IsDefault":false,"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":[{"FreightInID":"String","Description":"String","FreightValue":0,"FreightType":0,"FreightFactor":false}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}