Re: Add participant to appointment

Adam Tauno Williams <[email protected]> Mon, 21 Nov 2005 09:28:30 -0500
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
> I am trying to add participants to appointments, according to the XML
> RPC docs I just need to add a person in an array called participants of
> the insert request. I did that and the server returned no error, but the
> returned appointment misses the participant I tried to add (only myself
> is listed).

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.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDgdmOLRePpNle04MRAlbjAJ0T6K6kwdgrNatUIUqDDzpvLohArQCePGB8
tE0a9Ys/tEdbdgmb5WBGe/Q=
=jjiF
-----END PGP SIGNATURE-----