IProjectRoleService1

Operations

NameSignatureDescription
BulkDeleteProjectRoleBulkDeleteResults1 BulkDelete(Uri[] projectRoleUri, Uri roleBulkDeleteOptionUri)Bulk delete the roles from the system
BulkGetBillingRateScheduleBulkGetProjectRoleBillingRateScheduleResult1[] BulkGetBillingRateSchedule(Uri[] projectRoleUris)Retrieves the billing rate schedule for the specified roles.
BulkGetCostRateScheduleBulkGetProjectRoleCostRateScheduleResult1[] BulkGetCostRateSchedule(Uri[] projectRoleUris)Retrieves the cost rate schedule for the specified roles.
BulkGetTargetUtilizationScheduleBulkGetProjectRoleTargetUtilizationScheduleResult1[] BulkGetTargetUtilizationSchedule(Uri[] projectRoleUris)Retrieves the target utilization schedule for the specified roles.
CreateEditDraftUri CreateEditDraft(Uri projectRoleUri)Create a draft of a new system-level role
CreateNewDraftUri CreateNewDraft()Create a draft of a new system-level role
CreateProjectRoleDeleteBatchUri CreateProjectRoleDeleteBatch(ProjectRoleTargetParameter1[] projectRoles, Uri projectRoleBulkDeleteOptionUri)Create a batch operation for bulk deleting project roles.
CreateProjectRoleOrApplyModificationsProjectRoleReference1 CreateProjectRoleOrApplyModifications(ProjectRoleTargetParameter1 target, ProjectRoleModificationsParameter1 modifications, Uri projectRoleModificationOptionUri, String unitOfWorkId)Create a new project role apply modifications to an existing project role.
Deletevoid Delete(Uri projectRoleUri)Delete the role from the system
Disablevoid Disable(Uri projectRoleUri)Disable the specified role, making it unavailable for selection
Enablevoid Enable(Uri projectRoleUri)Enable the specified role, making it available for selection
GetActiveRolesProjectRoleReference1[] GetActiveRoles()Retrieves the active (e.g. not archived) system-level roles that in the system
GetAllRolesProjectRoleReference1[] GetAllRoles()Retrieves all the system-level roles in the system
GetBillingRateScheduleProjectRoleBillingRateScheduleDetails1 GetBillingRateSchedule(Uri projectRoleUri)Retrieves the billing rate schedule for the specified role.
GetCostRateScheduleProjectRoleCostRateScheduleDetails1 GetCostRateSchedule(Uri projectRoleUri)Retrieves the cost rate schedule for the specified role.
GetPageOfActiveRolesFilteredByTextSearchProjectRoleReference1[] GetPageOfActiveRolesFilteredByTextSearch(Int32 page, Int32 pageSize, ProjectRoleTextSearchParameter1 textSearch)Retrieves the active (e.g. not archived) system-level roles that in the system
GetProjectRoleDeleteBatchResultsProjectRoleDeleteBatchResults1 GetProjectRoleDeleteBatchResults(Uri projectRoleDeleteBatchUri)Retrieve results of a completed ProjectRoleDeleteBatch operation. Returns null if the batch has not completed.
GetRoleDetailsProjectRoleDetails1 GetRoleDetails(Uri projectRoleUri, Date1 asOfDate)Retrieves the specified role
GetTargetUtilizationScheduleProjectRoleTargetUtilizationScheduleDetails1 GetTargetUtilizationSchedule(Uri projectRoleUri)Retrieves the target utilization schedule for the specified role.
InsertBillingRateIntoBillingRateSchedulevoid InsertBillingRateIntoBillingRateSchedule(Uri projectRoleUri, Date1 effectiveDate, MoneyParameter1 rate)Update the hourly billing rate of the specified role for starting with the specified effectiveDate and setting the end date to one less than the start of the next rate
InsertCostRateIntoCostRateSchedulevoid InsertCostRateIntoCostRateSchedule(Uri projectRoleUri, Date1 effectiveDate, MoneyParameter1 rate)Update the hourly cost rate of the specified role for starting with the specified effectiveDate and setting the end date to one less than the start of the next rate
PublishDraftProjectRoleDetails1 PublishDraft(Uri draftUri)Publish a system-level role draft
PutBillingRateSchedulevoid PutBillingRateSchedule(Uri projectRoleUri, RateScheduleParameter1 schedule)Put the entire billing rate schedule for the specified role.
PutCostRateSchedulevoid PutCostRateSchedule(Uri projectRoleUri, RateScheduleParameter1 schedule)Put the entire cost rate schedule for the specified role.
PutProjectRoleProjectRoleReference1 PutProjectRole(ProjectRoleParameter1 projectRoleUri)Put the entire role details. If RoleParameter1.target.name is specifed and not found, a role will be created
PutTargetUtilizationSchedulevoid PutTargetUtilizationSchedule(Uri projectRoleUri, ProjectRoleTargetUtilizationScheduleParameter1 schedule)Put the entire target utilization schedule for the specified role.
UpdateBillingRateScheduleOverDateRangevoid UpdateBillingRateScheduleOverDateRange(Uri projectRoleUri, DateRangeParameter1 dateRange, MoneyParameter1 rate)Update the hourly billing rate of the specified role
UpdateCostRateScheduleOverDateRangevoid UpdateCostRateScheduleOverDateRange(Uri projectRoleUri, DateRangeParameter1 dateRange, MoneyParameter1 rate)Update the hourly cost rate of the specified role
UpdateDescriptionvoid UpdateDescription(Uri projectRoleUri, String description)Update the description of the specified role
UpdateIsBillablevoid UpdateIsBillable(Uri projectRoleUri, Boolean isBillable)Operation UpdateIsBillable
UpdateNamevoid UpdateName(Uri projectRoleUri, String name)Update the name of the specified role
ValidateValidationResultsSummary1 Validate(Uri projectRoleUri)Validate a role