OTRSAppointmentCalendar API

English! place to talk about development, programming and coding
Post Reply
Laurens
Znuny newbie
Posts: 22
Joined: 26 Apr 2016, 08:23
Znuny Version: 5.0.4
Real Name: Laurens Van Acker
Company: Myriade N.V.

OTRSAppointmentCalendar API

Post by Laurens »

Hi

Is there an API available for the new OTRSAppointmentCalendar plugin in the Free OTRS version?
As a webservice or to interact with it from another Perl plugin?

I would like to do two things with it:

1) Automatically import a iCalendar file at night. I see it already can manually., but would be nice to automate this.
2) Check if a calendar has an appointment at this moment or not (busy/free at current timestamp).

Thanks
Laurens
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRSAppointmentCalendar API

Post by reneeb »

To achieve 1), you could create a cronjob, don't you?

For the second goal you could write a script that uses this method: https://github.com/OTRS/OTRSAppointment ... t.pm#L1647
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply