ApexERPHost

<back to all web services

GetContract

Requires Authentication
The following routes are available for this service:
GET/Accounting/Contracts/{ContractID}
GetContract Parameters:
NameParameterData TypeRequiredDescription
ContractIDpathintNo
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/{ContractID} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	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
}