PDF Export

getCurrencyExchangeRate

BETA Returns the exchange rate of the given currency.

  • Object: /net/dsb/commons/CurrencyExchange
  • Method: getCurrencyExchangeRate
  • Fuba: /DSB/_ISM_E_CHECK_CCARD
  • Version: 1.0.0

Parameter

NameType / max. lengthmandatory?Description
validity-date AN / 10 M Date of the exchange rate
from-currency-code AN / 3 M from currency
to-currency-code AN / 3 M to currency

Example Request

<message version="1.0" system="AVS/3">
  <header>
     <client>9999</client>
     <avs3-sales-organization>9999</avs3-sales-organization>
     <avs3-service-provider>AVS</avs3-service-provider>
  </header>
  <body>
     <currency-exchange>
        <validity-date>2006-01-15</validity-date>
        <from-currency-code>EUR</from-currency-code>
        <to-currency-code>GBP</to-currency-code>
     </currency-exchange>
  </body> 
</message> 

Example Response

<message version="1.0" system=" AVS/3">
  <header>
     <client>9999</client>
     <avs3-sales-organization>9999</avs3-sales-organization>
     <avs3-service-provider>AVS</avs3-service-provider>
  </header>
  <body>
     <currency-exchange-result>
        <exchange-rate>0.71046</exchange-rate>
        <exchange-from-currency-factor>1</exchange-from-currency-factor>
        <exchange-to-currency-factor>1</exchange-to-currency-factor>
     </currency-exchange-result>  
  </body>
</message>  

Structure <currency-exchange> response

<currency-exchange>
   <exchange-rate></exchange-rate>
   <exchange-from-currency-factor></exchange-from-currency-factor>
   <exchange-to-currency-factor></exchange-to-currency-factor>
</currency-exchange> 

Elementdefinition

Field Type Description
exchange-rate AN exchange-rate
exchange-from-currency-factor AN conversation factor from
exchange-to-currency-factor AN conversation factor to
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information