cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2056
Views
2
Helpful
2
Replies

Query endpoints with REST API

rmueller@cisco.com
Cisco Employee
Cisco Employee

Hi all,

I have two questions about query the endpoint database via REST API with respect to ISE version 2.1:

1. With the query "https://ise-ip:9060/ers/config/endpoint" it should be possible to get a list of the complete endpoint database. In my lab installation, ISE knows about 900 endpoint, but the query only brings back the first 20. This is how the response looks like:

<ns3:searchResult total="901">

<ns3:nextPage rel="next" href= "" type="application/xml"/>

<ns3:resources>

<ns5:resource id="d5a2e740-74f8-11e1-a01a-005056920013" name="00:00:0C:07:AC:00">

<link rel="self" href= "https://10.49.238.64:9060/ers/config/endpoint/d5a2e740-74f8-11e1-a01a-005056920013" type="application/xml"/>

</ns5:resource>

<ns5:resource id="bece1b80-a382-11e1-bcb7-0050569d0005" name="00:02:FC:BE:1D:72">

<link rel="self" href= "https://10.49.238.64:9060/ers/config/endpoint/bece1b80-a382-11e1-bcb7-0050569d0005" type="application/xml"/>

</ns5:resource>

.

. 18 more records

.

</ns3:resources>

</ns3:searchResult>

I am using REST plugin in Firefox to test this. Is this a limit of the REST plugin I am using, or is there something which has to be set on ISE to get the full list of endpoints?

2. When I query a single endpoint via REST API, I only get a few attributes for that endpoint in the response. I was expecting to get all the attributes (like MAC-OUI, profiled OS etc...) which I see when I query the endpoint within the ISE GUI. Is this a current limitation of the REST API?

Thanks in advance.

Roland

1 Accepted Solution

Accepted Solutions

hslai
Cisco Employee
Cisco Employee

Searching and Filtering shows the parameters "page" and "size" and 20 items a page/fetch is the default.

ERS API for endpoints are not currently supporting to retrieve all attributes. Please use ISE 2.1 content visibility or ISE EAT tool instead.

View solution in original post

2 Replies 2

hslai
Cisco Employee
Cisco Employee

Searching and Filtering shows the parameters "page" and "size" and 20 items a page/fetch is the default.

ERS API for endpoints are not currently supporting to retrieve all attributes. Please use ISE 2.1 content visibility or ISE EAT tool instead.

Understood.

Thanks a lot.

Roland