Re: xmlrpc calls
Adam Tauno Williams <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Organization | BOTWM |
| Message-ID | <[email protected]> |
> StartDate
> EndDate
> StartTime
> EndTime
Yes, startDate and endDate are timestamp values (that is date + time in
one value).
> Title
Yes.
> Cyclic
Yes, but you must submit an end-date and a supported cycle type.
In POGI we have
/// \brief Return description of cyclic code
/// \param _cyclic Cyclic code
function getVanityCyclic($_cyclic) {
switch ($_cyclic) {
case 'daily':
return 'Daily';
break;
case 'weekly':
return 'Weekly';
break;
case 'monthly':
return 'Monthly';
break;
case 'weekday':
return 'Every Weekday';
break;
case 'yearly':
return 'Annually';
break;
case '4_weekly':
return 'Every 4 Weeks';
break;
case '2_weekly':
return 'Every 2 Weeks';
break;
default:
return "Noncyclic";
break;
}
}
> ReadAccess
Theoretically you can access the permissions of any object via
access.operationAllowedOnObjectsForAccessAction(op, objects, access) and
access.setOperationOnObjectForAccessAction(op, object, access) - but
I've not had much time to hack it into working.
> AppointmentType
No, unfortunately
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=384
> Participants
Use the setParticipants method.
> BookedRessources
No.
> WriteAccess
See "ReadAccess"
> I was looking into the jogi software, but i couldn't find it there. Then
> i checked the xmlrpc_call with
> xmlrpc_call http://localhost:22000/RPC2
> which generated me a list of a lot of possible xml calls, but i could
> not find all needed calls there. Is there a way over xmlrpc to put
> appointments in opengroupware with all those fields?
Take a look at the POGI code if you have any familiarity with PHP. You
should be able to scam most methods and parameters from their.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD4DBQBCdpmwLRePpNle04MRAoY6AJ9KzDrZ1Sh8QZg6wA8RTdjm+l4kUgCYossN Lw6b5+m868fSIz6pfrVOrw== =wamw -----END PGP SIGNATURE-----