Skip to Content
avatar image
Former Member

How to configure sender REST adapter with multiple GET parameters

Hi Everyone,


i have configured the REST adapter with below endpoint and I am expecting 3 variable being passed via HTTP GET.

See attached configuration

General Tab

Endpoint

REST resource

I am doing a call using the below URL

http://host:port/RESTAdapter/salesforce/DPVR?raw_id=100151104604W400☆t=20150101&end=20160101

The sender Adapter is getting selected but the Dynamic configuration does not show the custom attributes which i have configured in the channel

As i cannot find the custom attributes i am not able to read them in my mapping .

Please let me know if anyone has configured multiple GET parameters in Sender REST adapter and used them in mapping.

Thanks

Husain

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 07, 2017 at 07:10 AM

    Hi Husain,

    You need to use GET variable option and not URL pattern element in XI DynamicAttribute Value source . Also keep your Pattern just as / instead of /DPVR. This will give you the desired result

    Regards,

    Siji Anup

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 07, 2017 at 07:09 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Muni,

      Yes i have gone through this blog and followed the same steps but still getting the same issue where the Dynamic attributes are still not getting populated.

      Thanks

      Husain

  • avatar image
    Former Member
    Feb 07, 2017 at 04:39 PM

    Hi Siji,

    I used the GET variable instead of the URL pattern but still the Dynamic attributes do not show the custom fields i defined. Not sure if i am missing something.

    Thanks

    Husain

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 08, 2017 at 06:26 AM

    Hi Husain,

    Have you changed the URL Pattern.

    untitled.png

    Please keep it as /

    Regards,

    Siji Anup

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Siji,

      I have changed the URL pattern to '/'. The issue is i do not see the Dynamic attributes which i defined in the channel during runtime. So dont know if there is something else to be done?

      Thanks

      Husain