Solved

Automatic Update of Currency Rates

  • 27 December 2022
  • 2 replies
  • 538 views

Userlevel 3
Badge +6

Hi Colleagues,

In 22R2 there is a functionality for automatic update of currency rates.

I was able to set up the workflow by using the https://currencyapi.com and API Key provided by this service.

However I need to test if this functionality will be able to fetch the currency rates from polish Bank Portal: http://api.nbp.pl/en.html and I can not see any API Key there.

Do you know if it is possible to set up “finCurrencyTypeUpdate” workflow without the API Key?

 

Kind regards,

Aleksandra

icon

Best answer by Rohit 18 January 2023, 16:46

View original

2 replies

Userlevel 2
Badge +7

Hi @Aleksandra W.

I think the webservice http://api.nbp.pl/en.html doesn’t need any API key. It is a public API.

So, I used this webservice -

URL: https://api.nbp.pl/api/exchangerates/tables/a
API Key: I entered any random key since the webservice will ignore this query parameter

I tried to update the currency rates, it didn’t show any error but it didn’t update also.

Possible reason -

The webservice returns an XML and in a different structure than the currencyapi.com -

api.currencyapi.com
Polish bank portal API

 

Thanks and Regards,
Rohit.

Userlevel 3
Badge +8

were you able to successfully use this https://api.nbp.pl/api/exchangerates/tables/a ? 

I tried same and getting this error

“INE-09024 Unable to find resource at path http://api.nbp.pl/api/exchangerates/tables/a?

 

 

Reply