<?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: API Attachment in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68079#M20684</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/26488"&gt;@OmkarShete&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;We can use the &lt;STRONG&gt;Microsoft Graph - SharePoint&lt;/STRONG&gt; connector as an example. It's designed as a Web API Service in Blue Prism. If you look at the &lt;EM&gt;&lt;STRONG&gt;Common Parameters&lt;/STRONG&gt;&lt;/EM&gt; section, you'll see the definition of an input parameter name &lt;STRONG&gt;Access Token&lt;/STRONG&gt;. Now, in the &lt;EM&gt;&lt;STRONG&gt;Common Headers&lt;/STRONG&gt;&lt;/EM&gt; section, you can see where we've defined the Authentication header and set it's value to be Bearer [Access Token].​ Thanks to parameter substitution when an action is called on this Web API the HTTP request will no include a header called Authentication and it's value will be populated with "Bearer XXXXX" where "XXXXX" is the value we pass in to the Access Token parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17606.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17758i2689942D27001848/image-size/large?v=v2&amp;amp;px=999" role="button" title="17606.png" alt="17606.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17607.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17764i58E84E795F33DBC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="17607.png" alt="17607.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Oct 2022 13:35:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2022-10-07T13:35:00Z</dc:date>
    <item>
      <title>API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68073#M20678</link>
      <description>I have third party API. In that they have app ID and app secret. When i use POST command and in body i have to give these 2 parameters then only i will be able to hit the query and in result i will get Bearer Token. From blue prism how to do this? please explain step by step procedure ...&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Omkar Shete&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Oct 2022 11:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68073#M20678</guid>
      <dc:creator>OmkarShete</dc:creator>
      <dc:date>2022-10-02T11:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68074#M20679</link>
      <description>Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/26488"&gt;@OmkarShete&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Has the 3rd party platform provided you with any examples (i.e. Postman Collection, cURL, etc)? How are you trying to send the web request from Blue Prism? Are you using the Utility - HTTP VBO, a Web API service definition, or a Code stage?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2022 13:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68074#M20679</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-10-03T13:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68075#M20680</link>
      <description>hello Eric,&lt;BR /&gt;&amp;nbsp;Thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;In Postman body, I have to write following&amp;nbsp;&lt;BR /&gt;
