Hello,
Can we create an API proxy where we have a URI and a query param at the end? for example:
https://www.abc.com/V2/DEMO/param1/{param1}/param2/{param2}?queryParam={queryParam},
where https://www.abc.com/V2/example/ is the base path
and the HTTPTargetConnection path is "/services/apexrest/vlocity_cmt/v1/integrationprocedure/DEMO_VIP?param1={VariablePrefix.param1}&param2={VariablePrefix.param2}&queryParam={VariablePrefix.queryParam}"
Any help would be appreciated.!
thanks in advance.!
Solved! Go to Solution.
Here's a working example (attached).
To see it working, first deploy it into an environment, then invoke the proxy like this:
curl -i $myhostname/ev-and-qparam-mapping/agreementId/A-12345/catalog/Cat-ABC/offer/Offer456-P
You can start a trace(Debug) session to see the extracted variables, and to see the request that gets assembled and sent to the back end.