on 2023 Nov 24 9:01 AM
Hi Experts,
We have a requirement where I was supposed to get the data from web-service in “x-www-form-urlencoded” format using GET Method via REST Sender Adapter.
Detailed Requirement:
My scenario is REST to SAP
PO needs to get the data from sender webservice using REST Sender Adapter
Method: GET
http://<host>:<port>/RESTAdapter/service?id=d83bdba7-dc27-48e4-82e3-c602e2581210:0&status=sent×tamp=1699519585☎_number=919848012345&mobile=919848012345&message=Message%20sent&custom_response=false
Data coming in the rest endpoint URL after? how to fetch data from URL using rest sender adapter.
Thanks in advance!!
Ranga
Request clarification before answering.
Hello Ranga,
You should use Dynamic Attributes from Rest Resources tab. Choose Get Variable from Value Source, enter chosen variable name in GET Variable name (for example mobile). Tha variable will be put into dynamic attribute (so called ASMA) chosen in Dynamic Attribute, you can either choose predefined or custom ids. The ASMA you can use in mappings or pass to receiver adapter.
BR, Filip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For configration reference you can use this blog:
REST Sender Adapter GET and POST Examples
Examples of ASMA usage:
Combining three different aspects of PI (ASMA, AF Module and variable substitution) in one shot
Dynam...
User | Count |
---|---|
94 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.