cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Get XMC licenses via script or Rest-API

Get XMC licenses via script or Rest-API

StephanH
Valued Contributor III
Hello,

is there a way to get the current licenses via script or REST-API?

I need the info how many End-Systems for NAC are licensed to proceed in another script.
If I can get the license string it's easy do find out that value.

Or is there another place where I can find the information how many end systems for NAC are licensed?

Best regards
Stephan

Regards Stephan
1 ACCEPTED SOLUTION

StephanH
Valued Contributor III

As I have now finally learned, there is unfortunately no way to query the licenses via the API.
 

Regards Stephan

View solution in original post

15 REPLIES 15

StephanH
Valued Contributor III
Hello James,

I do not know a printed documentation. But I think all you need is here:

GraphiQL for testing and documentation

https://:8443/nbi/graphiql/index.html



GraphQL schema

https://:8443/nbi/graphql/schema.idl



GraphQL API

https://:8443/nbi/graphql

Have fun!

Best regards
Stephan
Regards Stephan

StephanH
Valued Contributor III
Hello Alexander,

thank you for you hint.

I love the Rest(SOAP)-API but the report_web_services are quite complex (for me).
Because of you have to figure out the correct data types Therefore to read the license info from the mentioned file is much easier.

But you hint with GraphiQL is a good alternative.

Best regards
Stephan
Regards Stephan

Drew_C
Valued Contributor III
Thanks for sharing!

StephanH
Valued Contributor III
One little hint.
I do not care about other licenses in the license file (maybe there are assessment licenses or anything else) with the script. Because in my case I have only NAC licenses!!!
Regards Stephan
GTM-P2G8KFN