Try the fastest and simplest way to install ONLYOFFICE

Event sharing with Community Server API

Integration questions/issues

Event sharing with Community Server API

Postby 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: ... d%7d/event

Thanks beforehand.
Posts: 1
Joined: Sat Feb 24, 2018 9:46 am

Re: Event sharing with Community Server API

Postby Maxim » Mon Feb 26, 2018 1:53 pm

Hello ferhat.ozugurlu!
example event.png
example event.png (43.01 KiB) Viewed 126 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
Posts: 1430
Joined: Tue Oct 11, 2016 2:34 pm

Return to API

Who is online

Users browsing this forum: No registered users and 1 guest