Overview
This structure contains the complete set of information about a project role (less any subordinate entities). The structure is used both to retrieve detailed project role information and to pass information about a project role back to the server to get updated.
Format
- PwsProjectTaskDetail
- ExternalSystemIdentifier: String
- ProjectTaskId: Int32
- ProjectTaskUid: Int64
- CompletedFlag: Boolean
- Description: String (1000)
- DurationMinutes: Int32
- EarliestStartDate: DateTime
- FullWbsCode: String
- NewExternalSystemIdentifier: String
- OpenForTimeFlag: Boolean
- ParentTaskIdentity: PwsProjectTaskRef
- PlannedEndDateTime: DateTime
- PlannedStartDateTime: DateTime
- Predecessors: PwsProjectTaskPredecessor
- PreviousSiblingTaskIdentity: PwsProjectTaskRef
- ProjectTaskTypeIdentity: PwsProjectTaskTypeRef
- TaskName: String (512)
- InheritPurchaseOrderNumberFlag: Boolean
- PurchaseOrderNumber: String (50)
- Subscriptions: PwsProjectTaskSubscription
- UserDefinedFields: PwsUserDefinedFieldDetail
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
ExternalSystemIdentifier | String (50) | On Insert: No On Update: One of ExternalSystemIdentifier or ProjectTaskUid is required | The external system identifier is a unique identifier for a project task (may be null, but once set can only be updated to a different, non-null value). When both ExternalSystemIdentifier or ProjectTaskUid are missing or invalid, a new project task will be created. | ||
ProjectTaskId | Int32 | No | Project task id is a unique identifier for a project cost baseline. For internal use only. | ||
ProjectTaskUid | Int64 | See ExternalSystemIdentifier | A unique and immutable identifier for a project task. When both ExternalSystemIdentifier or ProjectTaskUid are missing or invalid, a new project task will be created. | 1152921504608747355 | |
CompletedFlag | Boolean | No | false | If set to 'true', task status is set as completed. | false |
Description | String (1000) | No | The description of the task | ||
DurationMinutes | Int32 | No | 0 | The duration in minutes of the task | 12000 |
EarliestStartDate | DateTime | No | The earliest start date of the task | 2018-01-31z | |
FullWbsCode | String | No | ??? | Luke, it seems that when wbs code is missing, the task is inserted based on parent task, sibling task ..., but I could not pin down the rules here. | 4 |
NewExternalSystemIdentifier | String (50) | No | The new external system identifier of the updated or new task | ||
OpenForTimeFlag | Boolean | No | true | If set to 'true', this task is open for time entry. | true |
ParentTaskIdentity | No | The identity of the parent task. Click here for more information. | |||
PlannedEndDateTime | DateTime | No | The planned end date of the task | 2018-03-05z | |
PlannedStartDateTime | DateTime | No | The planned start date of the task | 2018-03-01z | |
Predecessors | No | The predecessor of the task. Click here for more information. | |||
PreviousSiblingTaskIdentity | No | The previous sibling of the task. Click here for more information. | |||
ProjectTaskTypeIdentity | No | The task type of the task. Click here for more information. | |||
TaskName | String (512) | Yes | The name of the task | Created from WS | |
InheritPurchaseOrderNumberFlag | Boolean | On Insert: No On Update: No | true | If set to 'true', project inherits the purchase order number from the project role. | true |
PurchaseOrderNumber | String (50) | On Insert: No On Update: No | Project role's purchase order number | The purchase order number associated with this project task. Specify only if not inheriting the purchase order number from the project role. | PO-004 |
Subscriptions | No | The user who receives notification on the task. Applies to milestone and not open for time tasks. Click here for more information. | |||
UserDefinedFields | No | The user defined field associated with this task. Click here for more information. |