Re: Add participant to appointment
Adam Tauno Williams <[email protected]> Mon, 21 Nov 2005 10:53:55 -0500
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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.) You can also always just send the id of an object as a parameter; this seems to work for just about everything but insert and update (obviously). The documentation is pretty horrible. -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc