cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mkumar
Level 3

How to query total license count and used License count from FNO Cloud?

How to query total number of license count and currently available license count of a feature from a cloud license server (Device) instances, using FlexNet Embeded API. We are using FlexNet_DotNet_XT_API at client end.
We are already using capability request with CapabilityRequestOperation.Preview to get the total license count and available license count. it is working fine except some case it is returning 0 for both total license count and used license count.
Case : When there is total 1 license count allocated to a feature. and 1 user has already acquired that license. in this case if we are querying license count on other user machine, capability response is displaying 'Max Count' = 0 and count = 0. that is wrong. it should display Max Count = 1 and count = 0.
Please help us to get total license count when there is all license are in used?

0 Kudos
(3) Replies
jberthold
Revenera Moderator Revenera Moderator
Revenera Moderator

Hello,

The Preview option is the recommended method to get total/available license counts.  If you are not getting expected results this could potentially be a bug.  Please submit a support ticket.

Thank You 

Hi,

Thanks for your reply. I have already submitted a case in FlexNet support, waiting for FlexNet reply.

Thank you

0 Kudos
jberthold
Revenera Moderator Revenera Moderator
Revenera Moderator

Hello,

After further investigation the Preview functionality is working as documented.  In the User Guide  please refer to the "Other Considerations" in the Preview section.  One of the items is the following:

Only features with non-zero counts are included in the capability response. This behavior can limit the usefulness of the maximum count in certain circumstances, such as when all counts of a feature are currently being served to other clients or when multiple features with the same name are present on the license sever. 

On other option would be to the use the license server REST API /features endpoint to get the status on the features.

 

0 Kudos