cancel
Showing results for 
Search instead for 
Did you mean: 

REST Sender adapter multiple inputs

former_member235717
Participant
0 Kudos

I have a REST to Proxy synchronous scenarios with PI 7.4 system. We had a requirement for Exposing the Function module as RESTful service. In that I am using Synchronous Sender Rest Adapter where I want to give 4 Runtime parameters.

Firstname and Lastname should be passed to the URL and the response back is expected.

Here is my URL pattern:

This is working perfectly fine, but in my requirement the fields are optional, so when I do not input anything for Var2 I'm getting following error:

Placeholder "id_part2" not found in URL "/var1=Dave/var2=" at position 22.

I have checked the optional field for second variable in adapter configuration. Please let me know how to handle an optional field.

Appreciate the help!!

Thank you!!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

hello Swetha,

You ID cache is up to date?

former_member235717
Participant
0 Kudos

yes, cache is up to date. I have to pass total 4 input values and all four of them are optional . But the URL is working only if I give all the 4 inputs .