/
Group Service (python)

NOTE: Trivore ID Documentation has moved to https://trivoreid.com

The content on this site IS OUT OF DATE!

This space has been archived!

Please go ahead to the new site!

Group Service (python)

Wrapper for the '/group' API.

List of all options:

  • Get all

  • Create/get one/update/delete a group

Group management

api.group_service.get_all() group = Group() group.description = 'example group' group.name = 'group001' group.nsCode = 'examplecode' group = api.group_service.create(group) group.description = 'modified description' api.group_service.update(group) group = api.group_service.get(group.id) print('\nModified group fields : {} \n'.format(group.serialize())) api.group_service.delete(group.id)





INFO:root:Found 3 groups INFO:root:Successfully created group with the id exampleId INFO:root:Successfully modified group with the id exampleId INFO:root:Found group with id exampleId Modified group fields : {'id': 'exampleId', 'name': 'group001', 'description': 'modified description', 'nsCode': 'examplecode'} INFO:root:Successfully deleted group with id exampleId



Group Service Models

Group

Related content

NOTE: Trivore ID Documentation has moved to https://trivoreid.com

The content on this site IS OUT OF DATE!

This space has been archived!