Exchange Rates

Returns a selection of exchange rates.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpenselines.json
GeneralYesParameters described in overviewuser=user&password=userStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=exchangerates
ActiveNoActive statusactive=yes

Valid values for active are 'yes', 'Y', '1' and 'true' for positive, 'no', 'N', '0' and 'false' for negative.

Example request:

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

Example response:

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