Exchange rates/currency codes

Exchange rates/Currency Codes

Returns a selection of currency records

ParameterDescriptionExamples
APIThe API areaexpenselines.json
ActionCurrency Codes&action=currencycodes
ActionExchange Rates&action=exchangerates
<General>Parameters described in overviewuser=user&password=user&version=3.3
<input mandatory>company:Company ID&company=1
<input optional>active:Active Status&active=on/Y/true/1/yes

Example requests:
Request to list exchange rates/currency codes

http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.3&action=exchangerates&company=1
http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.3&action=currencycodes&company=1

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 5,
  "totalpages": 5,
  "responsemessage": "",
  "pagerows": 1,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "currencyUuid": "C69AD1001258446E8ED1F77C661B5B95",
      "currencyTimestampModified": 1519226996,
      "currencyRecordVersionNumber": 3,
      "currencyCurrencyName": "Dirhams",
      "currencyCode": "1/AED",
      "currencySymbol": "AED",
      "currencyExchangeRate": 4.74,
      "currencyPurchase": 4.74
    }
  ]
}