08-08-2019 11:16 AM
I am submitting the following XML data:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:endpointBulkRequest operationType="update" resourceMediaType="vnd.com.cisco.ise.identity.endpoint.1.0+xml" xmlns:ns6="sxp.ers.ise.cisco.com" xmlns:ns5="trustsec.ers.ise.cisco.com" xmlns:ns8="network.ers.ise.cisco.com" xmlns:ns7="anc.ers.ise.cisco.com" xmlns:ers="ers.ise.cisco.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns4="identity.ers.ise.cisco.com"> <ns4:resourcesList> <ns4:endpoint description="mac added 01"> <mac>2C:F0:EE:42:E1:B2</mac> <groupId>12abb870-295a-11e9-aed1-76f66f54fcc8</groupId> <staticGroupAssignment>false</staticGroupAssignment> <staticProfileAssignment>false</staticProfileAssignment> </ns4:endpoint> <ns4:endpoint description="mac added 02"> <mac>80:D2:1D:32:3E:77</mac> <groupId>12abb870-295a-11e9-aed1-76f66f54fcc8</groupId> <staticGroupAssignment>false</staticGroupAssignment> <staticProfileAssignment>false</staticProfileAssignment> </ns4:endpoint> </ns4:resourcesList> </ns4:endpointBulkRequest>
The response from ISE is as follows:
{ "ERSResponse" : { "operation" : "PUT-executeBulk-endpoint", "messages" : [ { "title" : "XML Schema Validation Failed :: at line 1, column 550 : cvc-complex-type.2.4.a: Invalid content was found starting with element 'groupId'.
One of '{mdmAttributes, portalUser, profileId, staticGroupAssignment}' is expected.", "type" : "ERROR", "code" : "Schema validation exception" } ], "link" : { "rel" : "related", "href" : "https://omf-01-ise01:9060/ers/config/endpoint/bulk/submit", "type" : "application/xml" } } }
It appears that putting <groupId>aab1234-xx-xx-etc</groupId> is not an option for a bulk update. Is it possible?
Solved! Go to Solution.
08-11-2019 08:49 AM
Take a look at the previous discussion on Re: Add multiple endpoints to a specific Cisco ISE Identity Group via API using Bulk CREATE call
08-11-2019 08:49 AM
Take a look at the previous discussion on Re: Add multiple endpoints to a specific Cisco ISE Identity Group via API using Bulk CREATE call
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