My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 19, 2007 by adamtaunowilliams
Team  
The Team Entity

As a performance assist to calendar and scheduling applications Team members can be retrieved as full Contact entities by specifying the zOGI_INCLUDE_CONTACTS detail level. This ensures that when a client requests a team it is also provided with data to cache. However, in normal operations, the detail level of zOGI_INCLUDE_MEMBERSHIP is recommended for performance reasons.

  • Team entities are entirely read-only prior to r879 (2007-12-19). As of r879 the membership of a team can be adjusted via putObject assuming the user has sufficient permissions. Members of the team must be specified in the "memberObjectIds" attribute as an array of objectIds.

Example

At a detail level of 128 zOGI_INCLUDE_MEMBERSHIP the objectIds of the team will be enumerated in the "memberObjectIds" attributes:

 {'entityName': 'Team',
  'memberObjectIds': [9144860, 1013530, 1138130, 1125360, 26850, 27190],
  'name': 'Morrison Industries (MI)',
  'objectId': 970730,
  'objectVersion': 5,
  'ownerObjectId': 10000}

Performance sensitive applications are advised to retrieve team membership with the zOGI_INCLUDE_MEMBERSHIP level.

At a detail level of 256 zOGI_INCLUDE_CONTACTS members of the team will be rendered in the CONTACTS key as Contact entities.

 {'_ACCESS': [],
  '_CONTACTS': [{'FLAGS': ['WRITE'],
                 '_ADDRESSES': [{'city': '',
                                 'companyObjectId': 10160,
                                 'country': '',
                                 'entityName': 'address',
                                 'name1': '',
                                 'name2': '',
                                 'name3': '',
                                 'objectId': 10190,
                                 'state': '',
                                 'street': '',
                                 'type': 'private',
                                 'zip': ''},
                                {'city': 'Grand Rapids',
                                 'companyObjectId': 10160,
                                 'country': '',
                                 'entityName': 'address',
                                 'name1': 'Value of Name 1',
                                 'name2': 'Value of Name 2',
                                 'name3': 'Value of Name 3',
                                 'objectId': 10200,
                                 'state': '3rd Level',
                                 'street': 'Value of Steet',
                                 'type': 'mailing',
                                 'zip': 'Silly rabbits, zip codes are for kis.'},
                                {'city': '',
                                 'companyObjectId': 10160,
                                 'country': '',
                                 'entityName': 'address',
                                 'name1': '',
                                 'name2': '',
                                 'name3': '',
                                 'objectId': 10210,
                                 'state': '',
                                 'street': '',
                                 'type': 'location',
                                 'zip': ''}],
                 '_PHONES': [{'companyObjectId': 10160,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 10240,
                              'realNumber': '',
                              'type': '03_tel_funk',
                              'url': ''},
                             {'companyObjectId': 10160,
                              'entityName': 'telephone',
                              'info': 'Mobile',
                              'number': '616.xxx.xxxx',
                              'objectId': 10220,
                              'realNumber': '616-xxx-xxxx',
                              'type': '01_tel',
                              'url': ''},
                             {'companyObjectId': 10160,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 10270,
                              'realNumber': '',
                              'type': '15_fax_private',
                              'url': ''},
                             {'companyObjectId': 10160,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 10260,
                              'realNumber': '',
                              'type': '10_fax',
                              'url': ''},
                             {'companyObjectId': 10160,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 10230,
                              'realNumber': '',
                              'type': '02_tel',
                              'url': ''},
                             {'companyObjectId': 10160,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 10250,
                              'realNumber': '',
                              'type': '05_tel_private',
                              'url': ''}],
                 'assistantName': 'Christopher Leslie',
                 'associatedCategories': '',
                 'associatedCompany': '',
                 'associatedContacts': '',
                 'birthDate': '',
                 'comment': '',
                 'degree': 'UNIX Systems Administration',
                 'department': 'CIS/IT',
                 'description': 'Adam Williams',
                 'displayName': '',
                 'entityName': 'Contact',
                 'fileAs': 'Williams, Adam',
                 'firstName': 'Adam',
                 'gender': 'male',
                 'imAddress': '',
                 'isAccount': 1,
                 'isPrivate': 0,
                 'keywords': '',
                 'lastName': 'Williams',
                 'managersName': '',
                 'middleName': 'Tauno',
                 'objectId': 10160,
                 'occupation': 'Systems & Network Administrator',
                 'office': 'Grand Rapids',
                 'ownerObjectId': 10000,
                 'salutation': '03_dear_mr',
                 'sensitivity': 0,
                 'url': 'example.com',
                 'version': 85},
                {'FLAGS': ['WRITE'],
                 '_ADDRESSES': [{'city': '',
                                 'companyObjectId': 472850,
                                 'country': '',
                                 'entityName': 'address',
                                 'name1': '',
                                 'name2': '',
                                 'name3': '',
                                 'objectId': 472870,
                                 'state': '',
                                 'street': '',
                                 'type': 'private',
                                 'zip': ''},
                                {'city': '',
                                 'companyObjectId': 472850,
                                 'country': '',
                                 'entityName': 'address',
                                 'name1': '',
                                 'name2': '',
                                 'name3': '',
                                 'objectId': 472880,
                                 'state': '',
                                 'street': '',
                                 'type': 'mailing',
                                 'zip': ''},
                                {'city': '',
                                 'companyObjectId': 472850,
                                 'country': '',
                                 'entityName': 'address',
                                 'name1': '',
                                 'name2': '',
                                 'name3': '',
                                 'objectId': 472890,
                                 'state': '',
                                 'street': '',
                                 'type': 'location',
                                 'zip': ''}],
                 '_PHONES': [{'companyObjectId': 472850,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 472900,
                              'realNumber': '',
                              'type': '01_tel',
                              'url': ''},
                             {'companyObjectId': 472850,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 472910,
                              'realNumber': '',
                              'type': '02_tel',
                              'url': ''},
                             {'companyObjectId': 472850,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 472920,
                              'realNumber': '',
                              'type': '03_tel_funk',
                              'url': ''},
                             {'companyObjectId': 472850,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 472930,
                              'realNumber': '',
                              'type': '05_tel_private',
                              'url': ''},
                             {'companyObjectId': 472850,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 472940,
                              'realNumber': '',
                              'type': '10_fax',
                              'url': ''},
                             {'companyObjectId': 472850,
                              'entityName': 'telephone',
                              'info': '',
                              'number': '',
                              'objectId': 472950,
                              'realNumber': '',
                              'type': '15_fax_private',
                              'url': ''}],
                 'assistantName': '',
                 'associatedCategories': '',
                 'associatedCompany': '',
                 'associatedContacts': '',
                 'birthDate': '',
                 'comment': '',
                 'degree': '',
                 'department': '',
                 'description': 'Other Guy',
                 'displayName': '',
                 'entityName': 'Contact',
                 'fileAs': '',
                 'firstName': 'Other',
                 'gender': '',
                 'imAddress': '',
                 'isAccount': 1,
                 'isPrivate': '',
                 'keywords': '',
                 'lastName': 'User',
                 'managersName': '',
                 'middleName': '',
                 'objectId': 472850,
                 'occupation': '',
                 'office': '',
                 'ownerObjectId': 10000,
                 'salutation': '',
                 'sensitivity': '',
                 'url': '',
                 'version': 3}],
  '_LOGS': [],
  '_OBJECTLINKS': [],
  '_PROPERTIES': [],
  'entityName': 'Team',
  'name': 'all intranet',
  'objectId': 10003,
  'objectVersion': 1,
  'ownerObjectId': 10000}

Home


Sign in to add a comment
Hosted by Google Code