I am trying to create an Endpoint and assign it to a static group with ERS. I have it working fine with XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:endpoint xmlns:ns2="ers.ise.cisco.com" xmlns:ns3="identity.ers.ise.cisco.com">
<groupId>cabb7fc0-5d4d-11e7-b01c-024226b23b4f</groupId>
<identityStore></identityStore>
<identityStoreId></identityStoreId>
<mac>11:22:33:44:55:66</mac>
<portalUser></portalUser>
<profileId>aa0e8b20-8bff-11e6-996c-525400b48521</profileId>
<staticGroupAssignment>true</staticGroupAssignment>
<staticProfileAssignment>false</staticProfileAssignment>
</ns3:endpoint>
I am trying to get it to work with JSON. I thought I would just need to specify the same parameters as I did with XML:
{
"ERSEndPoint" : {
"groupId" : "cabb7fc0-5d4d-11e7-b01c-024226b23b4f",
"identityStore" : "",
"identityStoreId" : "",
"mac" : "11:22:33:44:55:66",
"portalUser" : "",
"profileId" : "aa0e8b20-8bff-11e6-996c-525400b48521",
"staticGroupAssignment" : true,
"staticProfileAssignment" : false,
}
}
I am getting an error at the second to last bracket close and ISE says:
Invalid JSON Input: Unexpected character ('}' (code 125)): was expecting double-quote to start field name\n at [Source: java.io.StringReader@7c32de53; line: 11, column: 4]",
Does JSON require all the fields to be present?
Thanks.