<?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 Blue Prism API Usage in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-API-Usage/m-p/110723#M49896</link>
    <description>&lt;P&gt;Hello Everybody.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Overview of what is needed:&lt;BR /&gt;I am using Blueprism v6.10.1, I want to run a process that i made in blueprism called "Hello World" using API call "curl" from another device provided the correct credentials.&lt;/P&gt;&lt;P&gt;What I have tried so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I exposed the Process through "System &amp;gt; Processes &amp;gt; Exposure"&lt;/LI&gt;&lt;LI&gt;Started the Environment using bpserver.exe&lt;/LI&gt;&lt;LI&gt;tried calling using the following command:&lt;UL&gt;&lt;LI&gt;curl -X POST "&lt;A href="http://Server_IP:Server_Port/api/v1/processes/Helloworld/start" target="_blank" rel="noopener"&gt;http://Server_IP:Server_Port/api/v1/processes/Helloworld/start&lt;/A&gt;" -H "Content-Type: application/json" -u Username:Pass&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;tried to get token or authenticate using the commands:&lt;UL&gt;&lt;LI&gt;curl -X POST -H "Content-Type: application/json" -d "{\"username\":\"name\", \"password\":\"pass\"}" &lt;A href="http://server:port/api/v1/authenticate" target="_blank" rel="noopener"&gt;http://server:port/api/v1/authenticate&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;curl -X POST "&lt;A href="http://server:port/api/token" target="_blank" rel="noopener"&gt;http://server:port/api/token&lt;/A&gt;" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&amp;amp;username=username&amp;amp;password=password" --insecure&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The error I get:&lt;/P&gt;&lt;PRE&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"&amp;gt;
&amp;lt;HTML&amp;gt;&amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;Not Found&amp;lt;/TITLE&amp;gt;
&amp;lt;META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"&amp;gt;&amp;lt;/HEAD&amp;gt;
&amp;lt;BODY&amp;gt;&amp;lt;h2&amp;gt;Not Found&amp;lt;/h2&amp;gt;
&amp;lt;hr&amp;gt;&amp;lt;p&amp;gt;HTTP Error 404. The requested resource is not found.&amp;lt;/p&amp;gt;
&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;/PRE&gt;&lt;P&gt;What I need is to run the process helloworld using API&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 11:47:21 GMT</pubDate>
    <dc:creator>yousseffayeddd</dc:creator>
    <dc:date>2024-05-21T11:47:21Z</dc:date>
    <item>
      <title>Blue Prism API Usage</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-API-Usage/m-p/110723#M49896</link>
      <description>&lt;P&gt;Hello Everybody.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Overview of what is needed:&lt;BR /&gt;I am using Blueprism v6.10.1, I want to run a process that i made in blueprism called "Hello World" using API call "curl" from another device provided the correct credentials.&lt;/P&gt;&lt;P&gt;What I have tried so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I exposed the Process through "System &amp;gt; Processes &amp;gt; Exposure"&lt;/LI&gt;&lt;LI&gt;Started the Environment using bpserver.exe&lt;/LI&gt;&lt;LI&gt;tried calling using the following command:&lt;UL&gt;&lt;LI&gt;curl -X POST "&lt;A href="http://Server_IP:Server_Port/api/v1/processes/Helloworld/start" target="_blank" rel="noopener"&gt;http://Server_IP:Server_Port/api/v1/processes/Helloworld/start&lt;/A&gt;" -H "Content-Type: application/json" -u Username:Pass&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;tried to get token or authenticate using the commands:&lt;UL&gt;&lt;LI&gt;curl -X POST -H "Content-Type: application/json" -d "{\"username\":\"name\", \"password\":\"pass\"}" &lt;A href="http://server:port/api/v1/authenticate" target="_blank" rel="noopener"&gt;http://server:port/api/v1/authenticate&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;curl -X POST "&lt;A href="http://server:port/api/token" target="_blank" rel="noopener"&gt;http://server:port/api/token&lt;/A&gt;" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&amp;amp;username=username&amp;amp;password=password" --insecure&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The error I get:&lt;/P&gt;&lt;PRE&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"&amp;gt;
&amp;lt;HTML&amp;gt;&amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;Not Found&amp;lt;/TITLE&amp;gt;
&amp;lt;META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"&amp;gt;&amp;lt;/HEAD&amp;gt;
&amp;lt;BODY&amp;gt;&amp;lt;h2&amp;gt;Not Found&amp;lt;/h2&amp;gt;
&amp;lt;hr&amp;gt;&amp;lt;p&amp;gt;HTTP Error 404. The requested resource is not found.&amp;lt;/p&amp;gt;
&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;/PRE&gt;&lt;P&gt;What I need is to run the process helloworld using API&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:47:21 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-API-Usage/m-p/110723#M49896</guid>
      <dc:creator>yousseffayeddd</dc:creator>
      <dc:date>2024-05-21T11:47:21Z</dc:date>
    </item>
  </channel>
</rss>

