I want to share a map into a group. I use a post call
https://<portal_url>/sharing/rest/content/users/<user_owner>/shareItems/?f=json
body:
items=35767ae53e0f497e9e5789ca90ad6f77
groups=d67c7123e9454d678de355cbdb57e6be
confirmItemControl=true
everyone=false
org=false
and I get this has result:
I should receive something like that:
<SPAN class="">{</SPAN> <SPAN class="" style="color: #a31515;">"results"</SPAN><SPAN class="">:</SPAN> <SPAN class="">[</SPAN> <SPAN class="">{</SPAN> <SPAN class="" style="color: #a31515;">"itemId"</SPAN><SPAN class="">:</SPAN> <SPAN class="" style="color: #a31515;">"<SPAN style="color: #505050; background-color: #ffffff;">35767ae53e0f497e9e5789ca90ad6f77</SPAN>"</SPAN><SPAN class="">,</SPAN> <SPAN class="" style="color: #a31515;">"success"</SPAN><SPAN class="">:</SPAN> <SPAN class="" style="color: #0000ff;">true</SPAN><SPAN class="">,</SPAN> <SPAN class="" style="color: #a31515;">"notSharedWith"</SPAN><SPAN class="">:</SPAN> <SPAN class="">[</SPAN> <SPAN class="">]</SPAN> <SPAN class="">}</SPAN> <SPAN class="">]</SPAN><SPAN class="">}</SPAN>Why do I get this empty result? Evidently the sharing is not working but I do not even receive a success : false result.
I login into the portal UI and I can share the map easily to the group.
Please help.