Package bscw ::
Package api ::
Module ap_add2cal
|
|
Module ap_add2cal
add appointment to calendar
status: 0=tentative 1=confirmed 2=cancelled -1=>automatically
category: bitwise or of
1 : 'appointment',
2 : 'business',
4 : 'meeting',
8 : 'phonecall',
32 : 'holiday',
128 : 'private',
256 : 'travel',
512 : 'miscellaneous',
mail is sent to participants if notification is given (not None)
returns object_id of new calendar object
API definition::
API = (('object_id', 'ASCII string', 1),
('name', 'Unicode string', 1),
('description', 'Unicode string', 1),
('start', 'dateTime.iso8601', 1),
('end', 'dateTime.iso8601', 0),
('participants', 'array', 0, [('item', 'ASCII string', 1)]),
('location', 'Unicode string', 0),
('status', 'int', 0),
('categ', 'int', 0),
('notification', 'Unicode string', 0))
(c) 2010, Fraunhofer FIT and OrbiTeam Software, www.bscw.de/copyright.html
|
param_def()
return the parameter definition |
|
|
|
do_it(request,
object_id,
name,
description,
start,
end=None,
participants=[ ] ,
location='
' ,
status=0,
categ=0,
notification=None)
see above |
|
|