[OGo-XML-RPC] Appointments

Adam Tauno Williams xmlrpc@opengroupware.org
Mon, 06 Mar 2006 13:28:32 -0500


--=-+zEiuDHJIr3suJEFq+0u
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> i worder if there is a more uptodate xml-rpc api decription than the one =
that can be found at "http://docs.opengroupware.org/Members/bjoern/xml-rpc-=
de.pdf" which is version 4.1.

No, but ask specific questions and I'll be happy to answer.  That
document isn't so great,  but with time you realize it is better than
you might think (how is that for cryptic! :)  I'm the author of POGI
(PHP for OGo) and MOGI (Mono/.NET for OGo), so I've become pretty
familiar with the API.

> i tried to insert an appointment, but in this description there are no hi=
nts to the appointment types and how they are defined.=20
> i also miss an attribute for a title or name of the appointment.

In C# I initialize a new appointment document like -=20
appointment =3D new XmlRpcStruct();
appointment.Add("startDate", DateTime.Now);
appointment.Add("endDate", DateTime.Now.AddHours(1));
appointment.Add("title", "");
appointment.Add("comment", "");
appointment.Add("location", "");
appointment.Add("cycleEndDate", DateTime.Now.AddDays(30));
appointment.Add("aptType", "meeting");

aptType is a string like: "birthday", "phone call", "duedate",
"vacation", "at home", "ill", "meeting", "all types", "outward",
"tradeshow".  Those are the defaults,  you can define more;  there is
information in the docs plone.

--=-+zEiuDHJIr3suJEFq+0u
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBEDH9QLRePpNle04MRAsLmAJ9uC8js4I5hzYeBGUMM0mWlfnIGawCdHUgj
Hmnzdk9v5aIViwRPwqkmndQ=
=Qn5C
-----END PGP SIGNATURE-----

--=-+zEiuDHJIr3suJEFq+0u--