Hello,
I'm trying to update the ruleset for an existing group. Querying the group's rules gives me the expected outcome.
{
"mgmtResponse": {
"@responseType": "operation",
"@requestUrl": "https://myPI/webacs/api/v1/op/groups/groupRules?groupId=84224",
"@rootUrl": "https://myPI/webacs/api/v1/op",
"groupRulesDTO": {
"rules": {
"rule": {
"criteria": 547,
"field": "UDF:StreetSer",
"matchCondition": "AND",
"operation": "EQUALS"
}
}
}
}
}
When I send the following JSON PUT request to https://user:pass@myPI/webacs/api/v1/op/groups/groupRules.json?groupId=84224
{
"groupRulesDTO": {
"rules": {
"rule": {
"criteria": 548,
"field": "UDF:StreetSer",
"matchCondition": "AND",
"operation": "EQUALS"
}
}
}
}
I get this error message.
{
"errorDocument": {
"httpResponseCode": 500,
"httpMethod": "PUT",
"exception": "com.cisco.ncs.nbi.groups.ops.GroupsServiceException",
"uriPath": "op/groups/groupRules",
"queryParams": "{groupId=[84224]}"
}
}
Any ideas?
Best regards,
Ron