PwsProjectRoleHours
Overview
This structure is used when saving scheduling changes for one or more project roles. It represents multiple scheduling elements associated with a project role, including the candidate identity, hours and allocation notes.
Format
- PwsProjectRoleHours
- CandidateResourceClearFlag: Boolean
- CandidateResourceIdentity: PwsResourceRef
- ClearExistingHoursFlag: Boolean
- ClearPeriodEndDate: DateTime
- ClearPeriodStartDate: DateTime
- CopyRequestedHoursFlag: Boolean
- HoursBuckets: PwsProjectRoleHoursBucket[]
- LeaveRequestOpenFlag: Boolean
- NotesBuckets: PwsProjectRoleNotesBucket[]
- ProjectRoleIdentity: PwsProjectRoleRef
- Timestamp: String
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
CandidateResourceClearFlag | Boolean | Â No | Â | If 'true', the resource candidate will be cleared. | false |
CandidateResourceIdentity | Â No | Â | The resource candidate that will be associated with the role. | ||
ClearExistingHoursFlag | Boolean | Â No | Â | If 'true', the existing hours will be cleared. Whether this will be requested or booked hours will depend on whether or not the user is acting as a requester or scheduler. | true |
ClearPeriodEndDate | DateTime | Â No | Â | The last date in the period for which the hours will be cleared. This is only applicable if 'ClearExisthingHoursFlag' is set to 'true'. | |
ClearPeriodStartDate | DateTime | Â No | Â | The first date in the period for which the hours will be cleared. This is only applicable if 'ClearExisthingHoursFlag' is set to 'true'. | |
CopyRequestedHoursFlag | Boolean | No | Â | Â If set to 'true', the requested hours will be copied over as scheduled hours. Note: this is only applicable if the authenticated user is acting as a scheduler. | |
HoursBuckets | No | Â | This structure defines the number of hours that will be requested or scheduled for a role as well as the pattern in which they will be distributed. | ||
LeaveRequestOpenFlag | Boolean | No | Â false | If set to 'true', the role will be flagged as having an open request. | true |
NotesBuckets | No | Â | This structure defines the allocation notes for a role as well as the pattern in which they will be distributed. | ||
ProjectRoleIdentity | Yes | Â | The role identity. | ||
Timestamp | String | No | Â | This is a Base64 encoded timestamp optionally utilized for locking. The value returned by a previous web service call that retrieved data from the database should be echoed back here. Specify null to skip lock checking. |