We have completed developing an application on appFoundry and are currently in the process of calculating customer billing. We have set up the billing definition as Metered Highwatermark, and we need to send daily customer usage data to Genesys. We are wondering if there is a way to check if a customer is using a named license or a concurrent license to accurately calculate daily usage.
Hi Zino, thanks for your response.
Could you please let me know if there is any API that can help us calculate the number of concurrent agents for an org in a day? Or is there any other relevant information regarding this issue?
I appreciate your assistance.
Hi Zino, I've tried a few APIs listed below, but it seems like I'm not getting the results we need.
I've tried the following APIs: /api/v2/analytics/users/details/query, /api/v2/analytics/users/activity/query, /api/v2/users, but none of them have been helpful.
Could you please suggest some APIs that we should look at to calculate the number of concurrent agents and named agents? I would be very grateful if you could provide us with some examples of those APIs.
Thank you for your help.
Currently reaching out to the appropriate team for your question, in the mean time, a good place to get an answer would also be Genesys Cloud Community
There is no way for an AppFoundry vendor to determine how a customer's Genesys Cloud org is licensed (named or concurrent), nor should you really care. What matters is how they are purchasing your licenses? If you want to offer your software in both named or concurrent licensing schemes then you should setup a SKU for each with Genesys and let the customer decide how they want to license your product.
Many vendors don't even have the concept of concurrency, so it is not unreasonable to license your software on a named basis only and therefore only have a single SKU to represent those named licensed.
Following up with your question, there is no api endpoint which provides that type of information. Customers can use the Concurrent Usage Report to see which users contributed to their concurrent billing.
I need some help figuring out how the vendor can track and report a customer organization's daily usage to Genesys. The Genesys documentation says the vendor needs to send daily usage data: https://developer.genesys.cloud/appfoundry/billing/premium-metering-apps
And we're wondering if there are any APIs we can use to get this data.
Vendors are expect to count whatever it is they are counting and then report that count to Genesys to charge for that usage. So if you want to count users then you need to track users that login and access your UI. If you want to track interaction handled, then you'll need to keep track of the number of interactions that were processed by your system.
Genesys tracks usage of Genesys developed products but not 3rd party products. Each AppFoundry vendor is expected to track the use of their own license usage and report that to Genesys using our Metered Billing API: https://developer.genesys.cloud/appfoundry/billing/premium-metering-apps
Can you give us a bit more info on how to set this SKU up? We're kind of stuck on figuring out how to tell if users are using Concurrent or Named licenses so we can work out the usage.
If you setup two different SKUs with Genesys, one for named licensing and one for concurrent licensing of your product, then we will create two App IDs for each of those. When you call the Usage API then you can pass those App ID names as a CSV string in the appIds query parameter. The Usage API will return all subscriptions that contains that items. That should indicate to you with customers are licensed using your named SKU and which are licensed using your concurrent SKU. You should then count appropriately for each customer and report that usage to use via the Metered Billing API.
So just to be clear: Is there no way to find out the high watermark of customer concurrent users in a 24 hour period? I believe with your multi-SKU solution we would simply know the number of customers using named vs concurrent but not the actual concurrent login numbers for that customer. Can you confirm?
Is here any way to get the number of concurrent logins daily for a customer even through a reporting API perhaps? Our app doesn't require all agents to login so we can't reliably track that way.