JiwaAPI

<back to all web services

GL_TranCodesQuery

Requires Authentication
GL_TranCodesQuery Parameters:
NameParameterData TypeRequiredDescription
GLTransCodeIDquerystringNo
GLTransCodeIDStartsWithquerystringNo
GLTransCodeIDEndsWithquerystringNo
GLTransCodeIDContainsquerystringNo
GLTransCodeIDLikequerystringNo
GLTransCodeIDBetweenquerystring[]No
GLTransCodeIDInquerystring[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryDateTime[]No
LastSavedDateTimeInqueryDateTime[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
TransNoqueryint?No
TransNoGreaterThanOrEqualToqueryint?No
TransNoGreaterThanqueryint?No
TransNoLessThanqueryint?No
TransNoLessThanOrEqualToqueryint?No
TransNoNotEqualToqueryint?No
TransNoBetweenqueryint[]No
TransNoInqueryint[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
GL_TranCodes Parameters:
NameParameterData TypeRequiredDescription
GLTransCodeIDformstringNo
LastSavedDateTimeformDateTimeNo
DescriptionformstringNo
TransNoformintNo
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_TranCodesQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"GLTransCodeID":"String","GLTransCodeIDStartsWith":"String","GLTransCodeIDEndsWith":"String","GLTransCodeIDContains":"String","GLTransCodeIDLike":"String","GLTransCodeIDBetween":["String"],"GLTransCodeIDIn":["String"],"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeNotEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeBetween":["0001-01-01T00:00:00.0000000"],"LastSavedDateTimeIn":["0001-01-01T00:00:00.0000000"],"Description":"String","DescriptionStartsWith":"String","DescriptionEndsWith":"String","DescriptionContains":"String","DescriptionLike":"String","DescriptionBetween":["String"],"DescriptionIn":["String"],"TransNo":0,"TransNoGreaterThanOrEqualTo":0,"TransNoGreaterThan":0,"TransNoLessThan":0,"TransNoLessThanOrEqualTo":0,"TransNoNotEqualTo":0,"TransNoBetween":[0],"TransNoIn":[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":[{"GLTransCodeID":"String","Description":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}