Re: Some questions about the API
Bjoern Stierand <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Organization | OpenGroupware.org (www.opengroupware.org) |
| Message-ID | <[email protected]> |
Hi,
Helge Hess wrote:
> This is plain wrong. "number" and "id" where both in the initial
> database schema and in effect the "number" is derived from the
> company_id (which is mapped to "id" in XML-RPC).
Ah, ok.
> I cannot follow here. "startDate", "endDate", "resources" and
> "companies" should be regular parts of the qualifier section of the
> fetchspec and "timeZone" should be a hint.
I think I didn't came out that clearly in my first mail.
Those attributes are currently all regular parts of the qualifier
section as Helge pointed out right - so you can make a fetch
specification like:
appointment.fetch({ 'qualifier' : { 'startDate' : <start>,
'endDate' : <end>}})
BTW: 'timeZone' is currently an attribute for 'qualifier', too.
Greets
Bjoern
--
http://www.opengroupware.org
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc