Skip to Content
0
Jun 18, 2020 at 08:34 PM

REST receiver adapter for 2 REST calls i.e. 2 HTTPs?

54 Views

Rest receiver adapter for 2 HTTPs?

I have to create an call from an RFC to PI to a REST service. I have done this before, but the problem is this time I have 2 HTTPs.

The situation is that the first http (for example, https:/get/piiids/) has to be called via a REST service in PI and this will return a number of unique ID numbers. For example: pi_iid12234, pi_iid34545, etc…

These ids have to be added to the end of the next http, for example: https:/testid/myid/pi_iid12234. This will be a second REST service call and this will then return a whole lot of information for this ID number, for example; name, surname, address, etc.

I know how to create a REST service on PI but I don’t know how to create a REST service for the above scenario where essentially I have to make 2 REST calls in one scenario? Is this even possible?

All help, advice, is immensely appreciated.