ApexERPHost

<back to all web services

BooksQuery

Requires Authentication
The following routes are available for this service:
GET/Accounting/BooksQuery
BooksQuery Parameters:
NameParameterData TypeRequiredDescription
DateBetweenqueryDateTime[]No
OperIdInquerystring[]No
DBContainsquerystringNo
CRContainsquerystringNo
NumberInContainsquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
BookView Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
DocIDformstringNo
OpDetIdformstringNo
CurrencyIdformstringNo
DateformDateTimeNo
DBformstringNo
CRformstringNo
Amountformdecimal?No
vgformdecimal?No
vuformdecimal?No
vcformdecimal?No
contentsformstringNo
rateformdecimalNo
numberinformstringNo
numberoutformstringNo
recstatusformbyte?No
blockingformbool?No
cuserformstringNo
crtimeformDateTime?No
OperIdformstringNo
carddformstringNo
cardcformstringNo
booknoteformstringNo
unidformGuidNo
codeformstringNo
cntidformint?No
dpayformDateTime?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.

GET /Accounting/BooksQuery HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"Id":"String","DocID":"String","OpDetId":"String","CurrencyId":"String","Date":"\/Date(-62135596800000-0000)\/","DB":"String","CR":"String","Amount":0,"vg":0,"vu":0,"vc":0,"contents":"String","rate":0,"numberin":"String","numberout":"String","recstatus":0,"blocking":false,"cuser":"String","crtime":"\/Date(-62135596800000-0000)\/","OperId":"String","cardd":"String","cardc":"String","booknote":"String","unid":"00000000000000000000000000000000","code":"String","cntid":0,"dpay":"\/Date(-62135596800000-0000)\/"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}