Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
viewer-restfulobjects-2.0.0
-
None
Description
As per 14.2 in RO Spec, making a PUT request to /objects/
{domainType}/
{instanceId}, should update the properties values. I tried several different formats for the body [1], [2], [3], but got the same error in each case [4].
[1] this - which is valid according to the spec, I think - didn't work:
{
"cost" :
,
"description" :
,
"category" :
}
[2] nor did this:
{
"members:" {
"cost" :
,
"description" :
,
"category" :
}
}
[3] nor did this:
{
"cost" :
,
"description" :
,
"category" :
}
[4]Status Code: 400
Server: Jetty(6.1.26)
Content-Length: 0
Warning: 199 RestfulObjects Could not find properties list (no members[memberType=property]); got {"cost":
,"description":
{"memberType":"property","value":"An updated description"},"category":{"memberType":"property","value":"Professional"}}
Content-Type: application/json