<?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 License Details using API or DB Query in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80108#M771</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Is there a way to fetch available Blueprism session license details? e.g. Via Webservice, DB query call&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiva&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 25 Oct 2021 02:09:00 GMT</pubDate>
    <dc:creator>ShivakumarKadro</dc:creator>
    <dc:date>2021-10-25T02:09:00Z</dc:date>
    <item>
      <title>License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80108#M771</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Is there a way to fetch available Blueprism session license details? e.g. Via Webservice, DB query call&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiva&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2021 02:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80108#M771</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-25T02:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80109#M772</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/37639"&gt;@ShivakumarKadro&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You can run the below query to fetch the license details:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;select * from [dbo].[BPALicense]​&lt;/STRONG&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>Mon, 25 Oct 2021 19:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80109#M772</guid>
      <dc:creator>ritansh.jatwani</dc:creator>
      <dc:date>2021-10-25T19:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80110#M773</link>
      <description>Hi &lt;SPAN&gt;&lt;SPAN&gt;Shivakumar,&lt;BR /&gt;&lt;BR /&gt;If you were referring to the total license count available in a Blue Prism environment, I am afraid there does not exist an official way to retrieve it. All license information in DB is encrypted, it will not be easy to take advantage of. But nothing would prevent you from writing an automation to Blue Prism Interactive Client itself to get exactly that.&lt;BR /&gt;&lt;BR /&gt;If you need to know the current license usage, a simple&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;SELECT &lt;SPAN class="c-mrkdwn__highlight"&gt;COUNT&lt;/SPAN&gt;(*) FROM &lt;SPAN class="c-mrkdwn__highlight"&gt;BPASession&lt;/SPAN&gt; WHERE statusid in (0,1)&lt;/PRE&gt;
&lt;SPAN&gt;would be suffice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Oct 2021 01:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80110#M773</guid>
      <dc:creator>bruce.liu</dc:creator>
      <dc:date>2021-10-26T01:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80111#M774</link>
      <description>Thanks Bruce! This should help me and I see set of views which provides data in structured way.&lt;BR /&gt;Are there any APIs? if no any plans to be considered in future releases?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80111#M774</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-26T12:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80112#M775</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/37639"&gt;@ShivakumarKadro&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I set up for you to be able to view the information of your licenses through the bank I hope it helps!!&lt;BR /&gt;If it helps, mark as best answer&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class="language-sql"&gt;&lt;CODE&gt;select
   issue_to as 'Name of Company',
   FORMAT(License_expires_on,'dd/MM/yyyy') 'Date of validate',
   datediff(day, getdate(), License_expires_on) 'Days Remaining'
from
   (
      select
         cast (lic.licensexml as xml).value('(/license//licensee/node())[1]', 'nvarchar(10)') as [issue_to],
         cast(cast(lic.licensexml as xml).value('(/license//expires/node())[1]', 'nvarchar(10)') as date) as [License_expires_on],
         cast(lic.licensexml as xml).value('(/license//maxconcurrentsessions/node())[1]', 'nvarchar(10)') as [available_licences] 
      from
         (
            select
               convert (varchar(2000), cast(' ' as xml).value('xs:base64Binary(sql:column("base64_column"))', 'VARBINARY(2000)')) AS LICENSEXML 
            FROM
               (
                  select
                     licensekey as base64_column 
                  from
                     bpalicense
               )
               a
         )
         lic
   )
   as pog 
where
   pog.License_expires_on &amp;gt;= getdate() 
order by
   pog.License_expires_on&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;​&lt;span class="lia-inline-image-display-wrapper" image-alt="32401.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32505iD18AD8530AAE5027/image-size/large?v=v2&amp;amp;px=999" role="button" title="32401.png" alt="32401.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;Recife&lt;BR /&gt;+5581988869544&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Oct 2021 13:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80112#M775</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-10-26T13:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80113#M776</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/37639"&gt;@ShivakumarKadro&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE: THIS IS AN UNSUPPORTED SOLUTION&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;As &lt;A class="user-content-mention" data-sign="@" data-contactkey="0a9b5778-7ac7-4764-a9c9-822633ad2ffb" data-tag-text="@Bruce Liu" href="https://community.blueprism.com/people/bruce-liu1" data-itemmentionkey="321f5d60-47cb-4cfc-b53a-b612b4ef083a"&gt;@Bruce Liu&lt;/A&gt; mentioned, there's no officially supported way to pull the count of available licenses, but you can do it by using Blue Prism to automate the Interactive Client. With that said, if you want to see the contents of the license file there is a DLL in the BP installation folder called &lt;STRONG&gt;BPCoreLib.dll&lt;/STRONG&gt;. If you reference that DLL from within a VBO you can use a code stage and create an instance of the &lt;STRONG&gt;KeyInfo&lt;/STRONG&gt; object. With that, you can pass in the value of the &lt;STRONG&gt;licensekey&lt;/STRONG&gt; column from the &lt;STRONG&gt;dbo.BPLicense&lt;/STRONG&gt; table. The license info will be decoded and presented to you via the object.&lt;BR /&gt;&lt;BR /&gt;The below example is from a small C# console application I used to test this.&lt;BR /&gt;&lt;BR /&gt;Ex.&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;&lt;CODE&gt;KeyInfo ki = new KeyInfo("YOUR_KEY_INFO_HERE");
