setParticipants

Eberhard Froriep <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Hello,

i wanted to use setParticipants (xmlrpc) to add
participants to appointments. Example:


server = 
xmlrpclib.Server('http://localhost:24024/x/xmlrpc',login='root',password='...')

person=server.person.fetch("login like "'froriep'")
person=person[0]

dict = {}
dict['startDate']=xmlrpclib.DateTime(startDate)
dict['endDate']=xmlrpclib.DateTime(endDate)
dict['title']="Gleitzeit"

eintrag = server.appointment.insert(dict)

# This is O.K.

eintrag=server.appointment.setParticipants(eintrag,[person,])

# This was not O.K.

bugzilla, error 217, says: setParticipants is wrong.

I´ve tried another way:

dict = {}
dict['startDate']=xmlrpclib.DateTime(startDate)
dict['endDate']=xmlrpclib.DateTime(endDate)
dict['title']="Gleitzeit"
dict['participants']=[person]
eintrag = server.appointment.insert(dict)

# this is not O.K. either.

What to do next?

8-)

Eberhard Froriep

-- 
NAME Eberhard Froriep
ADRESSE  RRZN, Schlosswenderstr.5, 30159 Hannover
TEL +49-511-762-4721, FAX -3003
EMAIL [email protected]


-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.