Expand Minimize

EntityType element: AssignmentBaselineTimephasedData (ProjectData service)

Office 2013

Published: July 16, 2012

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

<EntityType Name="AssignmentBaselineTimephasedData">
  <Key>
    <PropertyRef Name="ProjectId" />
    <PropertyRef Name="AssignmentId" />
    <PropertyRef Name="TimeByDay" />
    <PropertyRef Name="BaselineNumber" />
  </Key>
  <Property Name="ProjectId" Type="Edm.Guid" Nullable="false" />
  . . .
  <NavigationProperty Name="Assignment" Relationship="ReportingData.AssignmentBaselineTimephasedData_Assignment" ToRole="Assignment" FromRole="AssignmentBaselineTimephasedData" />
  . . .
</EntityType>

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

Child elements are properties of assignment baseline timephased data and navigation properties of that assignment baseline 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 baselines and projects, that are associated with timephased data for an assignment. A navigation property uses an Association element in a query for a related entity or collection

The Key elements specify the properties that are the primary keys for a query for assignment baseline timephased data. ProjectId is the project GUID, AssignmentId is the GUID of the assignment, TimeByDay is a day in the timeline, and BaselineNumber is the number of the assignment baseline.

Property elements

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

Attribute Values for the Property elements of AssignmentBaselineTimephasedData

Name

Type

Nullable

Description

AssignmentBaselineBudgetCost

Edm.Decimal

false

The planned cost of an assignment.

AssignmentBaselineBudgetMaterialWork

Edm.Decimal

false

The planned number of units of the supplies or other consumable items that are to be used to complete an assignment.

AssignmentBaselineBudgetWork

Edm.Decimal

false

The planned total amount of time that is needed to complete an assignment.

AssignmentBaselineCost

Edm.Decimal

false

The planned cost of the assignment.

AssignmentBaselineCumulativeCost

Edm.Decimal

false

The original estimated cumulative timephased baseline costs of an assignment up to the status date or today's date.

AssignmentBaselineCumulativeWork

Edm.Decimal

false

The original estimated cumulative timephased baseline work on an assignment up to the status date or today's date.

AssignmentBaselineMaterialWork

Edm.Decimal

false

The planned number of units of supplies or other consumable items that are to be used to complete an assignment.

AssignmentBaselineRemainingCumulativeWork

Edm.Decimal

false

The current remaining amount of timephased baseline work on an assignment up to the status date or today's date.

AssignmentBaselineWork

Edm.Decimal

false

The total planned person-hours scheduled for an assignment.

AssignmentId

Edm.Guid

false

The GUID of the assignment.

BaselineNumber

Edm.Int32

False

An integer number that identifies a baseline in a project.

ProjectId

Edm.Guid

false

The GUID of the project that is associated with the assignment baseline timephased data.

ProjectName

Edm.String

true

The name of the project that is associated with the assignment baseline timephased data.

ResourceId

Edm.Guid

false

The GUID of the resource.

TaskId

Edm.Guid

false

The GUID of the task that is associated with the assignment baseline timephased data.

TaskName

Edm.String

true

The name of the task.

TimeByDay

Edm.DateTime

false

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

NavigationProperty elements

The following table lists attribute values for the NavigationProperty elements of the AssignmentBaselineTimephasedData 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 Tasks navigation property, the primary type is AssignmentBaselineTimephasedData, and the secondary type is Task. For this type of navigation, the FromRole is AssignmentBaselineTimephasedData_Tasks, and the ToRole is Task_AssignmentsBaselineTimephasedData.

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 Assignment navigation property relationship, AssignmentBaselineTimephasedData is the primary entity type and Assignment is the secondary entity type.

Attribute values for the NavigationProperty elements

Name

Relationship

Description

Assignment

Association element: AssignmentBaselineTimephasedData_Assignment

Establishes navigation from a collection of assignment baselines to an assignment.

Baseline

Association element: AssignmentBaseline_AssignmentBaselineTimephasedDataSet_AssignmentBaselineTimephasedData_Baseline

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

Project

Association element: AssignmentBaselineTimephasedData_Project

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

Tasks

Association element: AssignmentBaselineTimephasedData_Tasks_Task_AssignmentsBaselineTimephasedData

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

The following REST query uses the AssignmentBaselineTimephasedDataSet entity set with the AssignmentId, BaselineNumber and ProjectId properties, which are the GUID primary keys, to get the specified assignment baseline timephased dataset. The query is all on one line.

http://ServerName/ProjectServerName/_api/ProjectData/
AssignmentBaselineTimephasedDataSet(
AssignmentId=guid'7ffecbe8-ada6-e111-9f30-78e7d101788a',
BaselineNumber=1,
ProjectId=guid'76fecbe8-ada6-e111-9f30-78e7d101788a')

Community Additions

ADD
Show:
© 2014 Microsoft