JiwaAPI

<back to all web services

GL_TranAllocsQuery

Requires Authentication
GL_TranAllocsQuery Parameters:
NameParameterData TypeRequiredDescription
GLTranAllocsIDquerystringNo
GLTranAllocsIDStartsWithquerystringNo
GLTranAllocsIDEndsWithquerystringNo
GLTranAllocsIDContainsquerystringNo
GLTranAllocsIDLikequerystringNo
GLTranAllocsIDBetweenquerystring[]No
GLTranAllocsIDInquerystring[]No
GLDebitTransIDquerystringNo
GLDebitTransIDStartsWithquerystringNo
GLDebitTransIDEndsWithquerystringNo
GLDebitTransIDContainsquerystringNo
GLDebitTransIDLikequerystringNo
GLDebitTransIDBetweenquerystring[]No
GLDebitTransIDInquerystring[]No
GLCreditTransIDquerystringNo
GLCreditTransIDStartsWithquerystringNo
GLCreditTransIDEndsWithquerystringNo
GLCreditTransIDContainsquerystringNo
GLCreditTransIDLikequerystringNo
GLCreditTransIDBetweenquerystring[]No
GLCreditTransIDInquerystring[]No
Amountquerydecimal?No
AmountGreaterThanOrEqualToquerydecimal?No
AmountGreaterThanquerydecimal?No
AmountLessThanquerydecimal?No
AmountLessThanOrEqualToquerydecimal?No
AmountNotEqualToquerydecimal?No
AmountBetweenqueryNullable<Decimal>[]No
AmountInqueryNullable<Decimal>[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
GL_TranAllocs Parameters:
NameParameterData TypeRequiredDescription
GLTranAllocsIDformstringNo
GLDebitTransIDformstringNo
GLCreditTransIDformstringNo
Amountformdecimal?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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /csv/reply/GL_TranAllocsQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"GLTranAllocsID":"String","GLTranAllocsIDStartsWith":"String","GLTranAllocsIDEndsWith":"String","GLTranAllocsIDContains":"String","GLTranAllocsIDLike":"String","GLTranAllocsIDBetween":["String"],"GLTranAllocsIDIn":["String"],"GLDebitTransID":"String","GLDebitTransIDStartsWith":"String","GLDebitTransIDEndsWith":"String","GLDebitTransIDContains":"String","GLDebitTransIDLike":"String","GLDebitTransIDBetween":["String"],"GLDebitTransIDIn":["String"],"GLCreditTransID":"String","GLCreditTransIDStartsWith":"String","GLCreditTransIDEndsWith":"String","GLCreditTransIDContains":"String","GLCreditTransIDLike":"String","GLCreditTransIDBetween":["String"],"GLCreditTransIDIn":["String"],"Amount":0,"AmountGreaterThanOrEqualTo":0,"AmountGreaterThan":0,"AmountLessThan":0,"AmountLessThanOrEqualTo":0,"AmountNotEqualTo":0,"AmountBetween":[0],"AmountIn":[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":[{"GLTranAllocsID":"String","GLDebitTransID":"String","GLCreditTransID":"String","Amount":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}