...
Short Description
Chapter Contents:
Table of Contents |
---|
...
|
Long Description
Supported Methods
GET /ExchangeRate
Get a list of ExchangeRate objects. Should be filtered Filter to avoid fetching huge amounts of data .
Search parameters: See http://confluence.dataloy.com/display/VMSINT/Filtering
(see Filtering for search parameters).
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 differs from the conversion base currency, then the first initial exchange rate you POST that is Posted to Dataloy has to VMS must 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.
...
System Base Currency: U.S. Dollar (USD) but the Conversion Rates are from the Central Bank of Norway (Norwegian Krone (NOK)). The Exchange Rate between USD and the NOK must be posted first.
- Unique fields: businessPartner: businessPartnerCode, businessPartnerSort
- Linking bank accounts: Can be achieved in a single call (see below), or in separate calls. Use unlink call to unlink bank accounts.
Properties
Property | Type | Length | Mandatory | Description | Comments |
---|---|---|---|---|---|
getBudgetVersion | /BudgetVersion | ||||
currency | /Currency | ||||
exchangeRate | Float | ||||
exchangeRateDate | Date | Yes |
New ExchangeRate Example
Note |
---|
Updated for API version 2.0.0 using the new required date format yyyy-dd-MMThh:mi:ss to conform ISO 8601, (prior version has date format: yyyy-dd-MM hh:mi:ss) |
Code Block | ||
---|---|---|
| ||
{ "currency": "EUR", "fromCurrency": "NOK", "exchangeRate": 0.14042, "exchangeRateDate": "2010-02-28 0028T00:00:00" } |
Related Content
Expand | ||
---|---|---|
| ||
|