Asignar un grupo a un grupo padre con API REST
1 answer
Hello, sorry, I am not able to provide an answer in Spanish, but I believe that an answer in English will be better than nothing :) You should do a POST on an url like:
http://yourserver:8080/bonita/API/identity/group/
with a body like:
{"icon":"","name":"test","displayName":"","parent_group_id":"5","description":""}
where name will be your group name and parent_group_id is the ID of the parent group into which you add a new group. Or, if you are updating an already created group, you should do a PUT on a url like:
http://yourserver:8080/bonita/API/identity/group/101
(where the number in url is the ID of your group), using a body like:
{"id":"101","icon":"","name":"test","displayName":"test","parent_group_id":"7","description":""}
where id is the ID of your group, and parent_group_id is the ID of the parent group into which you want to add your group. Espero que esto te ayudara, Haris
Comments
Hello .
I have a problem similar to what you had.
Can you share what file you modified to make it work?
Y ..
Can you share the entire content of that file so that I can read it so I understand what is wrong with my permissions?
If you can send it here. weglineduardo@hotmail.com. Greetings and thanks