- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2022 03:01 PM - edited 04-20-2022 06:40 AM
I've been able to successfully add endpoints in bulk using the PUT endpoint/bulk/submit API call, but I'm having issues finding an XML template that outlines how to add custom attributes. Can anyone assist? This is what I'm using now.
Thanks
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:endpointBulkRequest operationType="create" resourceMediaType="vnd.com.cisco.ise.identity.endpoint.1.0+xml" xmlns:ns4="identity.ers.ise.cisco.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns4:resourcesList> <ns4:endpoint> <groupId>xxxxxxxxxxxxxxxxxxxxxxxxxxxxx</groupId> <mac>00:00:00:00:00:AA</mac> <staticGroupAssignment>true</staticGroupAssignment> <staticProfileAssignment>false</staticProfileAssignment> </ns4:endpoint> <ns4:endpoint> <groupId>xxxxxxxxxxxxxxxxxxxxx</groupId> <mac>00:00:00:00:00:BB</mac> <staticGroupAssignment>true</staticGroupAssignment> <staticProfileAssignment>false</staticProfileAssignment> </ns4:endpoint> </ns4:resourcesList> </ns4:endpointBulkRequest>
Solved! Go to Solution.
- Labels:
-
APIs
-
Identity Services Engine (ISE)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 07:10 AM - edited 04-20-2022 07:10 AM
You must first define your custom attributes in the ISE GUI - you cannot add/create them via API.
This is shown in ISE ERS API Examples :
- Create an Endpoint with Custom Attributes
- Define ISE Endpoint Custom Attributes
- Create an Endpoint with Custom Attributes
Once you have done that, I recommend doing a GET on an endpoint with custom attributes to see the format and you can use that for your adding/updating your existing endpoints.
ISE APIs are publicly documented @ https://cs.co/ise-api including the one for endpoint. Note that if you open up the POST configuration it provides an example body and by changing the Parameter content type to application/xml it will show you a complete example including custom attributes:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 07:10 AM - edited 04-20-2022 07:10 AM
You must first define your custom attributes in the ISE GUI - you cannot add/create them via API.
This is shown in ISE ERS API Examples :
- Create an Endpoint with Custom Attributes
- Define ISE Endpoint Custom Attributes
- Create an Endpoint with Custom Attributes
Once you have done that, I recommend doing a GET on an endpoint with custom attributes to see the format and you can use that for your adding/updating your existing endpoints.
ISE APIs are publicly documented @ https://cs.co/ise-api including the one for endpoint. Note that if you open up the POST configuration it provides an example body and by changing the Parameter content type to application/xml it will show you a complete example including custom attributes:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 07:34 AM
Hi Thomas,
Thanks for the help, I should have been a little more verbose in my question. I have been able to create single endpoints with custom attributes using json, the attributes already exist in ISE. It's the XML for the bulk call that was tripping me up. I think I see how to get it working in the screenshot you shared, but my other question is, I'm not able to load the swagger UI. I've tried both https://{ise-ip}/api/swagger-ui/index.html and also with port 9060, without the port, it just takes me to the admin login, with the port, I get an error that the page cannot be found. Any advice?
