on 2021 Aug 18 4:00 PM
Hi Experts,
Good day!
I am new to Rest Adapter, and I am to develop a FTP -> PO -> REST process flow scenario.
The part where I need help is that there are multiple API End Point on the target (REST) as seen on image below.

1. Where will I configure these API End Points on the Integration Directory(receiver communication channel)?
2. This is the initial configuration I have made so far on ID. Also, Is the URL Pattern correct or need to edit something on the URL maybe for variable substitution?

Appreciate your thoughts on this.
Thank You,
Carlo
Request clarification before answering.
Hi Carlo,
Here are response to your query
1. Where will I configure these API End Points on the Integration Directory(receiver communication channel)?
Ans) In receiver communication channel but you need to access dynamic configuration in UDF.
2.) This is the initial configuration I have made so far on ID. Also, Is the URL Pattern correct or need to edit something on the URL maybe for variable substitution?
ans)
Th UDF you need is shown below
String dyn_res = "http://v1#/"; // Parameter replace in REST URL tab in the actual receiver REST channel
DynamicConfiguration dynConf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/REST", "REST_URL"); dynConf.put(key, dyn_res);
return "";the channel will be configured like this

Therefore the URL can be set as per requirement from the UDF itself.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Carlo,
user pattern variable replacement concept to populate dynamic url from mapping. try to do work around on that.
as your mapping i am not clear otherwise i could have explained it.
regards,
Loordh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.