Expand Minimize

EntityType: TaskTimephasedData (ProjectData service)

Office 2013

Last modified: August 07, 2014

In this article
Definition
Parent element
Child elements

Contains the properties that define the reporting data for task timephased data in the ProjectData service.

The following REST query uses the TaskTimephasedDataSet and the TaskId key to get the timephased data set for the specified task and time range in the ProjectData service. The query is all on one line.

 
https://<pwa_url>/_api/ProjectData/TaskTimephasedDataSet
    ?$filter=TaskId eq guid'845683f0-c0ef-e211-be7c-0014225df633'
    and TimeByDay gt datetime'2013-06-30'

<EntityType Name="TaskTimephasedData">
  <Key>
    <PropertyRef Name="ProjectId" />
    <PropertyRef Name="TaskId" />
    <PropertyRef Name="TimeByDay" />
  </Key>
  <Property Name="ProjectId" Type="Edm.Guid" Nullable="false" />
  . . .
  <NavigationProperty Name="Project" Relationship="ReportingData.TaskTimephasedData_Project" ToRole="Project" FromRole="TaskTimephasedData" />
  . . .
</EntityType>

Element

Description

ReportingData

The schema for the reporting data in the ProjectData service.

Child elements are properties of task timephased data and navigation properties of that data. Attributes of the Property elements specify the property name and type, and whether the property can be a null value. The NavigationProperty elements specify collections of entities, such as tasks and projects, that are associated with task timephased data. A navigation property uses an Association element in a query for a related entity collection

The Key elements specify the properties that are the primary keys for a task timephased data query. ProjectId is the project GUID, TaskId is the task GUID, TimeByDay is a day along the timeline.

Property elements

The following table lists the Property elements for the TaskTimephasedData entity. The Name, Type, and Nullable columns contain attribute values for each property.

Attribute values for the Property elements of TaskTimephasedData

Name

Type

Nullable

Description

ProjectId

Edm.Guid

false

Key
The GUID of the project.

ProjectName

Edm.String

true

The name of the project.

TaskActualCost

Edm.DateTime

false

The costs incurred for work that is already performed by all resources on a task, along with any other recorded costs.

TaskActualWork

Edm.Decimal

false

The actual work that is already performed by resources on a task, usually expressed as percent complete.

TaskBudgetCost

Edm.Decimal

false

The scheduled costs for a task.

TaskBudgetWork

Edm.Decimal

false

The scheduled work for a task.

TaskCost

Edm.Decimal

false

The total scheduled or projected cost for a task.

TaskId

Edm.Guid

false

Key
The GUID that identifies the task.

TaskIsActive

Edm.Boolean

false

True if the task is active.

TaskName

Edm.String

true

The name of the task.

TaskOvertimeWork

Edm.Decimal

false

The amount of overtime work that is scheduled to be performed by all resources that are assigned to a task.

TaskResourcePlanWork

Edm.Decimal

false

The total time that is scheduled for the task in the resource plan.

TaskWork

Edm.Decimal

true

The total time that is scheduled for a task for all assigned resources.

TimeByDay

Edm.DateTime

false

Key
A primary key that identifies the day along a timeline. The granularity is in days only.

NavigationProperty elements

The following table lists attribute values for the NavigationProperty elements of the TaskTimephasedData entity. The Name and Relationship columns contain attribute values for each navigation property.

There are two types of Relationship attributes. One type contains two pairs of names; each pair of names indicates a navigation direction. The first pair starts with the entity type that has the primary, or starting, role in the navigation. The second pair starts with the entity type that has the secondary, or dependent, role in the navigation. For example, for the Task navigation property, the primary type is TaskTimephasedData, and the secondary type is Task. For this type of navigation, the FromRole is TaskTimephasedData_Task, and the ToRole is Task_TimephasedInfo.

The other type of Relationship attribute contains a single pair of names. The first name in the pair is the primary entity type in the navigation. The second name in the pair is the secondary entity type in the navigation. For example, in the Project navigation property relationship, TaskTimephasedData is the primary entity type and Project is the secondary entity type.

Attribute values for the NavigationProperty elements

Name

Relationship

Description

Project

TaskTimephasedData_Project

Establishes navigation from a collection of task timephased data to a project.

Task

TaskTimephasedData_Task_Task_TimephasedInfo

Establishes navigation from a collection of task timephased data to a task and from a task to a collection of task timephased data.

Show:
© 2014 Microsoft