<?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>Integration with external API</title><link>https://community.appian.com/discussions/f/integrations/9143/integration-with-external-api</link><description>Hi I have a requirement to integrate with docusign for digital signing of legal documents. I am getting the 400 error while doing so. Can you please point out if I am missing here something. Please find my code below: Please note, the first call i.e,</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Integration with external API</title><link>https://community.appian.com/thread/40843?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 16:54:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a6772727-0b51-44c4-9253-aefb4b579495</guid><dc:creator>ankitab918</dc:creator><description>...cal!emailDetails)}&lt;br /&gt;      )&lt;br /&gt;    )&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration with external API</title><link>https://community.appian.com/thread/40842?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 16:54:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5aae3940-b82a-4d86-b1db-b9de0d2e5834</guid><dc:creator>ankitab918</dc:creator><description>...cusign.net/restapi/v2/login_information&amp;quot;,&lt;br /&gt;  headers:{&lt;br /&gt;    a!httpHeader(local!authHeader, a!toJson(local!credentials))&lt;br /&gt;  }&lt;br /&gt;).result.body,&lt;br /&gt;&lt;br /&gt;local!baseUrl:a!fromJson(local!login).loginAccounts.baseUrl,&lt;br /&gt;&lt;br /&gt;local!envelopeRequest:bind(&lt;br /&gt;  get:&lt;br /&gt;        a!httpQuery(&lt;br /&gt;          url:local!baseUrl&amp;amp;&amp;quot;/envelopes&amp;quot;,&lt;br /&gt;          headers:{&lt;br /&gt;          a!httpHeader(&amp;quot;Accept&amp;quot;,&amp;quot;application/json&amp;quot;),&lt;br /&gt;          a!httpHeader(&amp;quot;Content-Type&amp;quot;,&amp;quot;application/json&amp;quot;),&lt;br /&gt;          a!httpHeader(local!authHeader, a!toJson(local!credentials))&lt;br /&gt;          /*a!httpHeader(local!authHeader,a!toJson(local!emailDetails))*/&lt;br /&gt;          }&lt;br /&gt;        &lt;br /&gt;      ),&lt;br /&gt;    set:&lt;br /&gt;      a!httpWrite(&lt;br /&gt;        url:_,&lt;br /&gt;        method:&amp;quot;POST&amp;quot;,&lt;br /&gt;        headers:{&lt;br /&gt;          a!httpHeader(&amp;quot;Accept&amp;quot;,&amp;quot;application/json&amp;quot;),&lt;br /&gt;          a!httpHeader(&amp;quot;Content-Type&amp;quot;,&amp;quot;application/json&amp;quot;),&lt;br /&gt;          a!httpHeader(local!authHeader, a!toJson(local!credentials))&lt;br /&gt;          /*a!httpHeader(local!authHeader,a!toJson(local!emailDetails))*/&lt;br /&gt;        },&lt;br /&gt;        body:{a!toJson(lo...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>