<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Customize the POST body od External API activity in Adobe Campaign Standard Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/446452#M14771</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17406416"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the current setup, It is not possible to format the json code from external API activity.&lt;/P&gt;&lt;P&gt;You will have to update your code on the external platform to accept the format which ACS sends.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 09:26:55 GMT</pubDate>
    <dc:creator>Manoj_Kumar_</dc:creator>
    <dc:date>2022-03-31T09:26:55Z</dc:date>
    <item>
      <title>Customize the POST body od External API activity</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/445840#M14766</link>
      <description>&lt;P&gt;Hello community,&lt;BR /&gt;&lt;BR /&gt;How to send a POST request to an external API with the following body :&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "name" : "Jonas",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "internal name" : "sbx2000",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "country" : [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ["2000", "paris"],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ "2001", "usa"]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Note: when using the external API activity, the data added as input looks like this in the POST body :&lt;BR /&gt;{ "data":[&lt;BR /&gt;{ "name" : "Jonas"},&lt;BR /&gt;{ "internal name" : "sbx2000"},&lt;BR /&gt;{"country" : "country"}&lt;BR /&gt;]}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS. Countries are a custom resource that will be embedded from a query activity.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any way to customize the body of the JSON that will be sent in the call?&lt;BR /&gt;&lt;BR /&gt;Please advice on this matter.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 14:14:26 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/445840#M14766</guid>
      <dc:creator>El-Coder</dc:creator>
      <dc:date>2022-03-25T14:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Customize the POST body od External API activity</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/446452#M14771</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17406416"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the current setup, It is not possible to format the json code from external API activity.&lt;/P&gt;&lt;P&gt;You will have to update your code on the external platform to accept the format which ACS sends.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 09:26:55 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/446452#M14771</guid>
      <dc:creator>Manoj_Kumar_</dc:creator>
      <dc:date>2022-03-31T09:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Customize the POST body od External API activity</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/449804#M14807</link>
      <description>&lt;P&gt;Hey &lt;LI-USER uid="17406416"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as Manoj_Kumar mentioned, we were told by Support currently it is not possible to customize the post body in ACS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had a similar requirement and after some research found out something can be done using Adobe IO Runtime (hopefully you have access to this). It will essentially act as a middle man between ACS and your external system. You then use it to ingest the call you make from the External API activity and then manipulate this to the required format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We didn't progress further with our requirement due to other priorities, but still something that will be revisited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a page I found where someone did something similar. Hopefully works for you : &lt;A href="https://medium.com/adobetech/adobe-campaign-standard-and-web-push-notifications-5c12c0f4ada2" target="_blank"&gt;https://medium.com/adobetech/adobe-campaign-standard-and-web-push-notifications-5c12c0f4ada2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Don&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 15:10:16 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/customize-the-post-body-od-external-api-activity/m-p/449804#M14807</guid>
      <dc:creator>dsmims</dc:creator>
      <dc:date>2022-04-26T15:10:16Z</dc:date>
    </item>
  </channel>
</rss>

