Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Kerio API - calendar (Synchronization)
  •  
rhoman

Messages: 3
Karma: 0
Send a private message to this user
Hello,
I'm new to Kerio API, and I need some help.
I'm trying to do calendar on website, that will be synchronized with Kerio (seperate subpage for each user).

- can I log as "normal" user or only admin?
- Is it possible to get user's calendar events with kerio API or add new?

I'd really apreciate any help.

Best Regards
  •  
Kedar

Messages: 1320
Karma: 48
Send a private message to this user
No, it's not possible with Kerio API (Administration API for Kerio Connect)

Items are available via IMAP/CalDAV/CardDAV protocols, I suggest use CalDAV protocol for calendar integration.
  •  
rhoman

Messages: 3
Karma: 0
Send a private message to this user
Hi,
thanks for your answer.

can you tell me how can I access specific user calendar with Cal DEV? every calendar has it own URL or how does it work?

Regards
  •  
rhoman

Messages: 3
Karma: 0
Send a private message to this user
Ok, I'm much closer now, i know how to get events, and it works.
But i have problem with PUT.
I'm sending Vevent:
$event = "BEGIN:VCALENDAR";
$event .= "PRODID:-//Kerio Technologies//Kerio Connect//EN";
$event .= "METHOD:PUBLISH";
$event .= "VERSION:2.0";
$event .= "X-VERSION-KMS:6.2.0";
$event .= "X-CALENDARSERVER-ACCESS:PUBLIC";
$event .= "BEGIN:VTIMEZONE";
$event .= "TZID:Europe/Amsterdam";
$event .= "BEGIN:STANDARD";
$event .= "DTSTART:19961027T030000";
$event .= "TZOFFSETTO:+0100";
$event .= "TZOFFSETFROM:+0200";
$event .= "RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU";
$event .= "END:STANDARD";
$event .= "BEGIN:DAYLIGHT";
$event .= "DTSTART:19810329T020000";
$event .= "TZOFFSETTO:+0200";
$event .= "TZOFFSETFROM:+0100";
$event .= "RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU";
$event .= "END:DAYLIGHT";
$event .= "END:VTIMEZONE";
$event .= "BEGIN:VEVENT";
$event .= "DTSTAMP:20120526T173124Z";
$event .= "UID:1f353b67-fdf2-4e34-a783-df034f82afea";
$event .= "ORGANIZER;CN='Kamil K':mailto:kamil@localhost";
$event .= "SEQUENCE:0";
$event .= "SUMMARY:test 22";
$event .= "DTSTART;TZID=Europe/Amsterdam:20120526T150000";
$event .= "DTEND;TZID=Europe/Amsterdam:20120526T153000";
$event .= "CLASS:PUBLIC";
$event .= "PRIORITY:5";
$event .= "TRANSP:OPAQUE";
$event .= "X-MICROSOFT-CDO-BUSYSTATUS:BUSY";
$event .= "X-LABEL:0";
$event .= "END:VEVENT";
$event .= "END:VCALENDAR";

and event is created but without subject and dates, do you have any ideas why?
  •  
trentrichardson

Messages: 5
Karma: 0
Send a private message to this user
I was having this problem too with events not showing a date. Kerio wants you to use Content-Type: text/calendar when making the http request. I posted about this here( the forum is preventing me from posting the link since this is my first reply, so put together the pieces):
trentrichardson.com
/2012/06/22/put-caldav-events-to-calendar-in-php/
  •  
hansdinges

Messages: 1
Karma: 0
Send a private message to this user
i try to connect to kerioscalendar via php too. did you find a solution for communicating to kerios calendar with php?
thanks for your help..
Previous Topic: new custom footer
Next Topic: Emails sent in gibberish
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Oct 19 22:10:22 CEST 2017

Total time taken to generate the page: 0.00434 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.