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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Offset: 0,
	Total: 0,
	Results: 
	[
		{
			Id: String,
			DocID: String,
			OpDetId: String,
			CurrencyId: String,
			Date: 0001-01-01,
			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: 0001-01-01,
			OperId: String,
			cardd: String,
			cardc: String,
			booknote: String,
			unid: 00000000000000000000000000000000,
			code: String,
			cntid: 0,
			dpay: 0001-01-01
		}
	],
	Meta: 
	{
		String: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}