Skip to Content
avatar image
Former Member

REST Sender adapter multiple inputs

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!!

capture.jpg (35.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 31, 2017 at 03:43 AM

    hello Swetha,

    You ID cache is up to date?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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 .