Package com.mypurecloud.sdk.v2.api
Class GroupsApi
java.lang.Object
com.mypurecloud.sdk.v2.api.GroupsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteGroup(DeleteGroupRequest request) Delete groupdeleteGroup(ApiRequest<Void> request) Delete groupvoiddeleteGroup(String groupId) Delete groupvoidRemove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticedeleteGroupDynamicsettings(ApiRequest<Void> request) Remove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticevoiddeleteGroupDynamicsettings(String groupId) Remove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeRemove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeRemove membersdeleteGroupMembers(ApiRequest<Void> request) Remove membersdeleteGroupMembers(String groupId, String ids) Remove membersdeleteGroupMembersWithHttpInfo(String groupId, String ids) Remove membersdeleteGroupWithHttpInfo(String groupId) Delete groupgetFieldconfig(GetFieldconfigRequest request) Deprecated.getFieldconfig(ApiRequest<Void> request) Deprecated.getFieldconfig(String type) Deprecated.Deprecated.getGroup(GetGroupRequest request) Get groupgetGroup(ApiRequest<Void> request) Get groupGet groupGet dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticegetGroupDynamicsettings(ApiRequest<Void> request) Get dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticegetGroupDynamicsettings(String groupId) Get dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeGet dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeGet all individuals associated with the groupgetGroupIndividuals(ApiRequest<Void> request) Get all individuals associated with the groupgetGroupIndividuals(String groupId) Get all individuals associated with the groupgetGroupIndividualsWithHttpInfo(String groupId) Get all individuals associated with the groupgetGroupMembers(GetGroupMembersRequest request) Get group members, includes individuals, owners, and dynamically included peoplegetGroupMembers(ApiRequest<Void> request) Get group members, includes individuals, owners, and dynamically included peoplegetGroupMembers(String groupId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) Get group members, includes individuals, owners, and dynamically included peoplegetGroupMembersWithHttpInfo(String groupId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) Get group members, includes individuals, owners, and dynamically included peoplegetGroupProfile(GetGroupProfileRequest request) Deprecated.getGroupProfile(ApiRequest<Void> request) Deprecated.getGroupProfile(String groupId, String fields) Deprecated.getGroupProfileWithHttpInfo(String groupId, String fields) Deprecated.getGroups(GetGroupsRequest request) Get a group listgetGroups(ApiRequest<Void> request) Get a group listgetGroups(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) Get a group listgetGroupsSearch(GetGroupsSearchRequest request) Search groups using the q64 value returned from a previous searchgetGroupsSearch(ApiRequest<Void> request) Search groups using the q64 value returned from a previous searchgetGroupsSearch(String q64, List<String> expand) Search groups using the q64 value returned from a previous searchgetGroupsSearchWithHttpInfo(String q64, List<String> expand) Search groups using the q64 value returned from a previous searchgetGroupsWithHttpInfo(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) Get a group listgetGroupWithHttpInfo(String groupId) Get groupDeprecated.getProfilesGroups(ApiRequest<Void> request) Deprecated.getProfilesGroups(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) Deprecated.getProfilesGroupsWithHttpInfo(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) Deprecated.postGroupMembers(PostGroupMembersRequest request) Add memberspostGroupMembers(ApiRequest<GroupMembersUpdate> request) Add memberspostGroupMembers(String groupId, GroupMembersUpdate body) Add memberspostGroupMembersWithHttpInfo(String groupId, GroupMembersUpdate body) Add memberspostGroups(PostGroupsRequest request) Create a grouppostGroups(ApiRequest<GroupCreate> request) Create a grouppostGroups(GroupCreate body) Create a groupDeprecated.Deprecated.Deprecated.Deprecated.postGroupsSearch(PostGroupsSearchRequest request) Search groupspostGroupsSearch(ApiRequest<GroupSearchRequest> request) Search groupsSearch groupsSearch groupsCreate a groupputGroup(PutGroupRequest request) Update groupputGroup(ApiRequest<GroupUpdate> request) Update groupputGroup(String groupId, GroupUpdate body) Update groupvoidCreate / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeCreate / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticevoidputGroupDynamicsettings(String groupId, DynamicGroupQuery body) Create / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeputGroupDynamicsettingsWithHttpInfo(String groupId, DynamicGroupQuery body) Create / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticeputGroupWithHttpInfo(String groupId, GroupUpdate body) Update group
-
Constructor Details
-
GroupsApi
public GroupsApi() -
GroupsApi
-
-
Method Details
-
deleteGroup
Delete group- Parameters:
groupId- Group ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteGroupWithHttpInfo
Delete group- Parameters:
groupId- Group ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteGroup
Delete group- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteGroup
Delete group- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteGroupDynamicsettings
Remove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
groupId- Group ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteGroupDynamicsettingsWithHttpInfo
Remove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
groupId- Group ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteGroupDynamicsettings
public void deleteGroupDynamicsettings(DeleteGroupDynamicsettingsRequest request) throws IOException, ApiException Remove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteGroupDynamicsettings
Remove dynamic group definition deleteGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteGroupMembers
Remove members- Parameters:
groupId- Group ID (required)ids- Comma separated list of userIds to remove. A maximum of 50 members are allowed per request. (required)- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteGroupMembersWithHttpInfo
public ApiResponse<Empty> deleteGroupMembersWithHttpInfo(String groupId, String ids) throws IOException Remove members- Parameters:
groupId- Group ID (required)ids- Comma separated list of userIds to remove. A maximum of 50 members are allowed per request. (required)- Returns:
- Empty
- Throws:
IOException- if the request fails to be processed
-
deleteGroupMembers
Remove members- Parameters:
request- The request object- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteGroupMembers
Remove members- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getFieldconfig
Deprecated.Fetch field config for an entity type- Parameters:
type- Field type (required)- Returns:
- FieldConfig
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFieldconfigWithHttpInfo
Deprecated.Fetch field config for an entity type- Parameters:
type- Field type (required)- Returns:
- FieldConfig
- Throws:
IOException- if the request fails to be processed
-
getFieldconfig
Deprecated.Fetch field config for an entity type- Parameters:
request- The request object- Returns:
- FieldConfig
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFieldconfig
Deprecated.Fetch field config for an entity type- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroup
Get group- Parameters:
groupId- Group ID (required)- Returns:
- Group
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupWithHttpInfo
Get group- Parameters:
groupId- Group ID (required)- Returns:
- Group
- Throws:
IOException- if the request fails to be processed
-
getGroup
Get group- Parameters:
request- The request object- Returns:
- Group
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroup
Get group- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroupDynamicsettings
public DynamicGroupDefinition getGroupDynamicsettings(String groupId) throws IOException, ApiException Get dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
groupId- Group ID (required)- Returns:
- DynamicGroupDefinition
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupDynamicsettingsWithHttpInfo
public ApiResponse<DynamicGroupDefinition> getGroupDynamicsettingsWithHttpInfo(String groupId) throws IOException Get dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
groupId- Group ID (required)- Returns:
- DynamicGroupDefinition
- Throws:
IOException- if the request fails to be processed
-
getGroupDynamicsettings
public DynamicGroupDefinition getGroupDynamicsettings(GetGroupDynamicsettingsRequest request) throws IOException, ApiException Get dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Returns:
- DynamicGroupDefinition
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupDynamicsettings
public ApiResponse<DynamicGroupDefinition> getGroupDynamicsettings(ApiRequest<Void> request) throws IOException Get dynamic group definition getGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroupIndividuals
Get all individuals associated with the group- Parameters:
groupId- Group ID (required)- Returns:
- UserEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupIndividualsWithHttpInfo
public ApiResponse<UserEntityListing> getGroupIndividualsWithHttpInfo(String groupId) throws IOException Get all individuals associated with the group- Parameters:
groupId- Group ID (required)- Returns:
- UserEntityListing
- Throws:
IOException- if the request fails to be processed
-
getGroupIndividuals
public UserEntityListing getGroupIndividuals(GetGroupIndividualsRequest request) throws IOException, ApiException Get all individuals associated with the group- Parameters:
request- The request object- Returns:
- UserEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupIndividuals
public ApiResponse<UserEntityListing> getGroupIndividuals(ApiRequest<Void> request) throws IOException Get all individuals associated with the group- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroupMembers
public UserEntityListing getGroupMembers(String groupId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) throws IOException, ApiException Get group members, includes individuals, owners, and dynamically included people- Parameters:
groupId- Group ID (required)pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)sortOrder- Ascending or descending sort order (optional, default to ASC)expand- Which fields, if any, to expand (optional)- Returns:
- UserEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupMembersWithHttpInfo
public ApiResponse<UserEntityListing> getGroupMembersWithHttpInfo(String groupId, Integer pageSize, Integer pageNumber, String sortOrder, List<String> expand) throws IOException Get group members, includes individuals, owners, and dynamically included people- Parameters:
groupId- Group ID (required)pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)sortOrder- Ascending or descending sort order (optional, default to ASC)expand- Which fields, if any, to expand (optional)- Returns:
- UserEntityListing
- Throws:
IOException- if the request fails to be processed
-
getGroupMembers
public UserEntityListing getGroupMembers(GetGroupMembersRequest request) throws IOException, ApiException Get group members, includes individuals, owners, and dynamically included people- Parameters:
request- The request object- Returns:
- UserEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupMembers
Get group members, includes individuals, owners, and dynamically included people- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroupProfile
Deprecated.Get group profile This api is deprecated. Use /api/v2/groups instead- Parameters:
groupId- groupId (required)fields- Comma separated fields to return. Allowable values can be found by querying /api/v2/fieldconfig?type=group and using the key for the elements returned by the fieldList (optional)- Returns:
- GroupProfile
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupProfileWithHttpInfo
public ApiResponse<GroupProfile> getGroupProfileWithHttpInfo(String groupId, String fields) throws IOException Deprecated.Get group profile This api is deprecated. Use /api/v2/groups instead- Parameters:
groupId- groupId (required)fields- Comma separated fields to return. Allowable values can be found by querying /api/v2/fieldconfig?type=group and using the key for the elements returned by the fieldList (optional)- Returns:
- GroupProfile
- Throws:
IOException- if the request fails to be processed
-
getGroupProfile
public GroupProfile getGroupProfile(GetGroupProfileRequest request) throws IOException, ApiException Deprecated.Get group profile This api is deprecated. Use /api/v2/groups instead- Parameters:
request- The request object- Returns:
- GroupProfile
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupProfile
Deprecated.Get group profile This api is deprecated. Use /api/v2/groups instead- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroups
public GroupEntityListing getGroups(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) throws IOException, ApiException Get a group list- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)id- id (optional)jabberId- A list of jabberIds to fetch by bulk (cannot be used with the \"id\" parameter) (optional)sortOrder- Ascending or descending sort order (optional, default to ASC)- Returns:
- GroupEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupsWithHttpInfo
public ApiResponse<GroupEntityListing> getGroupsWithHttpInfo(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) throws IOException Get a group list- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)id- id (optional)jabberId- A list of jabberIds to fetch by bulk (cannot be used with the \"id\" parameter) (optional)sortOrder- Ascending or descending sort order (optional, default to ASC)- Returns:
- GroupEntityListing
- Throws:
IOException- if the request fails to be processed
-
getGroups
Get a group list- Parameters:
request- The request object- Returns:
- GroupEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroups
Get a group list- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getGroupsSearch
public GroupsSearchResponse getGroupsSearch(String q64, List<String> expand) throws IOException, ApiException Search groups using the q64 value returned from a previous search- Parameters:
q64- q64 (required)expand- expand (optional)- Returns:
- GroupsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupsSearchWithHttpInfo
public ApiResponse<GroupsSearchResponse> getGroupsSearchWithHttpInfo(String q64, List<String> expand) throws IOException Search groups using the q64 value returned from a previous search- Parameters:
q64- q64 (required)expand- expand (optional)- Returns:
- GroupsSearchResponse
- Throws:
IOException- if the request fails to be processed
-
getGroupsSearch
public GroupsSearchResponse getGroupsSearch(GetGroupsSearchRequest request) throws IOException, ApiException Search groups using the q64 value returned from a previous search- Parameters:
request- The request object- Returns:
- GroupsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getGroupsSearch
public ApiResponse<GroupsSearchResponse> getGroupsSearch(ApiRequest<Void> request) throws IOException Search groups using the q64 value returned from a previous search- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getProfilesGroups
public GroupProfileEntityListing getProfilesGroups(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) throws IOException, ApiException Deprecated.Get group profile listing This api is deprecated. Use /api/v2/groups instead.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)id- id (optional)jabberId- A list of jabberIds to fetch by bulk (cannot be used with the \"id\" parameter) (optional)sortOrder- Ascending or descending sort order (optional, default to ASC)- Returns:
- GroupProfileEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getProfilesGroupsWithHttpInfo
public ApiResponse<GroupProfileEntityListing> getProfilesGroupsWithHttpInfo(Integer pageSize, Integer pageNumber, List<String> id, List<String> jabberId, String sortOrder) throws IOException Deprecated.Get group profile listing This api is deprecated. Use /api/v2/groups instead.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)id- id (optional)jabberId- A list of jabberIds to fetch by bulk (cannot be used with the \"id\" parameter) (optional)sortOrder- Ascending or descending sort order (optional, default to ASC)- Returns:
- GroupProfileEntityListing
- Throws:
IOException- if the request fails to be processed
-
getProfilesGroups
public GroupProfileEntityListing getProfilesGroups(GetProfilesGroupsRequest request) throws IOException, ApiException Deprecated.Get group profile listing This api is deprecated. Use /api/v2/groups instead.- Parameters:
request- The request object- Returns:
- GroupProfileEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getProfilesGroups
public ApiResponse<GroupProfileEntityListing> getProfilesGroups(ApiRequest<Void> request) throws IOException Deprecated.Get group profile listing This api is deprecated. Use /api/v2/groups instead.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postGroupMembers
public Empty postGroupMembers(String groupId, GroupMembersUpdate body) throws IOException, ApiException Add members- Parameters:
groupId- Group ID (required)body- Add members (required)- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupMembersWithHttpInfo
public ApiResponse<Empty> postGroupMembersWithHttpInfo(String groupId, GroupMembersUpdate body) throws IOException Add members- Parameters:
groupId- Group ID (required)body- Add members (required)- Returns:
- Empty
- Throws:
IOException- if the request fails to be processed
-
postGroupMembers
Add members- Parameters:
request- The request object- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupMembers
public ApiResponse<Empty> postGroupMembers(ApiRequest<GroupMembersUpdate> request) throws IOException Add members- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postGroups
Create a group- Parameters:
body- Group (required)- Returns:
- Group
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupsWithHttpInfo
Create a group- Parameters:
body- Group (required)- Returns:
- Group
- Throws:
IOException- if the request fails to be processed
-
postGroups
Create a group- Parameters:
request- The request object- Returns:
- Group
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroups
Create a group- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postGroupsDynamicsettingsPreview
public DynamicGroupQueryPreview postGroupsDynamicsettingsPreview(DynamicGroupQuery body) throws IOException, ApiException Deprecated.Preview the number of users selected for a dynamic group definition query postGroupsDynamicsettingsPreview is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
body- Group query to preview (required)- Returns:
- DynamicGroupQueryPreview
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupsDynamicsettingsPreviewWithHttpInfo
public ApiResponse<DynamicGroupQueryPreview> postGroupsDynamicsettingsPreviewWithHttpInfo(DynamicGroupQuery body) throws IOException Deprecated.Preview the number of users selected for a dynamic group definition query postGroupsDynamicsettingsPreview is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
body- Group query to preview (required)- Returns:
- DynamicGroupQueryPreview
- Throws:
IOException- if the request fails to be processed
-
postGroupsDynamicsettingsPreview
public DynamicGroupQueryPreview postGroupsDynamicsettingsPreview(PostGroupsDynamicsettingsPreviewRequest request) throws IOException, ApiException Deprecated.Preview the number of users selected for a dynamic group definition query postGroupsDynamicsettingsPreview is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Returns:
- DynamicGroupQueryPreview
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupsDynamicsettingsPreview
public ApiResponse<DynamicGroupQueryPreview> postGroupsDynamicsettingsPreview(ApiRequest<DynamicGroupQuery> request) throws IOException Deprecated.Preview the number of users selected for a dynamic group definition query postGroupsDynamicsettingsPreview is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postGroupsSearch
public GroupsSearchResponse postGroupsSearch(GroupSearchRequest body) throws IOException, ApiException Search groups- Parameters:
body- Search request options (required)- Returns:
- GroupsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupsSearchWithHttpInfo
public ApiResponse<GroupsSearchResponse> postGroupsSearchWithHttpInfo(GroupSearchRequest body) throws IOException Search groups- Parameters:
body- Search request options (required)- Returns:
- GroupsSearchResponse
- Throws:
IOException- if the request fails to be processed
-
postGroupsSearch
public GroupsSearchResponse postGroupsSearch(PostGroupsSearchRequest request) throws IOException, ApiException Search groups- Parameters:
request- The request object- Returns:
- GroupsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGroupsSearch
public ApiResponse<GroupsSearchResponse> postGroupsSearch(ApiRequest<GroupSearchRequest> request) throws IOException Search groups- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putGroup
Update group- Parameters:
groupId- Group ID (required)body- Group (optional)- Returns:
- Group
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putGroupWithHttpInfo
Update group- Parameters:
groupId- Group ID (required)body- Group (optional)- Returns:
- Group
- Throws:
IOException- if the request fails to be processed
-
putGroup
Update group- Parameters:
request- The request object- Returns:
- Group
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putGroup
Update group- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putGroupDynamicsettings
public void putGroupDynamicsettings(String groupId, DynamicGroupQuery body) throws IOException, ApiException Create / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
groupId- Group ID (required)body- Create/Update dynamic groups (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putGroupDynamicsettingsWithHttpInfo
public ApiResponse<Void> putGroupDynamicsettingsWithHttpInfo(String groupId, DynamicGroupQuery body) throws IOException Create / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
groupId- Group ID (required)body- Create/Update dynamic groups (required)- Throws:
IOException- if the request fails to be processed
-
putGroupDynamicsettings
public void putGroupDynamicsettings(PutGroupDynamicsettingsRequest request) throws IOException, ApiException Create / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putGroupDynamicsettings
public ApiResponse<Void> putGroupDynamicsettings(ApiRequest<DynamicGroupQuery> request) throws IOException Create / Update dynamic group definition putGroupDynamicsettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-