<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>overwrite response from API integration</title><link>https://community.appian.com/discussions/f/integrations/21548/overwrite-response-from-api-integration</link><description>I have an API response that has special characters in the attribute keys. Due to which, the sync fails when I integrated the API response to site records. 
 Here is the API - https://data.cityofnewyork.us/resource/5kqf-fg3n.json? 
 Response has the following</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: overwrite response from API integration</title><link>https://community.appian.com/thread/84224?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 04:06:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:471ba1ae-b53d-4f59-bf8c-6fb435f30d0b</guid><dc:creator>Acacio Barrado</dc:creator><description>&lt;p&gt;Hi there,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if this will help you, but perhaps you could try the code below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!a: tostring(rule!YOUR_API().result.body),
  local!b: substitute(local!a,&amp;quot;\&amp;quot;&amp;quot;&amp;quot;,&amp;quot;&amp;quot; ),
  a!fromJson(local!b)[1]
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is only vanilla scenario and will not work in exception but you can adjust from there, it is just an idea.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
&lt;p&gt;Acacio B.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: overwrite response from API integration</title><link>https://community.appian.com/thread/84223?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 03:10:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:58c14e25-3ea7-4572-8f2e-498a4577355d</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/sreedevim0001"&gt;sreedevi0001&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you please explain what you mean by this statement?&amp;nbsp;&lt;/p&gt;
[quote userid="64791" url="~/discussions/f/integrations/21548/overwrite-response-from-api-integration"]that Appian complains due to special characters[/quote]
&lt;p&gt;As far as I know, Appian accepts special characters in the dictionary, but it will not accept them for the data type field labels. So, if you&amp;#39;re using these inside records, you can simply ignore the fields from the integration &amp;amp; focus on the required fields. If you need them inside the record, then you can&amp;nbsp;create the dataype fields without special characters and map the values inside the expression rule used as record source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>