bulkGetGroups method
Returns a paginated list of groups.
Permissions required: Browse users and groups global permission.
Implementation
Future<PageBeanGroupDetails> bulkGetGroups(
{int? startAt,
int? maxResults,
List<String>? groupId,
List<String>? groupName,
String? accessType,
String? applicationKey}) async {
return PageBeanGroupDetails.fromJson(await _client.send(
'get',
'rest/api/3/group/bulk',
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
if (groupId != null) 'groupId': groupId.map((e) => e).join(','),
if (groupName != null) 'groupName': groupName.map((e) => e).join(','),
if (accessType != null) 'accessType': accessType,
if (applicationKey != null) 'applicationKey': applicationKey,
},
));
}