ApexERPHost

<back to all web services

GetRate

Requires Authentication
The following routes are available for this service:
GET/Accounting/Currency/Rates/{DDate}
GET/Accounting/Currency/{CurID}/Rates/{DDate}
GetRate Parameters:
NameParameterData TypeRequiredDescription
CurIDpathstringNo
DDatepathDateTimeNo
GetRateResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
Rateformdecimal?No

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/Currency/Rates/{DDate} 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"}},"Rate":0}