cancel
Showing results for 
Search instead for 
Did you mean: 

How the heck do you get the "End-Systems" with API (GraphQL)

How the heck do you get the "End-Systems" with API (GraphQL)

sbsaylors
New Contributor

Trying to get to XIQ -> Control -> End-Systems (Last Seen) using the GraphQL.  Just cannot find it.   Here's the GUI, but I want to call it in XIQ to get the "MACs" and the "Last Seen" dates.

sbsaylors_0-1753834445666.png

I've tried the below, but doesn't seem to be the right field.

{
accessControl {
      allEndSystemMacs
     }
}

Also tried, but it's just way to much info. I just need the machine name and the last seen date of the MACs.
{
accessControl {
     allEndSystemsAsProperties(maxResults: 100)
     }
}




 

1 REPLY 1

Zdeněk_Pala
Extreme Employee

Hi, 

here is example:


Zdenk_Pala_0-1753880361643.png

 

{accessControl {endSystemByMac(macAddress:"00:50:56:BC:75:14"){endSystem{lastSeenTime}}}}

You can query the list of end-systems and then query attributes you want for each End-system

Regards Zdeněk Pala
GTM-P2G8KFN