Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GLDistID | query | string | No | |
GLDistIDStartsWith | query | string | No | |
GLDistIDEndsWith | query | string | No | |
GLDistIDContains | query | string | No | |
GLDistIDLike | query | string | No | |
GLDistIDBetween | query | string[] | No | |
GLDistIDIn | query | string[] | No | |
GLLedgerID | query | string | No | |
GLLedgerIDStartsWith | query | string | No | |
GLLedgerIDEndsWith | query | string | No | |
GLLedgerIDContains | query | string | No | |
GLLedgerIDLike | query | string | No | |
GLLedgerIDBetween | query | string[] | No | |
GLLedgerIDIn | query | string[] | No | |
GLDistLedgerID | query | string | No | |
GLDistLedgerIDStartsWith | query | string | No | |
GLDistLedgerIDEndsWith | query | string | No | |
GLDistLedgerIDContains | query | string | No | |
GLDistLedgerIDLike | query | string | No | |
GLDistLedgerIDBetween | query | string[] | No | |
GLDistLedgerIDIn | query | string[] | No | |
DistAmount | query | decimal? | No | |
DistAmountGreaterThanOrEqualTo | query | decimal? | No | |
DistAmountGreaterThan | query | decimal? | No | |
DistAmountLessThan | query | decimal? | No | |
DistAmountLessThanOrEqualTo | query | decimal? | No | |
DistAmountNotEqualTo | query | decimal? | No | |
DistAmountBetween | query | Nullable<Decimal>[] | No | |
DistAmountIn | query | Nullable<Decimal>[] | No | |
LineNum | query | int? | No | |
LineNumGreaterThanOrEqualTo | query | int? | No | |
LineNumGreaterThan | query | int? | No | |
LineNumLessThan | query | int? | No | |
LineNumLessThanOrEqualTo | query | int? | No | |
LineNumNotEqualTo | query | int? | No | |
LineNumBetween | query | Nullable<Int32>[] | No | |
LineNumIn | query | Nullable<Int32>[] | 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 |
---|---|---|---|---|
GLDistID | form | string | No | |
GLLedgerID | form | string | No | |
GLDistLedgerID | form | string | No | |
DistAmount | form | decimal? | No | |
LineNum | form | int? | 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/GL_DistributionQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"GLDistID":"String","GLDistIDStartsWith":"String","GLDistIDEndsWith":"String","GLDistIDContains":"String","GLDistIDLike":"String","GLDistIDBetween":["String"],"GLDistIDIn":["String"],"GLLedgerID":"String","GLLedgerIDStartsWith":"String","GLLedgerIDEndsWith":"String","GLLedgerIDContains":"String","GLLedgerIDLike":"String","GLLedgerIDBetween":["String"],"GLLedgerIDIn":["String"],"GLDistLedgerID":"String","GLDistLedgerIDStartsWith":"String","GLDistLedgerIDEndsWith":"String","GLDistLedgerIDContains":"String","GLDistLedgerIDLike":"String","GLDistLedgerIDBetween":["String"],"GLDistLedgerIDIn":["String"],"DistAmount":0,"DistAmountGreaterThanOrEqualTo":0,"DistAmountGreaterThan":0,"DistAmountLessThan":0,"DistAmountLessThanOrEqualTo":0,"DistAmountNotEqualTo":0,"DistAmountBetween":[0],"DistAmountIn":[0],"LineNum":0,"LineNumGreaterThanOrEqualTo":0,"LineNumGreaterThan":0,"LineNumLessThan":0,"LineNumLessThanOrEqualTo":0,"LineNumNotEqualTo":0,"LineNumBetween":[0],"LineNumIn":[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":[{"GLDistID":"String","GLLedgerID":"String","GLDistLedgerID":"String","DistAmount":0,"LineNum":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}