Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Short Description

Chapter Contents:

Table of Contents
maxLevel4
minLevel4

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

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 yesYes  

New ExchangeRate

...

Example

 

Note
This example has been updated for API version

Updated for API version 2.0.0

using date format

using the new required date format yyyy-dd-MMThh:mi:ss

, versions prior to 2.0.0 has the following date format:

to conform ISO 8601, (prior version has date format: yyyy-dd-MM

hh:mi:ss)


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

 

Top
Back