ApexERPHost

<back to all web services

GetAccountTransactions

Requires Authentication
The following routes are available for this service:
GET/Accounting/Transactions
GetAccountTransactions Parameters:
NameParameterData TypeRequiredDescription
AccquerystringNo
D1queryDateTimeNo
D2queryDateTimeNo
GetAccountTransactionsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
StartBalanceformAccountAmountsNo
EndBalanceformAccountAmountsNo
TransactionsformList<AccountTransaction>No
AccountAmounts Parameters:
NameParameterData TypeRequiredDescription
VgformdecimalNo
VuformdecimalNo
VcformdecimalNo
AccountTransaction Parameters:
NameParameterData TypeRequiredDescription
NIDformintNo
BookIDformstringNo
DocIDformstringNo
ActPasformintNo
OpDetIdformstringNo
CurrencyCodeformstringNo
DDateformDateTime?No
CorrespondAccformAccountInfoNo
DBAmountformAccountAmountsNo
CRAmountformAccountAmountsNo
ContentsformstringNo
RateformdecimalNo
RateCformdecimalNo
NumberInformstringNo
NumberOutformstringNo
BookNoteformstringNo
RecStatusformbyteNo
BlockingformboolNo
CUserformstringNo
CRTimeformDateTimeNo
TransactionBalanceformAccountAmountsNo
IsCrformboolNo
AccountInfo Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
NameformstringNo
SNformstringNo
WarehouseAddressformstringNo
AddressformstringNo
PhoneformstringNo
AccWithNameformstringNo
VatTypeformintNo
BranchIdformint?No

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/Transactions HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	StartBalance: 
	{
		Vg: 0,
		Vu: 0,
		Vc: 0
	},
	EndBalance: 
	{
		Vg: 0,
		Vu: 0,
		Vc: 0
	},
	Transactions: 
	[
		{
			NID: 0,
			BookID: String,
			DocID: String,
			ActPas: 0,
			OpDetId: String,
			CurrencyCode: String,
			DDate: 0001-01-01,
			CorrespondAcc: 
			{
				Acc: String,
				Name: String,
				SN: String,
				WarehouseAddress: String,
				Address: String,
				Phone: String,
				AccWithName: String - String,
				VatType: 0,
				BranchId: 0
			},
			DBAmount: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			CRAmount: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			Contents: String,
			Rate: 0,
			RateC: 0,
			NumberIn: String,
			NumberOut: String,
			BookNote: String,
			RecStatus: 0,
			Blocking: False,
			CUser: String,
			CRTime: 0001-01-01,
			TransactionBalance: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			IsCr: False
		}
	]
}