Expand Minimize

EntityType element: TaskBaselineTimephasedData (ProjectData service)

Office 2013

Published: July 16, 2012

The TaskBaselineTimephasedData entity type specifies the set of properties, including navigation properties, that define the reporting data that is available for task baseline timephased data in the ProjectData service.

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

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

Child elements are properties of task baseline timephased data and navigation properties of that timephased 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 task baselines, that are associated with a project. 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 baseline timephased data query. ProjectId is the project GUID, TaskId is the task GUID, TimeByDay is a day in the timeline, and BaselineNumber is the number of the task baseline.

Property elements

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

Attribute values for the Property elements of TaskBaselineTimephasedData

Name

Type

Nullable

Description

BaselineNumber

Edm.Int32

false

A number that identifies a project baseline.

ProjectId

Edm.Guid

false

The GUID that identifies the project.

ProjectName

Edm.String

true

The name of the project.

TaskBaselineBudgetCost

Edm.Decimal

false

The cost of the planned, budgeted amount of work on a task.

TaskBaselineBudgetWork

Edm.Decimal

false

The planned, budgeted amount of work on a task.

Task BaselineCost

Edm.Decimal

false

The total planned cost for a task. The baseline cost is also known as budget at completion (BAC) for earned value.

Task BaselineCumulativeCost

Edm.Decimal

false

The cumulative planned cost for a task.

TaskBaselineCumulativeWork

Edm.Decimal

false

The cumulative planned work for a task.

TaskBaselineFixedCost

Edm.Decimal

false

A set task cost that is projected in the baseline and that remains constant regardless of the task duration or the work performed by a resource.

TaskBaselineRemainingCumulativeWork

Edm.Decimal

false

The cumulative amount of projected work for a task that remains to be done.

TaskBaselineWork

Edm.Decimal

false

The total planned hours that are scheduled for a task in the baseline projection.

TaskId

Edm.Guid

false

The GUID that identifies the task.

TaskName

Edm.String

true

The name of the task.

TimeByDay

Edm.DateTime

false

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 TaskBaselineTimephasedData 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 TaskBaselineTimephasedData, and the secondary type is Task. For this type of navigation, the FromRole is TaskBaselineTimephasedData_Task, and the ToRole is Task_BaselinesTimephasedDataSet.

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, TaskBaselineTimephasedData is the primary entity type and Project is the secondary entity type.

Attribute values for the NavigationProperty elements

Name

Relationship

Description

Project

Association element: TaskBaselineTimephasedData_Project

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

Task

Association element: TaskBaselineTimephasedData_Task_Task_BaselinesTimephasedDataSet

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

TaskBaselines

Association element: TaskBaseline_TaskBaselineTimephasedDataSet_TaskBaselineTimephasedData_TaskBaselines

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

The following REST query uses the TaskBaselineTimephasedDataSet entity set to get the collection of task baseline timephased data in ProjectData.

http://ServerName/ProjectServerName/_api/ProjectData/TaskBaselineTimephasedDataSet

Reference

Other resources

Association element: TaskBaselineTimephasedData_TaskBaselines

Community Additions

ADD
Show:
© 2014 Microsoft