Console.WriteLine("Num Concurrent Session: " + ki.NumConcurrentSessions);
Console.WriteLine("Num Published Processes: " + ki.NumPublishedProcesses);
Console.WriteLine("Num Resource PCs: " + ki.NumResourcePCs);
Console.WriteLine("Expiry Date: " + ki.ExpiryDate);
Console.WriteLine("Press any key to continue.");
Console.ReadLine();
​&lt;/CODE&gt;&lt;/PRE&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>Tue, 26 Oct 2021 13:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80113#M776</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-10-26T13:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80114#M777</link>
      <description>Thanks!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Oct 2021 20:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80114#M777</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-26T20:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80115#M778</link>
      <description>Does Blueprism (BP) support nolock SELECT query to BP DB? I am asking this if we need to pull the data from BP to any other reporting tool like Tablaeu or Kibana or ELK?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Oct 2021 20:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80115#M778</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-26T20:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80116#M779</link>
      <description>Hi Shivakumar,&lt;BR /&gt;&lt;BR /&gt;It depends on how you use your query and the scenario you want to achieve. Blue Prism or not, it does not really matter. From SQL Server point of view it does support NOLOCK hints, and all Blue Prism databases must be hosted in SQL Server.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 02:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80116#M779</guid>
      <dc:creator>bruce.liu</dc:creator>
      <dc:date>2021-10-27T02:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80117#M780</link>
      <description>I am asking from Blue prism product best practices perspective and BP recommendation . &lt;BR /&gt;Can we have select queries to BP DB to fetch the data for Kibana/Tablaeu. I mentioned about nolock to highlight retrieving the data without locking the table row.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shiva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 03:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80117#M780</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-27T03:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80118#M781</link>
      <description>Hi &lt;SPAN&gt;Shiva,&lt;BR /&gt;&lt;BR /&gt;Please understand it is not a simple yes and no question if this was your expectation. All that is certain is the fact that it is possible to issue a select query with nolock on Blue Prism database. There was little information given on what exactly you were trying to achieve by having the nolock hints, and how it would be different than doing wiithout it. There are also other important questions that are not clear, for example, the data you are retrieving, the frequency of the query, the volume of the data returned, and what else may be happening to the database while you issuing those queries etc etc. It will not be easy to answer. I would ask you to consider those factors before making a call on what is the most appropriate way to query data out of Blue Prism.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It is also important to understand that we do not offer direct support on work you developed in getting data out from our database, unless it is a script provided by the Blue Prism team to you directly. All work done by you is considered customisation, and you will need to use best judgement to do what you think is right, and take on the risks knowing if anything goes wrong, e.g. database goes down, Blue Prism will not be liable for it.&lt;BR /&gt;&lt;BR /&gt;Hope this is clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 04:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80118#M781</guid>
      <dc:creator>bruce.liu</dc:creator>
      <dc:date>2021-10-27T04:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80119#M782</link>
      <description>Hi Shiva,&lt;BR /&gt;&lt;BR /&gt;you can get total license details by code&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Public Function GetLicenses() As DataTable&lt;BR /&gt;&lt;BR /&gt;Dim LicenseInfo As List(Of KeyInfo) = app.gSv.GetLicenseInfo() &lt;BR /&gt;&lt;BR /&gt;Dim dt As New DataTable&lt;BR /&gt;dt.Columns.Add("Owner", GetType(System.String))&lt;BR /&gt;dt.Columns.Add("Start Date", GetType(System.DateTime))&lt;BR /&gt;dt.Columns.Add("Expiry Date", GetType(System.DateTime))&lt;BR /&gt;dt.Columns.Add("Sessions", GetType(System.Int16))&lt;BR /&gt;&lt;BR /&gt;For Each ki As KeyInfo In LicenseInfo&lt;BR /&gt;Dim dr As DataRow = dt.NewRow&lt;BR /&gt;dr("Owner") = ki.LicenseOwner()&lt;BR /&gt;dr("Start Date") = ki.StartDate()&lt;BR /&gt;dr("Expiry Date") = ki.ExpiryDate()&lt;BR /&gt;dr("Sessions") = ki.NumConcurrentSessions()&lt;BR /&gt;dt.Rows.Add(dr)&lt;BR /&gt;Next&lt;BR /&gt;Return dt&lt;BR /&gt;&lt;BR /&gt;End Function&lt;BR /&gt;&lt;BR /&gt;License_Information = GetLicenses() &lt;BR /&gt;&lt;BR /&gt;output will be a collection, and use query from &lt;A class="user-content-mention" data-sign="@" data-contactkey="0a9b5778-7ac7-4764-a9c9-822633ad2ffb" data-tag-text="@Bruce Liu" href="https://community.blueprism.com/people/bruce-liu1" data-itemmentionkey="5064676c-419e-4201-9c34-cc709179ec4c"&gt;@Bruce Liu&lt;/A&gt; to get total pending and running sessions, subtract the value from total sessions allowed in license details you will get available sessions in your current environment (tested in version 7 not sure if it will work on lower versions this code lists all licenses both active and inactive)&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jerin Jose&lt;BR /&gt;Technical Product Owner&lt;BR /&gt;EY&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;*"If you find  this post helpful mark it as best answer, .*&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 04:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80119#M782</guid>
      <dc:creator>JerinJose</dc:creator>
      <dc:date>2021-10-27T04:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80120#M783</link>
      <description>&lt;P&gt;Hello Shivakumar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You've had lots of good answer here and it sounds like the ability to query the license is something other people have solved in different ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have some solutions for no, but I think it would be useful to &lt;A href="https://community.blueprism.com/participate/ideation-home" target="_blank" rel="noopener"&gt;submit an idea&lt;/A&gt; for the Blue Prism RESTful API to be extended to support License Information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: I know the &lt;A href="https://bpdocs.blueprism.com/bp-7-0/en-us/api-spec.html" target="_blank" rel="noopener"&gt;current Blue Prism API (7.0.0)&lt;/A&gt; does not support this information, because we have been focused on the surfacing the Control Room API first.&amp;nbsp; We will be continuing to extend the API capabilities over time, so why not &lt;A href="https://community.blueprism.com/participate/ideation-home" target="_blank" rel="noopener"&gt;submit the idea&lt;/A&gt; and see if the community shares their thought and the usefulness of the capability.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll keep an eye out for it.&lt;/P&gt;
