[OGo-XML-RPC] Delete cyclic appointments

Helge Hess xmlrpc@opengroupware.org
Thu, 7 Sep 2006 14:37:08 +0200


On Sep 7, 2006, at 09:15, Lyuba Royachka wrote:
> I'm using XML-RPC interface to create and manage appointments.
> The appointment.delete method works fine for deleting a single  
> appointment, but I want to know if there is a way to delete all  
> appointments in a cycle in one turn. The XML-RPC interface is  
> missing such e method. And also the parentDateId for the  
> appointments doesn't appear in the appointment XML-RPC structure so  
> that I could use it to delete cyclic appointments "by hand".
>
> I hope you could suggest any decision for my problem.

I've added a new appointments.deleteByKey in trunk. Can be used like  
this:

   ok = appointment.deleteByKey(12345, true);

The second argument says whether all events of a cycle should be  
deleted.

Greets,
   Helge
-- 
Helge Hess
http://docs.opengroupware.org/Members/helge/