|
ParticipantStatus
The ParticipantStatus entity
The ParticipantStatus entity is a write only entity, and is used by the user to change their participant status on an Appointment. Keys
The result of the putObject is the Appointment specified with the objectId attribute. The client should use this to refresh its copy of the Appointment in order to reflect the changes to participant status. Example#!/usr/bin/env python
import xmlrpclib,pprint
server = xmlrpclib.Server('http://{USERNAME}:{PASSWORD}@{HOSTNAME}/zidestore/so/{USERNAME}/')
pprint.pprint(server.zogi.getObjectById(10621, 4))
status = { }
status['comment'] = 'My very very very very long comment'
status['objectId'] = 10621
status['rsvp'] = 1
status['status'] = 'TENTATIVE'
status['entityName'] = 'ParticipantStatus'
pprint.pprint(server.zogi.putObject(status))
pprint.pprint(server.zogi.getObjectById(10621, 4))
status['status'] = 'accepted'
status['rsvp'] = 0
pprint.pprint(server.zogi.putObject(status))
pprint.pprint(server.zogi.getObjectById(10621, 4))
|
Sign in to add a comment