Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CostsAmountsID | query | string | No | |
CostsAmountsIDStartsWith | query | string | No | |
CostsAmountsIDEndsWith | query | string | No | |
CostsAmountsIDContains | query | string | No | |
CostsAmountsIDLike | query | string | No | |
CostsAmountsIDBetween | query | string[] | No | |
CostsAmountsIDIn | query | string[] | No | |
ShipmentLineID | query | string | No | |
ShipmentLineIDStartsWith | query | string | No | |
ShipmentLineIDEndsWith | query | string | No | |
ShipmentLineIDContains | query | string | No | |
ShipmentLineIDLike | query | string | No | |
ShipmentLineIDBetween | query | string[] | No | |
ShipmentLineIDIn | query | string[] | No | |
CostsID | query | string | No | |
CostsIDStartsWith | query | string | No | |
CostsIDEndsWith | query | string | No | |
CostsIDContains | query | string | No | |
CostsIDLike | query | string | No | |
CostsIDBetween | query | string[] | No | |
CostsIDIn | query | string[] | No | |
Amount | query | decimal? | No | |
AmountGreaterThanOrEqualTo | query | decimal? | No | |
AmountGreaterThan | query | decimal? | No | |
AmountLessThan | query | decimal? | No | |
AmountLessThanOrEqualTo | query | decimal? | No | |
AmountNotEqualTo | query | decimal? | No | |
AmountBetween | query | Nullable<Decimal>[] | No | |
AmountIn | query | Nullable<Decimal>[] | No | |
IncludeFlag | query | bool? | No | |
RowHash | query | byte[] | 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 |
---|---|---|---|---|
CostsAmountsID | form | string | No | |
ShipmentLineID | form | string | No | |
CostsID | form | string | No | |
Amount | form | decimal? | No | |
IncludeFlag | form | bool | No | |
RowHash | form | byte[] | 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/SH_ApportionedCostsAmountsQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"CostsAmountsID":"String","CostsAmountsIDStartsWith":"String","CostsAmountsIDEndsWith":"String","CostsAmountsIDContains":"String","CostsAmountsIDLike":"String","CostsAmountsIDBetween":["String"],"CostsAmountsIDIn":["String"],"ShipmentLineID":"String","ShipmentLineIDStartsWith":"String","ShipmentLineIDEndsWith":"String","ShipmentLineIDContains":"String","ShipmentLineIDLike":"String","ShipmentLineIDBetween":["String"],"ShipmentLineIDIn":["String"],"CostsID":"String","CostsIDStartsWith":"String","CostsIDEndsWith":"String","CostsIDContains":"String","CostsIDLike":"String","CostsIDBetween":["String"],"CostsIDIn":["String"],"Amount":0,"AmountGreaterThanOrEqualTo":0,"AmountGreaterThan":0,"AmountLessThan":0,"AmountLessThanOrEqualTo":0,"AmountNotEqualTo":0,"AmountBetween":[0],"AmountIn":[0],"IncludeFlag":false,"RowHash":"AA==","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":[{"CostsAmountsID":"String","ShipmentLineID":"String","CostsID":"String","Amount":0,"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"}}}