ApexERPHost

<back to all web services

GetActiveContracts

Requires Authentication
The following routes are available for this service:
GET/Accounting/Contracts/{Account}/Active/
GetActiveContracts Parameters:
NameParameterData TypeRequiredDescription
AccountpathstringNo
GetActiveContractsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<Contract>No
Contract Parameters:
NameParameterData TypeRequiredDescription
ContractIDformintNo
AccountformstringNo
NumberformstringNo
Date1formDateTimeNo
Date2formDateTime?No
Date3formDateTime?No
Date4formDateTime?No
Date5formDateTime?No
StatusformbyteNo
CntVGformdecimal?No
ConsigDaysformintNo
DiscPformdecimal?No
DiscGformdecimal?No
Overdraftformdecimal?No
DiscPImportformdecimal?No
IsZeroVatformbool?No
PriceMarkUPformdecimal?No
MaxDebtformdecimal?No
NameformstringNo

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/Contracts/{Account}/Active/ 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: 
	[
		{
			ContractID: 0,
			Account: String,
			Number: String,
			Date1: 0001-01-01,
			Date2: 0001-01-01,
			Date3: 0001-01-01,
			Date4: 0001-01-01,
			Date5: 0001-01-01,
			Status: 0,
			CntVG: 0,
			ConsigDays: 0,
			DiscP: 0,
			DiscG: 0,
			Overdraft: 0,
			DiscPImport: 0,
			IsZeroVat: False,
			PriceMarkUP: 0,
			MaxDebt: 0,
			Name: String
		}
	]
}