#!/usr/bin/env python import xmlrpclib, pprint server = xmlrpclib.Server('http://kohocton/RPC2',login='adam',password='') result = server.appointment.getById(["78920"]); pprint.pprint(result) [{'comment': 'Run MSINVC and DAYWIP manually. Back date to 01/31/2004', 'endDate': , 'id': 'skyrix://kohocton.morrison.iserv.net/morrisonOGo/78920', 'location': '', 'owner': {'id': 'skyrix://kohocton.morrison.iserv.net/morrisonOGo/10100', 'login': 'adam'}, 'participants': [{'companyId': 10100, 'dbStatus': 'updated', 'degree': 'System and Network Administrator', 'description': 'ATW', 'firstname': 'Adam', 'isAccount': 1, 'isExtraAccount': 0, 'isIntraAccount': 1, 'isPerson': 1, 'login': 'adam', 'name': 'Williams', 'number': 'SKY10100', 'objectVersion': 2, 'ownerId': 10000, 'templateUserId': 9999}], 'startDate': , 'title': 'MSINVC back date to 01Jan31'}]