ApexERPHost

<back to all web services

GetAccountingTurnover

Requires Authentication
The following routes are available for this service:
GET/Accounting/Turnover
GetAccountingTurnover Parameters:
NameParameterData TypeRequiredDescription
StartDatequeryDateTimeNo
EndDatequeryDateTimeNo
AccountLevelqueryint?No
ShowAccountsWithNoTurnoverqueryboolNo
AccFilterquerystringNo
GetAccountingTurnoverResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<AccountTurnover>No
AccountTurnover Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
ParentAccformstringNo
ActPasformintNo
NameformstringNo
StartBalanceformAccountAmountsNo
DBformAccountAmountsNo
CRformAccountAmountsNo
EndBalanceformAccountAmountsNo
LevelformintNo
AccDetailsformAccountDetailsNo
AccountAmounts Parameters:
NameParameterData TypeRequiredDescription
VgformdecimalNo
VuformdecimalNo
VcformdecimalNo
AccountDetails Parameters:
NameParameterData TypeRequiredDescription
AddressformstringNo
JurAddressformstringNo
SNformstringNo
OwnerNameformstringNo
DataTypeformintNo
VatTypeformint?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/Turnover 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
		}
	},
	Result: 
	[
		{
			Acc: String,
			ParentAcc: String,
			ActPas: 0,
			Name: String,
			StartBalance: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			DB: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			CR: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			EndBalance: 
			{
				Vg: 0,
				Vu: 0,
				Vc: 0
			},
			Level: 0,
			AccDetails: 
			{
				Address: String,
				JurAddress: String,
				SN: String,
				OwnerName: String,
				DataType: 0,
				VatType: 0
			}
		}
	]
}