Skip to main content
Solved

23R2 - Business Process Automation(BPA) - REST Call Query Parameters

  • February 5, 2024
  • 3 replies
  • 546 views

Forum|alt.badge.img+9

Hi All,

Documentation:

https://docs.ifs.com/techdocs/23r2/040_tailoring/500_business_process_automation/050_business_process_modeling/030_ifs_rest_call/


How do you define ‘Query Parameters’ in a BPA REST Call?
I want to get Geocodes via Heremaps and need to pass apiKey and Address as ‘Query Parameters’.


Example below shows how it is fetched via POSTMAN,

Endpoint:
https://geocode.search.hereapi.com/v1/geocode

POSTMAN:
 

 

Best answer by dsj

Hi @GaSoGB,

 

You can set the query parameters and api key as inline scrips and add them to the URL.

A good example can be found in the IFS provided workflow finCurrencyTypeUpdate where it added the URL and the API Key as parameters.

 

Hope it helps!

Damith

3 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • Answer
  • February 5, 2024

Hi @GaSoGB,

 

You can set the query parameters and api key as inline scrips and add them to the URL.

A good example can be found in the IFS provided workflow finCurrencyTypeUpdate where it added the URL and the API Key as parameters.

 

Hope it helps!

Damith


Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • February 6, 2024

Hi @dsj ,

Thanks Damith. Will test and see how it goes.

Best regards
GaSoGB


Forum|alt.badge.img+10
  • Hero (Customer)
  • August 23, 2024

@dsj When implemting the webservice i’m having a problem.

HTTP Connection Delegate could not retrieve the data from the specified URL.Returned status code: 500

 

I’m able to get result when using postman for exemple.

 

Any idea please?