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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ContractID":0,"Account":"String","Number":"String","Date1":"\/Date(-62135596800000-0000)\/","Date2":"\/Date(-62135596800000-0000)\/","Date3":"\/Date(-62135596800000-0000)\/","Date4":"\/Date(-62135596800000-0000)\/","Date5":"\/Date(-62135596800000-0000)\/","Status":0,"CntVG":0,"ConsigDays":0,"DiscP":0,"DiscG":0,"Overdraft":0,"DiscPImport":0,"IsZeroVat":false,"PriceMarkUP":0,"MaxDebt":0,"Name":"String"}