08-26-2014 08:44 AM - edited 03-10-2019 09:58 PM
The ISE External RESTful Service API says that the endpoint registration request should have an Accept header, but the example given uses a Content-Type header. When I try to use an Accept header, I get a Resource media type exception titled "Wrong media type, check Content-Type request header". Using the Content-Type request header results in a CRUD operation exception titled "Canot find endpoint with ID register". It looks like the server thinks this is an update endpoint request. The update endpoint API also has an Accept header in the description, but a Content-Type header in the example. Detailed information follows
Request: PUT
URL = https://192.168.001.001:9060/ers/config/endpoint/register
Content-Type header = application/vnd.com.cisco.ise.identity.endpoint.1.0+xml
Content =
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:endpoint
xmlns:ns2="ers.ise.cisco.com"
xmlns:ns3="identity.ers.ise.cisco.com" id="endpointID" description="description-465">
<link type="application/xml" href="https://192.168.001.001:9060/ers/config/endpoint/endpointID" rel="self"/>
<groupId><groupID</groupId>
<identityStore></identityStore>
<identityStoreId></identityStoreId>
<mac>00:11:22:33:44:90</mac>
<portalUser>user90</portalUser>
<profileId>profileID-46</profileId>
<staticGroupAssignment>true</staticGroupAssignment>
<staticProfileAssignment>false</staticProfileAssignment>
</ns3:endpoint>
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:ersResponse
xmlns:ns2="ers.ise.cisco.com" operation="PUT-update-endpoint">
<link type="application/xml" href="https://192.168.001.001:9060/ers/config/endpoint/register" rel="related"/>
<messages>
<ns2:message type="ERROR" code="CRUD operation exception">
<title>Canot find endpoint with ID register</title>
</ns2:message>
</messages>
</ns2:ersResponse>
Any help would be appreciated.
09-05-2014 06:32 AM
This could be server side error type 500 I think
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide