ICostCenterService1

Operations

NameSignatureDescription
BulkGetCostCenterDetailsCostCenterDetails1[] BulkGetCostCenterDetails(Uri[] costCenterUris)Retrieves a set of cost centers' details.
BulkGetCostCentersCostCenterReference1[] BulkGetCostCenters(Uri[] costCenterUris)Bulk get cost Center from their URI. If a URI is not found, it will be omitted from the results.
BulkGetCostCentersInPolicyDataAccessScopeCostCenterBulkGetResult1[] BulkGetCostCentersInPolicyDataAccessScope(Uri[] costCenterUris, Uri policyUri)Retrieves a set of cost centers, filtered to those which are accessible in the given policy. Cost centers which are not accessible are not returned. Contextual ancestors are included in the result.
CreateCostCenterDeleteBatchUri CreateCostCenterDeleteBatch(CostCenterTargetParameter2[] costCenters, Uri costCenterBulkDeleteOptionUri)Create a batch operation for bulk deleting cost centers by target
CreateCostCenterOrApplyModificationCostCenterReference1 CreateCostCenterOrApplyModification(CostCenterTargetParameter2 costCenter, CostCenterModificationsParameter1 modifications, String unitOfWorkId)Create CostCenter or apply modifications to an existing CostCenter
CreateEditDraftUri CreateEditDraft(Uri costCenterUri)Create a draft of an existing cost center.
CreateNewDraftUri CreateNewDraft(Uri parentCostCenterUri)Create a new cost center draft.
Deletevoid Delete(Uri costCenterUri)Delete a cost center. A cost center can only be deleted if it has no users assigned to it (past, present, or future).
Disablevoid Disable(Uri costCenterUri)Disables the cost center so it can no longer have any additional users assigned to it.
Enablevoid Enable(Uri costCenterUri)Enable the cost center so it can have additional users assigned to it.
GetAllCostCentersCostCenterReference1[] GetAllCostCenters()Retrieves all cost centers.
GetCostCenterDeleteBatchResultsCostCenterDeleteBatchResults1 GetCostCenterDeleteBatchResults(Uri costCenterDeleteBatchUri)Retrieve results of a completed CostCenterDeleteBatch operation. Returns null if the batch has not completed.
GetCostCenterDetailsCostCenterDetails1 GetCostCenterDetails(Uri costCenterUri)Retrieves a single cost center's details.
GetCostCenterScheduleForUserCostCenterScheduleEntryDetails1[] GetCostCenterScheduleForUser(Uri userUri)Get the CostCenter assignment schedule for the specified user
GetCostCentersSystemSettingsCostCenterSystemSettingsDetails1 GetCostCentersSystemSettings()Gets all settings for the system-wide cost centers feature, including language settings for all supported languages.
GetCostCentersSystemSettingsLanguageDetailsCostCenterSystemSettingsLanguageDetails1 GetCostCentersSystemSettingsLanguageDetails()Retrieves the language settings for the current user's language.
GetEnabledCostCentersCostCenterReference1[] GetEnabledCostCenters()Retrieves all enabled cost centers
GetPageOfAvailableCostCentersByTextSearchCostCenterSearchResult1[] GetPageOfAvailableCostCentersByTextSearch(Int32 page, Int32 pageSize, CostCenterTextSearchParameter1 textSearch)Searches for CostCenters matching a given text search parameter which users can be assigned to
GetPageOfCostCentersInPolicyDataAccessScopeCostCenterSearchResult1[] GetPageOfCostCentersInPolicyDataAccessScope(Int32 pageIndex, Int32 pageSize, Uri policyUri, CostCenterSearchParameter1 costCenterSearch)Get a page of CostCenters which are accessable for the given policy
MoveCostCentervoid MoveCostCenter(CostCenterTargetParameter2 costCenter, CostCenterTargetParameter2 target)Move CostCenter from its current location to the target location.
PublishDraftCostCenterReference1 PublishDraft(Uri draftUri)Publish the cost center draft into a persisted cost center.
PutCostCenterScheduleForUservoid PutCostCenterScheduleForUser(Uri userUri, CostCenterScheduleEntryParameter1[] scheduleEntries)Put the entire CostCenter assignment schedule for the specified user
PutCostCentersSystemSettingsvoid PutCostCentersSystemSettings(Boolean isEnabled, CostCenterSystemSettingsLanguageParameter1[] languageSettings)Puts all settings for the system-wide cost centers feature, any supported languages not specified will be reverted to their default settings.
UpdateCodevoid UpdateCode(Uri costCenterUri, String code)Modify the code of a cost center.
UpdateDescriptionvoid UpdateDescription(Uri costCenterUri, String description)Modify the description of a cost center.
UpdateNamevoid UpdateName(Uri costCenterUri, String name)Modify the name of a cost center.