Re: Add participant to appointment

Mirco Bauer <[email protected]> Mon, 21 Nov 2005 15:40:18 +0100
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Organization GSD Software Design GmbH
Message-ID <1132584018.5027.39.camel@flyinghorse>
On Mon, 2005-11-21 at 09:28 -0500, Adam Tauno Williams wrote:
> Nope.  You need to create the appointment and then add participants.
> Creating an appointment with participants does not work.  Use
> appointment.setParticipants, it takes the primary key of the appointment
> (id) and then an array of participant ids (either teams, contacts, or
> both).  Currently I don't believe adding a resource as a participant
> works.

Ah so that's what I missed.
I tried appointment.setParticipants and it works perfect. 
Thanks for the info!

What I miss in the XML-RPC docs is what fields are required so the
request can be processed, like adding the whole person object to the
setParticipants seems to be overkill to me :) (overkill as in overhead,
dup data etc.) 

-- 
Yours sincerely,

Mirco Bauer

Linux-Administration
System-Development
Network-Support
GSD Software Design GmbH
<http://www.gsd-software.net>
<[email protected]>
+49 40 72692504
signature.asc (application/pgp-signature, 481 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUAQ4HcUnEn5avu+UbIAQJBrQf8C1xpBceXeMBsdraMg/i1DNb4TJNDw1tZ
P4EPXKWRRr5J2daWmbNuRfjpOs+d03Y4MI2fGBbWYJYVfyygVsRYz/D+QteAwCTN
fk3OrjLp4ZNqewXTsxBdRYjOCTOReKQBzxrRuLPQWn5/k7iiYHT6EZvLVv1tOpkG
7Tyw2cT8hf9mKZnQvEhaSWGe12OsU2xCBUgD7+kAXc+AGl2QZQk861RND01e5foT
+KvX2rZuKqFbEs/ppWvnS3VhxMtrPMNSs7DROGEBqlCw0Z4L+svWMvNy7+0coK+M
+h8SulNiFZ+6cW0l5YiSKpLtGZDFZUdD3iHwCYpuTS3Pbec6gwCydQ==
=uHBt
-----END PGP SIGNATURE-----