diff --git a/Client/Com/Cumulocity/Client/Api/GroupsApi.cs b/Client/Com/Cumulocity/Client/Api/GroupsApi.cs index be5c6ee..c337ff4 100644 --- a/Client/Com/Cumulocity/Client/Api/GroupsApi.cs +++ b/Client/Com/Cumulocity/Client/Api/GroupsApi.cs @@ -36,7 +36,7 @@ public GroupsApi(HttpClient httpClient) : base(httpClient) } /// - public async Task GetUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null) + public async Task GetTenantUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null) { var client = HttpClient; var resourcePath = $"/user/{tenantId}/groups"; diff --git a/Client/Com/Cumulocity/Client/Api/IGroupsApi.cs b/Client/Com/Cumulocity/Client/Api/IGroupsApi.cs index df4e24e..2a2c06f 100644 --- a/Client/Com/Cumulocity/Client/Api/IGroupsApi.cs +++ b/Client/Com/Cumulocity/Client/Api/IGroupsApi.cs @@ -50,7 +50,7 @@ public interface IGroupsApi /// When set to `true`, the returned result will contain in the statistics object the total number of elements. Only applicable on [range queries](https://en.wikipedia.org/wiki/Range_query_(database)). /// When set to `true`, the returned result will contain in the statistics object the total number of pages. Only applicable on [range queries](https://en.wikipedia.org/wiki/Range_query_(database)). /// - Task GetUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null); + Task GetTenantUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null); /// /// Create a user group for a specific tenant
diff --git a/Client/Com/Cumulocity/Client/Supplementary/CumulocityCoreLibrary.cs b/Client/Com/Cumulocity/Client/Supplementary/CumulocityCoreLibrary.cs index 1b28e1f..7157880 100644 --- a/Client/Com/Cumulocity/Client/Supplementary/CumulocityCoreLibrary.cs +++ b/Client/Com/Cumulocity/Client/Supplementary/CumulocityCoreLibrary.cs @@ -125,7 +125,6 @@ public class DevicecontrolFactory public class InventoryFactory { - public IInventoryApi InventoryApi => new InventoryApi(Instance.HttpClient); public IManagedObjectsApi ManagedObjectsApi => new ManagedObjectsApi(Instance.HttpClient); public IBinariesApi BinariesApi => new BinariesApi(Instance.HttpClient); public IChildOperationsApi ChildOperationsApi => new ChildOperationsApi(Instance.HttpClient);