Expand my Community achievements bar.

SOLVED

Passing parameters to Adobe IO API from Campaign Standard

Avatar

Level 1

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&logicalSt...

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:

acs-api.png


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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

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