<?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 JSON data from BP to external API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62679#M15742</link>
    <description>Hello,&amp;nbsp;&lt;BR /&gt;I am testing few functionality, but I am stuck and would really appreciate help.&lt;BR /&gt;&lt;BR /&gt;I have sample data, in JSON format,&amp;nbsp;&lt;BR /&gt;Now I want to send this (POST) to an external API. I am currently using Utility JSON - Post JSON, with some basic input details - URL,&amp;nbsp; username, password, and JSON (this is the data item). The process runs through with no error.&lt;BR /&gt;But the data was not sent successfully, almost as if the API call never happened. I am not sure if I am missing something.&lt;BR /&gt;I welcome any suggestions, or a different approach to achieve this task.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Anuraag&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Anuraag Pandey&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Aug 2021 13:39:00 GMT</pubDate>
    <dc:creator>AnuraagPandey</dc:creator>
    <dc:date>2021-08-17T13:39:00Z</dc:date>
    <item>
      <title>JSON data from BP to external API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62679#M15742</link>
      <description>Hello,&amp;nbsp;&lt;BR /&gt;I am testing few functionality, but I am stuck and would really appreciate help.&lt;BR /&gt;&lt;BR /&gt;I have sample data, in JSON format,&amp;nbsp;&lt;BR /&gt;Now I want to send this (POST) to an external API. I am currently using Utility JSON - Post JSON, with some basic input details - URL,&amp;nbsp; username, password, and JSON (this is the data item). The process runs through with no error.&lt;BR /&gt;But the data was not sent successfully, almost as if the API call never happened. I am not sure if I am missing something.&lt;BR /&gt;I welcome any suggestions, or a different approach to achieve this task.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Anuraag&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Anuraag Pandey&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2021 13:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62679#M15742</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-08-17T13:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: JSON data from BP to external API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62680#M15743</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1245"&gt;@AnuraagPandey&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;What version of Blue Prism are you using? When you say you're using the &lt;STRONG&gt;Post JSON&lt;/STRONG&gt;&amp;nbsp;action are you referring to the action available on the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO? There's no &lt;STRONG&gt;Post JSON&lt;/STRONG&gt; action available on the &lt;STRONG&gt;Utility - JSON&lt;/STRONG&gt; VBO, unless you're using a customized version.&lt;BR /&gt;&lt;BR /&gt;If you are using the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO, does it return data items for &lt;STRONG&gt;Status Code&lt;/STRONG&gt;, &lt;STRONG&gt;Result Headers&lt;/STRONG&gt;, and &lt;STRONG&gt;Result&lt;/STRONG&gt;?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&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>Tue, 17 Aug 2021 17:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62680#M15743</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-08-17T17:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: JSON data from BP to external API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62681#M15744</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1245"&gt;@AnuraagPandey&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Have you tested the API in Postman?&lt;/P&gt;
&lt;P&gt;Instead of directly integrating with Blue Prism, you can first test the functionality using Postman and once you get successful results, it can be easily integrated with Blue Prism​&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ritansh Jatwani Senior Consultant&lt;BR /&gt;Consultant&lt;BR /&gt;EY&lt;BR /&gt;Gurgaon&lt;BR /&gt;*If you find this post helpful mark it as best answer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 20:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62681#M15744</guid>
      <dc:creator>ritansh.jatwani</dc:creator>
      <dc:date>2021-08-18T20:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: JSON data from BP to external API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62682#M15745</link>
      <description>Hi Eric, you were right I am using Utility - HTTP VBO, and no the return data items were unchanged/unaffected.&lt;BR /&gt;&lt;BR /&gt;I found a workaround for this though. I am now using a python script to send the json to this said API, and I am calling the script via blue prism as one of the action stages.&amp;nbsp;&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------&lt;BR /&gt;I still have one issue though, I want to receive a csv file as part of the GET calls that I am making to this API.&amp;nbsp;&lt;BR /&gt;It works when I use POSTMAN to test if the API actually works, and it does.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So, now my question is there some setting that I need to make one configuring the webservice inside the "SYSTEM" &amp;gt; "WEB API SERVICES" &amp;gt; there are few options like "responses", should I somehow tell blue prism that I am expecting a file?&lt;BR /&gt;I know "binary" data type is normally used for files, but I am not too sure how to use it here.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21022.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21166i6BCF5615DFB9BF18/image-size/large?v=v2&amp;amp;px=999" role="button" title="21022.png" alt="21022.png" /&gt;&lt;/span&gt;Kind Regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Anuraag Pandey&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Aug 2021 11:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62682#M15745</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-08-23T11:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: JSON data from BP to external API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62683#M15746</link>
      <description>Hi Ritansh,&lt;BR /&gt;I appreciate your reply here, yes I tested using POSTMAN. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have found the solution though. Using a python script.&amp;nbsp;&lt;BR /&gt;But there is another way, FYI. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;While setting up the web service,&lt;BR /&gt;we define a few things, like - &lt;BR /&gt;parameters, fields that we are sending(column header in a database table, for example: Name, Place, etc. )&lt;BR /&gt;requests, &lt;BR /&gt;method: POST&lt;BR /&gt;body content: Template (and then paste the template of the JSON that the API demands.)&lt;BR /&gt;headers:&amp;nbsp; &amp;nbsp;Content-Type&amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; application/json&lt;BR /&gt;&lt;BR /&gt;And then we can use an action stage to call the webservice and call the method "POST".&lt;BR /&gt;This works for me.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Anuraag Pandey&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Aug 2021 11:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62683#M15746</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-08-23T11:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: JSON data from BP to external API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62684#M15747</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1245"&gt;@AnuraagPandey&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Downloading a file using the Web API feature can be tricky as it's limited to text-only files. If your CSV is just text, nothing binary to it, then it will be found in the Response Content data item. If there is binary content to the file then it will likely be corrupted due to the way the feature handles the response from the web call.&lt;BR /&gt;&lt;BR /&gt;There is a &lt;EM&gt;&lt;STRONG&gt;HTTP Request File&lt;/STRONG&gt;&lt;/EM&gt; action on the ​&lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO which should work well for you.&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>Mon, 23 Aug 2021 16:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/JSON-data-from-BP-to-external-API/m-p/62684#M15747</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-08-23T16:55:00Z</dc:date>
    </item>
  </channel>
</rss>

