IDepartmentGroupService1

Operations

NameSignatureDescription
BulkGetDepartmentGroupDetailsDepartmentGroupDetails1[] BulkGetDepartmentGroupDetails(Uri[] departmentGroupUris)Retrieves a set of department's details.
BulkGetDepartmentGroupsDepartmentGroupReference1[] BulkGetDepartmentGroups(Uri[] departmentGroupUris)Bulk get department group from their URI. If a URI is not found, it will be omitted from the results.
BulkGetDepartmentGroupsInPolicyDataAccessScopeDepartmentGroupBulkGetResult1[] BulkGetDepartmentGroupsInPolicyDataAccessScope(Uri[] departmentGroupUris, Uri policyUri)Retrieves a set of department groups, filtered to those which are accessible in the given policy. departments which are not accessible are not returned. Contextual ancestors are included in the result.
CreateDepartmentGroupDeleteBatchUri CreateDepartmentGroupDeleteBatch(DepartmentGroupTargetParameter1[] departmentGroups, Uri departmentGroupBulkDeleteOptionUri)Create a batch operation for bulk deleting department groups by target
CreateDepartmentGroupHierarchyOrApplyModificationsDepartmentGroupHierarchyModificationResult1[] CreateDepartmentGroupHierarchyOrApplyModifications(DepartmentGroupHierarchyModificationParameter1[] hierarchy, Uri modificationOptionUri, String unitOfWorkId)Create new department or apply modification to existing department
CreateDepartmentGroupOrApplyModificationDepartmentGroupReference1 CreateDepartmentGroupOrApplyModification(DepartmentGroupTargetParameter1 departmentGroup, DepartmentGroupModificationsParameter1 modifications, String unitOfWorkId)Create departmemnt group or apply modifications to an existing department
CreateEditDraftUri CreateEditDraft(Uri departmentGroupUri)Create a draft of an existing department group.
CreateNewDraftUri CreateNewDraft(Uri parentDepartmentGroupUri)Create a new department group draft.
Deletevoid Delete(Uri departmentGroupUri)Delete a department group. A department can only be deleted if it has no users assigned to it (past, present, or future).
Disablevoid Disable(Uri departmentGroupUri)Disables the department group so it can no longer have any additional users assigned to it.
Enablevoid Enable(Uri departmentGroupUri)Enable the department grop so it can have additional users assigned to it.
GetAllDepartmentGroupsDepartmentGroupReference1[] GetAllDepartmentGroups()Retrieves all department groups.
GetDepartmentGroupDeleteBatchResultsDepartmentGroupDeleteBatchResults1 GetDepartmentGroupDeleteBatchResults(Uri departmentGroupDeleteBatchUri)Retrieve results of a completed DepartmentGroupDeleteBatch operation. Returns null if the batch has not completed.
GetDepartmentGroupDetailsDepartmentGroupDetails1 GetDepartmentGroupDetails(Uri departmentGroupUri)Retrieves a single department group's details.
GetDepartmentGroupScheduleForUserDepartmentGroupScheduleEntryDetails1[] GetDepartmentGroupScheduleForUser(Uri userUri)Get the Department group assignment schedule for the specified user
GetDepartmentGroupsSystemSettingsDepartmentGroupSystemSettingsDetails1 GetDepartmentGroupsSystemSettings()Gets all settings for the system-wide department feature, including language settings for all supported languages.
GetDepartmentGroupsSystemSettingsLanguageDetailsDepartmentGroupSystemSettingsLanguageDetails1 GetDepartmentGroupsSystemSettingsLanguageDetails()Retrieves the language settings for the current user's language.
GetEnabledDepartmentGroupsDepartmentGroupReference1[] GetEnabledDepartmentGroups()Retrieves all enabled department groups
GetPageOfAvailableDepartmentGroupsByTextSearchDepartmentGroupSearchResult1[] GetPageOfAvailableDepartmentGroupsByTextSearch(Int32 page, Int32 pageSize, DepartmentGroupTextSearchParameter1 textSearch)Searches for Department groups matching a given text search parameter which users can be assigned to
GetPageOfDepartmentGroupsInPolicyDataAccessScopeDepartmentGroupSearchResult1[] GetPageOfDepartmentGroupsInPolicyDataAccessScope(Int32 pageIndex, Int32 pageSize, Uri policyUri, DepartmentGroupSearchParameter1 departmentGroupSearch)Get a page of department groups which are accessable for the given policy
MoveDepartmentGroupvoid MoveDepartmentGroup(DepartmentGroupTargetParameter1 departmentGroup, DepartmentGroupTargetParameter1 target)Move a departmentGroup from its current location to the target location.
PublishDraftDepartmentGroupReference1 PublishDraft(Uri draftUri)Publish the department draft into a persisted department group.
PutDepartmentGroupScheduleForUservoid PutDepartmentGroupScheduleForUser(Uri userUri, DepartmentGroupScheduleEntryParameter1[] scheduleEntries)Put the entire Department group assignment schedule for the specified user
PutDepartmentGroupsSystemSettingsvoid PutDepartmentGroupsSystemSettings(Boolean isEnabled, DepartmentGroupSystemSettingsLanguageParameter1[] languageSettings)Puts all settings for the system-wide department feature, any supported languages not specified will be reverted to their default settings.
UpdateCodevoid UpdateCode(Uri departmentGroupUri, String code)Modify the code of a department.
UpdateDescriptionvoid UpdateDescription(Uri departmentGroupUri, String description)Modify the description of a department group.
UpdateNamevoid UpdateName(Uri departmentGroupUri, String name)Modify the name of a department group.