<?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: receive PDF from API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81059#M32683</link>
    <description>You have your pdf, now just save it with Utility - File Management - Write Binary Data action.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Oct 2020 17:37:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2020-10-28T17:37:00Z</dc:date>
    <item>
      <title>receive PDF from API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81057#M32681</link>
      <description>HI All,&lt;BR /&gt;&lt;BR /&gt;I need to receive the PDF from API as File.&lt;BR /&gt;&lt;BR /&gt;Below is a screenshot from API docs&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15813.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15976iC0B07540FD3D53A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="15813.png" alt="15813.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;What I'm receiving is Respond content below: How can I transform it to PDF file?, or is there any option how to receive already a file and wave it in PC&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;%PDF-1.3&lt;BR /&gt;%����&lt;BR /&gt;9 0 obj&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;/Type /ExtGState&lt;BR /&gt;/ca 1&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;endobj&lt;BR /&gt;10 0 obj&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;/Type /ExtGState&lt;BR /&gt;/ca 1&lt;BR /&gt;/CA 1&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;endobj&lt;BR /&gt;12 0 obj&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;/Type /ExtGState&lt;BR /&gt;/CA 1&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;endobj&lt;BR /&gt;8 0 obj&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;/Type /Page&lt;BR /&gt;/Parent 1 0 R&lt;BR /&gt;/MediaBox [0 0 595.28 841.89]&lt;BR /&gt;/Contents 6 0 R&lt;BR /&gt;/Resources 7 0 R&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;endobj&lt;BR /&gt;7 0 obj&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]&lt;BR /&gt;/ExtGState &amp;lt;&amp;lt;&lt;BR /&gt;/Gs1 9 0 R&lt;BR /&gt;/Gs2 10 0 R&lt;BR /&gt;/Gs3 12 0 R&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;/XObject &amp;lt;&amp;lt;&lt;BR /&gt;/I1 5 0 R&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;/Font &amp;lt;&amp;lt;&lt;BR /&gt;/F1 11 0 R&lt;BR /&gt;/F2 13 0 R&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;endobj&lt;BR /&gt;6 0 obj&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;/Length 3844&lt;BR /&gt;/Filter /FlateDecode&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;stream&lt;BR /&gt;x��]_��&lt;BR /&gt;&amp;#127;�O1_��D�5p��$m�&amp;lt;&amp;#20;hsoA&amp;#30;��n�&amp;#22;�&amp;#22;�&amp;#1;��/)S���hg���6pn�K&amp;#127;�e�(��ds����&amp;#12;�+9��t:&amp;#127;y0��=��&amp;#27;v}zЧ����&amp;amp;�O�y����d�W�N&amp;amp;�h&amp;#18;�����&amp;#31;?��o��&amp;#127;������V�T���&amp;#127;&amp;gt;|��Ws��ׇ�=t�W��OR�,�&amp;#1;�t�1rWpq�CLj&lt;BR /&gt;i�x/��r�I�A�]��e�Q�AC]��6F�Q�\���v1�i&amp;#20;#&amp;#23;py��Sn&amp;#20;#&amp;#23;pq�m�ô�b�Km&amp;#17;m��3����*kƨu�&amp;#22;�&amp;#26;¤&amp;#6;)G���&amp;#25;��(�W�&amp;#5;�����V՝ ��;���䌉�E�S�׭���&amp;#15;�"x7i3&amp;#5;&amp;#29;�i2�Z&amp;#1;���H�H�ޣ&lt;BR /&gt;��̳�;y��&amp;#2;&lt;BR /&gt;�&amp;#1;&amp;#127;&amp;#1;���Cг�&amp;#11;�?����w&amp;#127;4�&amp;#31;������m��&amp;#22;;B8]�EB&amp;lt;�M͞���&amp;#7;�7���y�&amp;#14;]`�&amp;#19;��f:}@��`N8@&amp;#31;�&amp;#30;~}��6�Q&amp;#29;�����:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michal Bezak&lt;BR /&gt;HW analysist&lt;BR /&gt;IBM ISC&lt;BR /&gt;Europe/Bratislava&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 15:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81057#M32681</guid>
      <dc:creator>MichalBezak1</dc:creator>
      <dc:date>2020-10-28T15:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: receive PDF from API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81058#M32682</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use action 'HTTP Request File' from 'Utility - HTTP' object &lt;A href="https://github.com/blue-prism/http-communication-utility" target="test_blank"&gt;https://github.com/blue-prism/http-communication-utility&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 15:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81058#M32682</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2020-10-28T15:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: receive PDF from API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81059#M32683</link>
      <description>You have your pdf, now just save it with Utility - File Management - Write Binary Data action.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 17:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81059#M32683</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2020-10-28T17:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: receive PDF from API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81060#M32684</link>
      <description>Hi Andrey,&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;I found a code stage which should convert text to binary but it's not working as my response content is not just plain text&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15807.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15968i64C0172E94D7403B/image-size/large?v=v2&amp;amp;px=999" role="button" title="15807.png" alt="15807.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michal Bezak&lt;BR /&gt;HW analysist&lt;BR /&gt;IBM ISC&lt;BR /&gt;Europe/Bratislava&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 21:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81060#M32684</guid>
      <dc:creator>MichalBezak1</dc:creator>
      <dc:date>2020-10-28T21:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: receive PDF from API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81061#M32685</link>
      <description>What are you using to call your API and get pdf? &lt;BR /&gt;Utility - HTTP or Web API services?&lt;BR /&gt;&lt;BR /&gt;Here is slightly modified action for Utility - HTTP that returns binary:&lt;BR /&gt;&lt;A href="https://gist.githubusercontent.com/aikudinov/1f06b8e794064f08d84e4628e8ce8885/raw/f5d180e6cff4f73a0021e194e94fecb97707c177/gistfile1.txt" target="test_blank"&gt;https://gist.githubusercontent.com/aikudinov/1f06b8e794064f08d84e4628e8ce8885/raw/f5d180e6cff4f73a0021e194e94fecb97707c177/gistfile1.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'm not sure if Web API can receive binary properly. Last time we needed that Web API was not released yet and we used that action above + I read later here somewhere that it wont work with Web API, but things might have changed. I would need find something to test on to check that.&lt;BR /&gt;&lt;BR /&gt;p.s. Similar &lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=918b611a-c236-40ae-86fc-d8d1b2aa72ea&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&amp;amp;tab=digestviewer&amp;amp;ReturnUrl=%2Fcommunities%2Fcommunity-home%2Fdigestviewer%3FMessageKey%3D7079e822-97e4-4d96-9190-e7577dd6a32f%26CommunityKey%3D3b501789-976c-4cfa-b9db-88307c6a0a86" target="_blank" rel="noopener"&gt;discussion&lt;/A&gt;&lt;BR /&gt;p.p.s. You don't have to actually get stream to binary data item and then write it - just something I had at hand already working.&lt;BR /&gt;You can just save it directly to a file in VBO code stage, but sometimes binary can be useful too - like you can extract files from zip stream without saving anything to a disc etc.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 21:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/receive-PDF-from-API/m-p/81061#M32685</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2020-10-28T21:30:00Z</dc:date>
    </item>
  </channel>
</rss>