&lt;P&gt;King regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chris Strong&lt;BR /&gt;Product Manager&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 07:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80120#M783</guid>
      <dc:creator>chris.strong</dc:creator>
      <dc:date>2021-10-27T07:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80121#M784</link>
      <description>Sure! Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 13:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80121#M784</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-27T13:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80122#M785</link>
      <description>Thanks Bruce! I was not looking for Yes/No answer, I was looking for the details on this topic, which you provided and you answered my query.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 13:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80122#M785</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-27T13:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80123#M786</link>
      <description>&lt;P&gt;All&lt;BR /&gt;I found that V7 REST has API "&lt;SPAN style="font-size: 10pt; font-weight: 600;"&gt;Return a list of sessions in the environment" to get a list of sessions along with all other details. As each active session consumes one license, can we use this API and filter the status to get active number license/session?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Oct 2021 23:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80123#M786</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-10-28T23:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80124#M787</link>
      <description>Hi &lt;SPAN&gt;Shivakumar,&lt;BR /&gt;&lt;BR /&gt;It is doable, but I question if it is the most appropriate method.&lt;BR /&gt;&lt;BR /&gt;Note that the session API call is paged. You may need to issue multiple calls using a paging token to get all sessions meeting your criteria. The biggest drawback of this approach - in order to know a total session count of a type, you must pull all session details from the server. It is just too expensive to my liking. Another consideration is the timing. The moment you have had all sessions returned&amp;nbsp; and performed the count, the system may have moved on, i.e. the real time license utilisation may be something else. You need to ask yourself if this would be an issue to your scenario. &lt;BR /&gt;&lt;BR /&gt;All in all, I would still think the SQL query is the best solution to get you the license utilisation based on real time usage info, with least amount of resources and it is also the quickest way available to my knowledge. It is actually the exact query behind the Blue Prism license utilisation dashboard tile as well.&lt;BR /&gt;&lt;BR /&gt;I have created a license utilisation script to based on historical session records. You can take a look at it to see if you want to adopt it. Note that it is a solution based on SQL Server queries as well. Link to the asset: &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/license-utilisation-sql-script" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/license-utilisation-sql-script&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I would also suggest you raise an idea in the Ideation Portal, so that our product team can consider add an API endpoint to return exactly what you need without going through session endpoint specifically.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Oct 2021 23:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80124#M787</guid>
      <dc:creator>bruce.liu</dc:creator>
      <dc:date>2021-10-28T23:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80125#M788</link>
      <description>Thanks!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shivakumar Kadrolli&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Nov 2021 01:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/80125#M788</guid>
      <dc:creator>ShivakumarKadro</dc:creator>
      <dc:date>2021-11-01T01:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: RE: License Details using API or DB Query</title>
      <link>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/119801#M4296</link>
      <description>&lt;P&gt;Are you able to add a column to get the actual license count per installed license?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 14:36:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/License-Details-using-API-or-DB-Query/m-p/119801#M4296</guid>
      <dc:creator>cxcarl</dc:creator>
      <dc:date>2025-04-07T14:36:22Z</dc:date>
    </item>
  </channel>
</rss>

