/
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)