AnsweredAssumed Answered

Json input PUT /alfresco/wcservice/api/groups/{shortName}?

Question asked by relax on Feb 15, 2010
Latest reply on Feb 15, 2010 by relax
Hello,
I have a User Group named test, then I want to rename display name in hellotest.

I try with this json input
{
   "data":{
        "authorityType" : "GROUP",
        "shortName" : "test",
        "fullName" : "GROUP_test",
        "displayName" : "hellotest",
       
        "isRootGroup": true,
        "isAdminGroup": false,
        "groupCount": 0,
        "userCount": 0,        
       
        "url" : "/api/groups/test"
       
}

}
with url http://192.168.11.235:8080/alfresco/service/api/groups/test in PUT mode.

Is this correct json input?

The response of WizTools.org RESTClient 2.3 is HTTP/1.0 200 OK with this json output
{
   "data":{
        "authorityType" : "GROUP",
        "shortName" : "test",
        "fullName" : "GROUP_test",
        "displayName" : "test",
       
        "isRootGroup": true,
        "isAdminGroup": false,
        "groupCount": 0,
        "userCount": 0,        
       
        "url" : "/api/groups/test"
       
}

}
but the name of the group is still test in Groups Management.

Outcomes