Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

 

Supported methods

GET /ExchangeRate

 

Get a list of ExchangeRate objects. Should be filtered to avoid fetching huge amounts of data.

 

Search parameters: See http://confluence.dataloy.com/display/VMSINT/Filtering

 

 


 

GET /ExchangeRate/{key}

 

Get a single ExchangeRate object

 

 

 

POST /ExchangeRate

Insert a new ExchangeRate object

 

Required fields:  All

Note: If the system base currency is different from the conversion base currency, then the first exchange rate you POST to Dataloy has to be the rate between the conversion base currency and the system base currency. Example: System base currency is USD, but the conversion rates are gotten from the central bank of Norway, then the exchange rate between NOK and USD needs to be posted first.

 

New ExchangeRate example

 {
    "currency": "EUR",
    "fromCurrency": "NOK",
    "exchangeRate": 0.14042,
    "exchangeRateDate": "2010-02-28 00:00:00"
}


 

  • No labels