Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

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

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2017 at 06:26 AM

    Hi Husain,

    Have you changed the URL Pattern.

    untitled.png

    Please keep it as /

    Regards,

    Siji Anup


    untitled.png (11.1 kB)
    Add a 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

  • Posted on Jul 31, 2020 at 03:29 PM

    in case you haven't figured out this jet, this is how i managed to do it

    hope it can help someone


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.