&lt;PRE class="highlighted-code__code-container json"&gt;&lt;CODE class="highlighted-code__code"&gt;&lt;CODE class="syntax-highlighted-code"&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk32"&gt;"type"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk6"&gt;"application"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk32"&gt;"appId"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk6"&gt;"__appId__"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk32"&gt;"appSecret"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk6"&gt;"__appSecret__"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;
So that "__ appId__" shou;d be replace by the value that website gives and appsecret replaves by secret code that website gives.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://api.abcx.ai/oauth2/token:generate" target="test_blank"&gt;https://api.abcx.ai/oauth2/token:generate&lt;/A&gt; is the type of query.&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN&gt;Generate the access token which is required for making any API call. You must execute this API before executing any other API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Replace your&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;SPAN&gt;appId&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;SPAN&gt;appSecret&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;values in the request body.&lt;BR /&gt;&lt;SPAN class="entity-authorization__title"&gt;Authorization: &lt;/SPAN&gt;&lt;SPAN class="entity-authorization__title entity-authorization__title--tertiary"&gt;Bearer Token&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="title"&gt;Request Headers&lt;/DIV&gt;
&lt;DIV class="request-item-row"&gt;
&lt;DIV class="item-key"&gt;Content-Type&amp;nbsp; &amp;nbsp; application/json&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="documentation-code-default--title"&gt;&lt;SPAN class="request-body--title"&gt;Body&lt;/SPAN&gt;&lt;SPAN class="request-body--title--tertiary"&gt;raw&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(json)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="highlighted-code highlighted-code--documentation" data-testid="enhanced-code"&gt;
&lt;DIV class="highlighted-code__config-container"&gt;
&lt;DIV class="highlighted-code__language-label"&gt;json&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;PRE class="highlighted-code__code-container json"&gt;&lt;CODE class="highlighted-code__code"&gt;&lt;CODE class="syntax-highlighted-code"&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk32"&gt;"type"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk6"&gt;"application"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk32"&gt;"appId"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk6"&gt;"__appId__"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk32"&gt;"appSecret"&lt;/SPAN&gt;&lt;SPAN class="mtk1"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mtk6"&gt;"__appSecret__"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="mtk1"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="entity-authorization__title entity-authorization__title--tertiary"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Omkar Shete&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Oct 2022 03:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68075#M20680</guid>
      <dc:creator>OmkarShete</dc:creator>
      <dc:date>2022-10-04T03:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68076#M20681</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/26488"&gt;@OmkarShete&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Ok, but the underlying question is still how do you want to call this API? Do you want to use the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO, a &lt;STRONG&gt;Web API Service&lt;/STRONG&gt; definition, or a &lt;STRONG&gt;Code&lt;/STRONG&gt; stage? Here's an example of using the &lt;EM&gt;&lt;STRONG&gt;Post JSON&lt;/STRONG&gt;&lt;/EM&gt; action of the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Utility - HTTP VBO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;​&lt;span class="lia-inline-image-display-wrapper" image-alt="17597.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17750iD16F2ADB6D8F29B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="17597.png" alt="17597.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17598.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17751iE0C805F253BD27CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="17598.png" alt="17598.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17599.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17759iD8AA84958D8D9537/image-size/large?v=v2&amp;amp;px=999" role="button" title="17599.png" alt="17599.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In a nutshell, you build the content of the request body (shown in the Calculation stage) and then supply it as the input to the &lt;EM&gt;&lt;STRONG&gt;JSON&lt;/STRONG&gt;&lt;/EM&gt; parameter on the &lt;EM&gt;&lt;STRONG&gt;Post JSON&lt;/STRONG&gt;&lt;/EM&gt; action (along with the URL of the authentication service).&lt;BR /&gt;&lt;BR /&gt;One thing to point out. You're notes reference use of the Authentication header. That's typically not the case on the initial authentication request unless you have an extra token (ex. and API key) that needs to be included too. Typically, the access token you receive from the authentication call will be used in your subsequent API calls as the input for the Authentication header.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Oct 2022 13:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68076#M20681</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-10-04T13:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68077#M20682</link>
      <description>Thank you Eric for your reply&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Omkar Shete&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2022 06:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68077#M20682</guid>
      <dc:creator>OmkarShete</dc:creator>
      <dc:date>2022-10-06T06:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68078#M20683</link>
      <description>Eric, I want to set that access token, generated in collection, in common headers of API.&lt;BR /&gt;&lt;BR /&gt;Also i want to ask how to generate above process by &lt;SPAN&gt;&amp;nbsp;a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Web API Service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;definition, or a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;stage.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Omkar Shete&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Oct 2022 10:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68078#M20683</guid>
      <dc:creator>OmkarShete</dc:creator>
      <dc:date>2022-10-07T10:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68079#M20684</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/26488"&gt;@OmkarShete&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;We can use the &lt;STRONG&gt;Microsoft Graph - SharePoint&lt;/STRONG&gt; connector as an example. It's designed as a Web API Service in Blue Prism. If you look at the &lt;EM&gt;&lt;STRONG&gt;Common Parameters&lt;/STRONG&gt;&lt;/EM&gt; section, you'll see the definition of an input parameter name &lt;STRONG&gt;Access Token&lt;/STRONG&gt;. Now, in the &lt;EM&gt;&lt;STRONG&gt;Common Headers&lt;/STRONG&gt;&lt;/EM&gt; section, you can see where we've defined the Authentication header and set it's value to be Bearer [Access Token].​ Thanks to parameter substitution when an action is called on this Web API the HTTP request will no include a header called Authentication and it's value will be populated with "Bearer XXXXX" where "XXXXX" is the value we pass in to the Access Token parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17606.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17758i2689942D27001848/image-size/large?v=v2&amp;amp;px=999" role="button" title="17606.png" alt="17606.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17607.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/17764i58E84E795F33DBC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="17607.png" alt="17607.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Oct 2022 13:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68079#M20684</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-10-07T13:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: API Attachment</title>
      <link>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68080#M20685</link>
      <description>Thanks Eric.&lt;BR /&gt;&lt;BR /&gt;Its working fine.&amp;nbsp;&lt;BR /&gt;Thank you so much..&lt;BR /&gt;&lt;BR /&gt;Also i want to know &lt;SPAN&gt;how to generate above process by&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Web API Service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;definition, or a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;stage.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Omkar Shete&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Oct 2022 07:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/API-Attachment/m-p/68080#M20685</guid>
      <dc:creator>OmkarShete</dc:creator>
      <dc:date>2022-10-10T07:41:00Z</dc:date>
    </item>
  </channel>
</rss>

