Passing parameters to Adobe IO API from Campaign Standard | Community
Skip to main content
February 4, 2022
Solved

Passing parameters to Adobe IO API from Campaign Standard

  • February 4, 2022
  • 1 reply
  • 1307 views

Hello,

 

I have created an action with js script on Adobe IO Runtime and enabled API endpoint for it. This script requires 2 params to work correctly. When I trigger it from Postman using below call, it works perfectly fine:

POST https://runtime.adobe.io/api/v1/web/324224-123myendpoint/default/my-action?label=testLabel&logicalStatus=testStatus

where 'label' and 'logicalStatus' are the params I'm talking about.

 

I would like to make this kind of call using built-in 'External API' activity in Adobe Campaign Standard. The connection seems to be working but I can't find a way to pass those parameters. What is even harder is that I would like to place variables there which I would take from query results a step before.

 

I have tried this way but it doesn't seem to work as expected:


I guess Adobe IO is expecting those parameters directly in URL, but how can I execute it from ACS using variables there?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

You can only use dynamic values in the post body not in the URL in ACS.

So the I/O script would have to read the POST body

1 reply

bisswangAdobe EmployeeAccepted solution
Adobe Employee
February 7, 2022

You can only use dynamic values in the post body not in the URL in ACS.

So the I/O script would have to read the POST body