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.
BulkGetCostRateDetailsForProjectRolesProjectRoleCostRateBulkGetScheduleEntryDetailsResults1[] BulkGetCostRateDetailsForProjectRoles(Uri[] projectRoleUris, Date1 asOfDate)Get the cost rate schedule for the specified project roles on the specified date, or today if not specified
BulkGetCostRateScheduleBulkGetProjectRoleCostRateScheduleResult1[] BulkGetCostRateSchedule(Uri[] projectRoleUris)Retrieves the cost rate schedule for the specified roles.
BulkGetRolesBulkGetProjectRoleResult1[] BulkGetRoles(Uri[] projectRoleUris)Bulk get project role from their URI
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.
GetJsonKeyValueForProjectRoleJsonKeyValue1 GetJsonKeyValueForProjectRole(ProjectRoleTargetParameter1 projectRole, String jsonKey)get project role json key value for key
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.
GetResourceCostModeResourceCostModeReference1 GetResourceCostMode()Retrieves the default resource cost mode.
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
InsertTargetUtilizationIntoTargetUtilizationSchedulevoid InsertTargetUtilizationIntoTargetUtilizationSchedule(Uri projectRoleUri, ProjectRoleTargetUtilizationScheduleEntryParameter1 entry)Insert a target utilization percentage in to the schedule for the specified role.
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.
PutJsonKeyValueForProjectRolevoid PutJsonKeyValueForProjectRole(ProjectRoleTargetParameter1 projectRole, JsonKeyValue1 jsonKeyValue)put project role json key value
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
UpdateResourceCostModevoid UpdateResourceCostMode(Uri resourceCostModeUri)Sets the default resource cost mode.
ValidateValidationResultsSummary1 Validate(Uri projectRoleUri)Validate a role