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

HTTP + X-PROTOBUF

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: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
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":"\/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"}]}