Good day,
I would like to ask about the error i encountered when I tried to call
http://localhost:8080/syncope/rest/users/b58456e3-8cb7-4183-8456-e38cb73183a4
This is my sample JSON BODY:
{
"plainAttrs": [
{
"schema":"firstname",
"attrTO": {
"schemaInfo": {
"anyTypeClass":"BaseUser",
"@class":"org.apache.syncope.common.lib.to.PlainSchemaTO",
"key":"firstname"
}
},
"values": [
"myname"
],
"operation":"ADD_REPLACE"
}
],
"key":"b58456e3-8cb7-4183-8456-e38cb73183a4"
}
ERROR:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><syncope2:error
xmlns:syncope2="http://syncope.apache.org/2.0"><elements><element>UnrecognizedPropertyException:
Unrecognized field "schema" (class
org.apache.syncope.common.lib.patch.AttrPatch), not marked as ignorable (2
known properties: "attrTO", "operation"])
at [Source: (org.apache.cxf.transport.http.AbstractHTTPDestination$1);
line: 4, column: 14] (through reference chain:
org.apache.syncope.common.lib.patch.UserPatch["plainAttrs"]->java.util.HashSet[0]->org.apache.syncope.common.lib.patch.AttrPatch["schema"])</element></elements><status>500</status><type>Unknown</type></syncope2:error>
Hope you can help me!
Thank you!
Regards,
Jim
--
Sent from: http://syncope-user.1051894.n5.nabble.com/