I'm wondering whether it's possible (and if so, what the syntax is) to grant a sharing request using zmsoap.
This is my best guess at the syntax:
zmsoap -v -m user1 -p password -e FolderActionRequest/action @op=grant @id=7 -e grant @perm=rwidx @gt=usr @inh=1 @d=user2
but it generates this request which isn't right:
<action op="grant" id="7" perm="rwidx" gt="usr" inh="1" d="user2">
What I can't work out is how to assocate the @perm @gt @inh and @d attributes with <grant> instead of <action> - it seems like the the command line ordering isn't respected.
If it's not possible to do this via zmsoap, that's cool I know there are other options here ie zmprov and direct use of the SOAP api, but zmsoap is handy for testing.