JiwaAPI

<back to all web services

GL_LedgerQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/GL_LedgerRetrieves a list of general ledger accounts.
GL_LedgerQuery Parameters:
NameParameterData TypeRequiredDescription
GLLedgerIDquerystringNo
GLLedgerIDStartsWithquerystringNo
GLLedgerIDEndsWithquerystringNo
GLLedgerIDContainsquerystringNo
GLLedgerIDLikequerystringNo
GLLedgerIDBetweenquerystring[]No
GLLedgerIDInquerystring[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryNullable<DateTime>[]No
LastSavedDateTimeInqueryNullable<DateTime>[]No
GLCategoryIDquerystringNo
GLCategoryIDStartsWithquerystringNo
GLCategoryIDEndsWithquerystringNo
GLCategoryIDContainsquerystringNo
GLCategoryIDLikequerystringNo
GLCategoryIDBetweenquerystring[]No
GLCategoryIDInquerystring[]No
AccountNoquerystringNo
AccountNoStartsWithquerystringNo
AccountNoEndsWithquerystringNo
AccountNoContainsquerystringNo
AccountNoLikequerystringNo
AccountNoBetweenquerystring[]No
AccountNoInquerystring[]No
Seg1querystringNo
Seg1StartsWithquerystringNo
Seg1EndsWithquerystringNo
Seg1ContainsquerystringNo
Seg1LikequerystringNo
Seg1Betweenquerystring[]No
Seg1Inquerystring[]No
Seg2querystringNo
Seg2StartsWithquerystringNo
Seg2EndsWithquerystringNo
Seg2ContainsquerystringNo
Seg2LikequerystringNo
Seg2Betweenquerystring[]No
Seg2Inquerystring[]No
Seg3querystringNo
Seg3StartsWithquerystringNo
Seg3EndsWithquerystringNo
Seg3ContainsquerystringNo
Seg3LikequerystringNo
Seg3Betweenquerystring[]No
Seg3Inquerystring[]No
Seg4querystringNo
Seg4StartsWithquerystringNo
Seg4EndsWithquerystringNo
Seg4ContainsquerystringNo
Seg4LikequerystringNo
Seg4Betweenquerystring[]No
Seg4Inquerystring[]No
Seg5querystringNo
Seg5StartsWithquerystringNo
Seg5EndsWithquerystringNo
Seg5ContainsquerystringNo
Seg5LikequerystringNo
Seg5Betweenquerystring[]No
Seg5Inquerystring[]No
Seg6querystringNo
Seg6StartsWithquerystringNo
Seg6EndsWithquerystringNo
Seg6ContainsquerystringNo
Seg6LikequerystringNo
Seg6Betweenquerystring[]No
Seg6Inquerystring[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
LastYearOpenquerydecimal?No
LastYearOpenGreaterThanOrEqualToquerydecimal?No
LastYearOpenGreaterThanquerydecimal?No
LastYearOpenLessThanquerydecimal?No
LastYearOpenLessThanOrEqualToquerydecimal?No
LastYearOpenNotEqualToquerydecimal?No
LastYearOpenBetweenqueryNullable<Decimal>[]No
LastYearOpenInqueryNullable<Decimal>[]No
CurrYearOpenquerydecimal?No
CurrYearOpenGreaterThanOrEqualToquerydecimal?No
CurrYearOpenGreaterThanquerydecimal?No
CurrYearOpenLessThanquerydecimal?No
CurrYearOpenLessThanOrEqualToquerydecimal?No
CurrYearOpenNotEqualToquerydecimal?No
CurrYearOpenBetweenqueryNullable<Decimal>[]No
CurrYearOpenInqueryNullable<Decimal>[]No
CurrBalquerydecimal?No
CurrBalGreaterThanOrEqualToquerydecimal?No
CurrBalGreaterThanquerydecimal?No
CurrBalLessThanquerydecimal?No
CurrBalLessThanOrEqualToquerydecimal?No
CurrBalNotEqualToquerydecimal?No
CurrBalBetweenqueryNullable<Decimal>[]No
CurrBalInqueryNullable<Decimal>[]No
ExpSignquerybyte?No
ExpSignGreaterThanOrEqualToquerybyte?No
ExpSignGreaterThanquerybyte?No
ExpSignLessThanquerybyte?No
ExpSignLessThanOrEqualToquerybyte?No
ExpSignNotEqualToquerybyte?No
ExpSignBetweenqueryNullable<Byte>[]No
ExpSignInqueryNullable<Byte>[]No
AccClassqueryshort?No
AccClassGreaterThanOrEqualToqueryshort?No
AccClassGreaterThanqueryshort?No
AccClassLessThanqueryshort?No
AccClassLessThanOrEqualToqueryshort?No
AccClassNotEqualToqueryshort?No
AccClassBetweenqueryshort[]No
AccClassInqueryshort[]No
DistributionAccquerybool?No
ShortCutquerystringNo
ShortCutStartsWithquerystringNo
ShortCutEndsWithquerystringNo
ShortCutContainsquerystringNo
ShortCutLikequerystringNo
ShortCutBetweenquerystring[]No
ShortCutInquerystring[]No
PostingAccqueryshort?No
PostingAccGreaterThanOrEqualToqueryshort?No
PostingAccGreaterThanqueryshort?No
PostingAccLessThanqueryshort?No
PostingAccLessThanOrEqualToqueryshort?No
PostingAccNotEqualToqueryshort?No
PostingAccBetweenqueryshort[]No
PostingAccInqueryshort[]No
ParentAccNoquerystringNo
ParentAccNoStartsWithquerystringNo
ParentAccNoEndsWithquerystringNo
ParentAccNoContainsquerystringNo
ParentAccNoLikequerystringNo
ParentAccNoBetweenquerystring[]No
ParentAccNoInquerystring[]No
UseTransCode1querybool?No
UseTransCode2querybool?No
UseTransCode3querybool?No
UseStaffCodequerybool?No
ClearingAccountIDquerystringNo
ClearingAccountIDStartsWithquerystringNo
ClearingAccountIDEndsWithquerystringNo
ClearingAccountIDContainsquerystringNo
ClearingAccountIDLikequerystringNo
ClearingAccountIDBetweenquerystring[]No
ClearingAccountIDInquerystring[]No
DetailsquerystringNo
DetailsStartsWithquerystringNo
DetailsEndsWithquerystringNo
DetailsContainsquerystringNo
DetailsLikequerystringNo
DetailsBetweenquerystring[]No
DetailsInquerystring[]No
IsEnabledquerybool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
GL_Ledger Parameters:
NameParameterData TypeRequiredDescription
GLLedgerIDformstringNo
LastSavedDateTimeformDateTime?No
GLCategoryIDformstringNo
AccountNoformstringNo
Seg1formstringNo
Seg2formstringNo
Seg3formstringNo
Seg4formstringNo
Seg5formstringNo
Seg6formstringNo
DescriptionformstringNo
LastYearOpenformdecimal?No
CurrYearOpenformdecimal?No
CurrBalformdecimal?No
ExpSignformbyte?No
AccClassformshortNo
DistributionAccformbool?No
ShortCutformstringNo
PostingAccformshortNo
ParentAccNoformstringNo
UseTransCode1formbool?No
UseTransCode2formbool?No
UseTransCode3formbool?No
UseStaffCodeformbool?No
ClearingAccountIDformstringNo
DetailsformstringNo
IsEnabledformbool?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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /Queries/GL_Ledger HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Results":[{"GLLedgerID":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","GLCategoryID":"String","AccountNo":"String","Seg1":"String","Seg2":"String","Seg3":"String","Seg4":"String","Seg5":"String","Seg6":"String","Description":"String","LastYearOpen":0,"CurrYearOpen":0,"CurrBal":0,"ExpSign":0,"DistributionAcc":false,"ShortCut":"String","ParentAccNo":"String","UseTransCode1":false,"UseTransCode2":false,"UseTransCode3":false,"UseStaffCode":false,"ClearingAccountID":"String","Details":"String","IsEnabled":false}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}