cancel
Showing results for 
Search instead for 
Did you mean: 

REST to REST scenario - how to accept dynamic value from source and response query

0 Kudos

Hello all,

Please advise how can i make it possible to accept dynamic value for my REST URL.

This is the REST URL where external vendor will be using to retrieve employee information by giving the GID (employee number)

https://<company domain>/RESTAdapter/zhrgxx/zhrgxx_asspro/?type=detail&gid=XXXX , where XXXX is the dynamic value for employee number and Type=detail is fix.

External vendor will use the above URL to retrieve detail via PI. PI will send this information to our Internal HR URL via a REST receiver adapter. Once the employee number found in the HR system, it will display the output as response.

I have read thru that we need to use UDF for this purpose and setup for the Sender REST adapter in the dynamic attribute. But i have little knowledge in this. Please could you share some info or sample how to perform this ?

Appreciate alot.

Thank you

-low-

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member308595
Participant
0 Kudos

Hi Low,

You can refer this blog to configure dynamic attributes.

https://blogs.sap.com/2014/12/18/pi-rest-adapter-using-dynamic-attributes/

REST Adapter configuration :

https://blogs.sap.com/2014/12/18/pi-rest-adapter-blog-overview/

Best ,Shiva