Event sharing with Community Server API

Integration questions/issues
Post Reply
Posts: 1
Joined: Sat Feb 24, 2018 9:46 am

Event sharing with Community Server API

Post by ferhat.ozugurlu » Sat Feb 24, 2018 9:57 am

Hi everyone,

I apologize beforehand if I ask a basic question.

I use Community Server API and having problems with sharing an event in a calendar with another user. I can create/update an event but I can't share it while creating/updating. According to the documentation I should send a list of sharing options in the header with a parameter called "sharingOptions". I've tried many things but haven't been able to figure out what kind of an object the sharingOptions list's objects should be. Does any of you have an idea what to do? Here is the corresponding documentation link:

https://api.onlyoffice.com/portals/meth ... d%7d/event

Thanks beforehand.

Posts: 1844
Joined: Tue Oct 11, 2016 2:34 pm

Re: Event sharing with Community Server API

Post by Maxim » Mon Feb 26, 2018 1:53 pm

Hello ferhat.ozugurlu!
example event.png
example event.png (43.01 KiB) Viewed 828 times

Code: Select all

sharingOptions = [{
actionId:	"read"
isGroup:	false 
itemId:	052324d7-7a2b-46f1-a1e7-6553324fc645  //userID
}, {
actionId:	"full_access"
isGroup:	false
itemId:	3fc5bdbc-2e16-4b3d-865c-bcd34880098b  //userID

Post Reply