Skip to main content
Solved

Automatic Update of Currency Rates

  • Dec 27, 2022 12:09 PM UTC
  • 2 replies
  • 1051 views

Aleksandra W.
Sidekick (Employee)
Forum|alt.badge.img+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

Best answer by Rohit

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.

View original

2 replies

Forum|alt.badge.img+7
  • Sidekick (Partner)
  • Answer
  • Jan 18, 2023 3:46 PM UTC

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.


wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Hero (Former Employee)
  • Apr 12, 2023 9:58 AM UTC

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?