cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1037
Views
0
Helpful
4
Replies

Prime Infrastructure 3.5

h.younis
Level 1
Level 1

Hello 

My PI is out of support and I was wondering if this affects the API calls I'm making, when ever I make https://server_ip/webacs/api/v1/data/Devices for example, the response will be count = 0 and no data is coming back. 

and for the APIs that going with /op/something I do get information which is weird. so anyone faced this issue?

Thank you

4 Replies 4

Hello,

 

out of support meaning...the license is expired ?

Yes, but AFAIK that the API still works

Hello,

 

does the output work for other commands (such as the one below) ?

 

https://SERVER/webacs/api/v1/op/statisticsService/device/topNCPU?range=1&topN=5

 

The license controls the number of devices that can be managed, so I guess with an expired license, it makes sense that the device count is 0.

 

What if you add:

 

https://server_ip/webacs/api/v1/data/Devices.full=true

 

to that URL ?

 

 

Hi 

for the first one it gives 

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://server/webacs/api/v1/op/statisticsService/device/topNCPU?range=1&amp;amp;topN=5" rootUrl="https://server/webacs/api/v1/op"></mgmtResponse>
 
and the second request gives: 
<?xml version="1.0" ?>
<errorDocument>
    <httpResponseCode>404</httpResponseCode>
    <httpMethod>GET</httpMethod>
    <message>No such entity type as Devices.full=true.-PRS-102</message>
    <id>presentation.PRS-102</id>
    <uriPath>data/Devices.full=true</uriPath>
    <queryParams>{}</queryParams>
</errorDocument
 
=================================================================================
I checked the GUI using same credentials I didn't get devices as well, the user has (NBI read, write and credentials) rules with super admin rule as well
what confuses me that the prime still reads the data with the main root user so maybe i should try with it.  

Review Cisco Networking for a $25 gift card