Pull Network Status via API

Chhaya-Cricket
New here

Pull Network Status via API

iam working on PS script and would like to pull the Network status using API.

I tried many ways but still no luck . i used below API -

/organizations/{organizationId}/devices/statuses/overview

GET /networks/{networkId}/devices GET /networks/{networkId}/devices?online=false

GET /devices/{serial}/wireless/healthScores?uptime=week

 

 

can anyone please help me exporting this data via API GET

 

8 Replies 8
MartinS
Building a reputation

Could you explain a bit more what you're trying to do please? Exactly what statuses are you looking to get?

---
COO
Highlight - Service Observability Platform
www.highlight.net
Chhaya-Cricket
New here

iam trying to pull the Network status - if its online, offline , alerting , this status is not getting pulled by API ..i need some help to get the correct API

 

ChhayaCricket_0-1739449209615.png

 

MartinS
Building a reputation

Chhaya-Cricket
New here

sure ..let me try this..Thank you for the information 

 

Chhaya-Cricket
New here

i tried still l not retrieving correct status, also i see in the API documentation its been Deprecated

ChhayaCricket_0-1739453232939.png

 

MartinS
Building a reputation

Hi, yes that call is deprecated - you need to use the  Get Organization Devices Availabilities call

 

What errors or output are you getting?

---
COO
Highlight - Service Observability Platform
www.highlight.net
Chhaya-Cricket
New here

iam not getting any error , the Device status pulled in not correct as per my tenant ...i have almost 100+ networks online ,however the script is showing as Offline and unknown 

for MX68 AND MR28 

 

MartinS
Building a reputation

Sorry it's hard to know what's going on without seeing more detail. If you'd like, I'm happy to put your org into our service observability app and we can see from that what the API is reporting as up or down? 

https://marketplace.cisco.com/en-US/listing?q=Highlight&locale=en-US

---
COO
Highlight - Service Observability Platform
www.highlight.net
Get notified when there are additional replies to this discussion.