Package bscw ::
Package api ::
Module ap_addapt
|
|
Module ap_addapt
Create a new appointment.
API definition:
API = (('target_id', 'ASCII string', 1),
('name', 'Unicode string', 1),
('start', 'dateTime.iso8601', 1),
('params', 'struct', 0, [('description', 'Unicode string', 0),
('location', 'Unicode string', 0),
('categ', 'array', 0, [('item', 'Unicode string', 1)]),
('status', 'int', 0),
('participants', 'array', 0, [('item', 'ASCII string', 1)]),
('tzid', 'ASCII string', 0),
('end', 'dateTime.iso8601', 0),
('recurrence', 'struct', 0, [('rrules', 'array', 0, [('rule', 'struct', 1, [('freq', 'ASCII string', 1),
('interv', 'int', 0),
('wkst', 'ASCII string', 0),
('count', 'int', 0),
('expire', 'dateTime.iso8601', 0),
('bysetpos', 'array', 0, [('item', 'int', 1)]),
('bymonth', 'array', 0, [('item', 'int', 1)]),
('byweekno', 'array', 0, [('item', 'int', 1)]),
('byyearday', 'array', 0, [('item', 'int', 1)]),
('bymoday', 'array', 0, [('item', 'int', 1)]),
('byday', 'array', 0, [('item', 'ASCII string', 1)]),
('byhour', 'array', 0, [('item', 'int', 0)]),
('byminute', 'array', 0, [('item', 'int', 0)])])]),
('rdates', 'array', 0, [('date', 'dateTime.iso8601', 1)]),
('exrules', 'array', 0, [('rule', 'struct', 1, [('freq', 'ASCII string', 1),
('interv', 'int', 0),
('wkst', 'ASCII string', 0),
('count', 'int', 0),
('expire', 'dateTime.iso8601', 0),
('bysetpos', 'array', 0, [('item', 'int', 1)]),
('bymonth', 'array', 0, [('item', 'int', 1)]),
('byweekno', 'array', 0, [('item', 'int', 1)]),
('byyearday', 'array', 0, [('item', 'int', 1)]),
('bymoday', 'array', 0, [('item', 'int', 1)]),
('byday', 'array', 0, [('item', 'ASCII string', 1)]),
('byhour', 'array', 0, [('item', 'int', 0)]),
('byminute', 'array', 0, [('item', 'int', 0)])])]),
('exdates', 'array', 0, [('date', 'dateTime.iso8601', 1)])]),
('reminders', 'array', 0, [('reminder', 'struct', 1, [('secs_before', 'double', 1),
('repeat_count', 'int', 0),
('repeat_secs', 'double', 0),
('recipients', 'array', 1, [('item', 'ASCII string', 1)]),
('message', 'Unicode string', 0)])]),
('notification', 'Unicode string', 0),
('categnum', 'int', 0),
('priostr', 'ASCII string', 0)]))
(c) OrbiTeam Software GmbH, 2005
|
|
|
do_it(request,
target_id,
name,
start,
params)
see above |
|
|
|
do_it2(request,
target,
name,
start,
**params) |
|
|
return the parameter definition
The value for 'name' must not be empty.
|