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

NBI/GraphQL to return endSystems filter by username

NBI/GraphQL to return endSystems filter by username

Wesley_Jones
New Contributor

I'm working on some queries to the NBI interface and having trouble filtering the endSystems returns. Here's my query:

query {
  accessControl {
    endSystems(maxResults: 25) {
      endSystems {
        firstSeenTime
        lastSeenTime
        ipAddress
        macAddress
        username      
      }
    }
  }
}

I would like this result to only return endSystems owned by a specific username. I doesn't appear that the filtering or any of the common arguments for GraphQL work.

3 REPLIES 3

Wesley_Jones
New Contributor

Any ideas on how to gather all of the endSystems data?

Robert_Haynes
Extreme Employee

Hello Wesley.

Our GraphQL / NBI implementation in XIQ-SE does not appear to support filtering. Whil you can limit (as you showed) the maxResults or only return firstResult, there is no built-in capability that I can find to auto sort this data or filter based on a selected criteria.

Whatever is consuming this result data would have to take the results and filter on it.

GTM-P2G8KFN