Hi,
I’m using rest api to read card from CMDBuild.
Now I’m trying to modify a card.
So I send a Put http request to url
http://hostname:port/cmdbuild/services/rest/v3/classes/{assetClass}/cards/{cardID}
and in body I put this json
{“Attr”:“Active”}
Cmdbuild respond with 500 and te error is
:"org.cmdbuild.utils.ws3.utils.Ws3Exception: error processing request =< ws3rest:put:classes/ApparatoDiRete/cards/4146466 >, caused by: org.cmdbuild.utils.ws3.utils.Ws3Exception: error processing request with handler = Ws3RequestMethodHanlder…
Cannot construct instance of java.util.LinkedHashMap
(although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value
Can anyone help me?
thanks in advance