Request Entire Quantity

Our current licensing model involves activating each ActivationID using FlcCapabilityRequestAddRightsId with a count of 1. This way the users who have access to a given ActivationID can all use it to acquire a license.

Now we want to license another product differently. We want to have a single activation of an ActivationID acquire and count the entire available quantity for a given ActivationID. Can this be accomplished? What API should I use?

Re: Request Entire Quantity

I do not believe there is a request to return the available quantity on an entitlement, however you can request a partial fulfillment and specify a very large number for the count. Refer to FlcRightsIdOptionsSetPartialFulfillment

Re: Request Entire Quantity

I don't see FlcRightsIdOptionsSetPartialFulfillment in my headers. However, it looks like we are currently using 2016.08.1, or maybe 2016r2-sp1, of the c++ api. Is there an online source of documentation that I can review? Or a release history so I can verify that the FlcRightsIdOptionsSetPartialFulfillment is available in newer versions?

Re: Request Entire Quantity

The Flexera Product and License Center is where you will find the latest software and documentation to which you are entitled https://flexerasoftware.flexnetoperations.com . I'm not sure exactly when FlcRightsIdOptionsSetPartialFulfillment was added but most likely after the release you are using.

Re: Request Entire Quantity

Hey, thanks for your help so far. Here is what I have done. 1. I updated to the latest api 2. I swapped out FlcCapabilityRequestAddRightsId for FlcCapabilityRequestAddRightsIdWithOptions. I sent in options where I set FlcRightsIdOptionsSetPartialFulfillment to true. 3. I updated the count argument to a large number. Now when I execute the request it activates all the quantity and I can see that in the online license administration. However, the request actually returns status code 6, "The license key is invalid". Also I have not managed to capture the quantity that was activated. Can you give me any insight to this? Thanks again,

Re: Request Entire Quantity

Hey, thanks for your help so far. Here is what I have done. 1. I updated to the latest api 2. I swapped out FlcCapabilityRequestAddRightsId for FlcCapabilityRequestAddRightsIdWithOptions. I sent in options where I set FlcRightsIdOptionsSetPartialFulfillment to true. 3. I updated the count argument to a large number. Now when I execute the request it activates all the quantity and I can see that in the online license administration. However, the request actually returns status code 6, "The license key is invalid". Also I have not managed to capture the quantity that was activated. Can you give me any insight to this? Thanks again,

Re: Request Entire Quantity

Marking a Rights ID as “partial”To mark one or more rights IDs as “partial” in the capability request, provide this basic flow in the code:1. Define a rights ID options object using the FlcRightsIdOptionsCreate API.2. Use the FlcRightsIdOptionsSetPartialFulfillment API to include the “partial” flag as an option.3. For each rights ID that you want to add to the capability request and mark as “partial”, use theFlcCapabilityRequestAddRightsIdWithOptions API.

The guide provides a sample implementation of these steps. I cut and pasted the example code into the out of box capabilityrequest example provided in the toolkit. Results were the following: