It's only through the web API. You can, however, get the product key using the GetPKey() function. And with the product key you can get the product key id. The product key id has absolutely no use outside of the web API.
Is there a way to get the pkey_id using TurboActivate or is this only available through WEB API?
It's only through the web API. You can, however, get the product key using the GetPKey() function. And with the product key you can get the product key id. The product key id has absolutely no use outside of the web API.
Yes I am using GetPKey(). I was wondering if I can reduce the number of web API calls and store that pkey_id during initial activation. Thank you for your prompt response.
No, problem. Glad to help.
You could always store the product key to product key id association locally on the server. Cache it in some key-value store like memcached or redis.
It's up to you. Whatever is easier.