ApexERPHost

<back to all web services

GetAvailableAccountsWithAccRequisite

Requires Authentication
The following routes are available for this service:
GET/Accounting/AccCard/AvailableAccounts
GET/Accounting/AccCard/AvailableAccounts/{Acc}
GET/Accounting/AccCard/{AccCard}/AvailableAccounts
GetAvailableAccountsWithAccRequisite Parameters:
NameParameterData TypeRequiredDescription
AccCardpathstringNo
GetAvailableAccountsWithAccRequisiteResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<Account>No
Account Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
PlaceIdformint?No
AccountsformstringNo
Lapformbool?No
AccAltformstringNo
LQuantitativeformboolNo
DateStartformDateTimeNo
DateEndformDateTime?No
LOffformbool?No
ReCalcformbool?No
NameformstringNo
NameEnformstringNo
ClientIDformstringNo
CardformstringNo
CurrencyIDformstringNo
Spendformbool?No
unidformGuidNo
prsIDformint?No
DetailsformAccountDetailsNo
CurrencyformCurrencyNo
AccountDetails Parameters:
NameParameterData TypeRequiredDescription
AddressformstringNo
JurAddressformstringNo
SNformstringNo
OwnerNameformstringNo
DataTypeformintNo
VatTypeformint?No
Currency Parameters:
NameParameterData TypeRequiredDescription
CurrencyIDformstringNo
NameformstringNo
NameEnformstringNo
CodeformstringNo
CurTypeformintNo
ReCalcformboolNo
LastDateformDateTimeNo
RateformdecimalNo
SpendformboolNo
CurrencyCntformintNo
Currency_NformstringNo
LDefaultformboolNo

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/AccCard/AvailableAccounts 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,
			PlaceId: 0,
			Accounts: String,
			Lap: False,
			AccAlt: String,
			LQuantitative: False,
			DateStart: 0001-01-01,
			DateEnd: 0001-01-01,
			LOff: False,
			ReCalc: False,
			Name: String,
			NameEn: String,
			ClientID: String,
			Card: String,
			CurrencyID: String,
			Spend: False,
			unid: 00000000000000000000000000000000,
			prsID: 0,
			Details: 
			{
				Address: String,
				JurAddress: String,
				SN: String,
				OwnerName: String,
				DataType: 0,
				VatType: 0
			},
			Currency: 
			{
				CurrencyID: String,
				Name: String,
				NameEn: String,
				Code: String,
				CurType: 0,
				ReCalc: False,
				LastDate: 0001-01-01,
				Rate: 0,
				Spend: False,
				CurrencyCnt: 0,
				Currency_N: String,
				LDefault: False
			}
		}
	]
}