EntityType: Prioritization (ProjectData service)

In this article
Definition
Parent element
Child elements

Contains the properties that define the reporting data for a prioritization in the ProjectData service.

Example

The following REST query uses the Prioritizations entity set and the PrioritizationId key to get the specified prioritization in ProjectData. The query is all on one line.

http://<pwa_url>/_api/ProjectData/Prioritizations
    ?$filter=PrioritizationId eq guid'5a4b039e-ab5a-e211-beb6-00155da2200e'

Definition

<EntityType Name="Prioritization">
  <Key>
    <PropertyRef Name="PrioritizationId" />
  </Key>
  <Property Name="PrioritizationId" Type="Edm.Guid" Nullable="false" />
  . . .
  <NavigationProperty Name="CreatedByResource" Relationship="ReportingData.Prioritization_CreatedByResource" ToRole="CreatedByResource" FromRole="Prioritization" />
  . . .
</EntityType>

Parent element

Element

Description

ReportingData

The schema for the reporting data in the ProjectData service.

Child elements

Child elements are properties of a prioritization and navigation properties of that prioritization. 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 prioritization drivers and prioritization driver relations, that are associated with a prioritization. A navigation property uses an Association element in a query for a related entity or collection

The Key element specifies the property that is the primary key for a prioritization query. PrioritizationId is the GUID of the prioritization.

Property elements

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

Attribute values for the Property elements of Prioritization

Name

Type

Nullable

Description

ConsistencyRatio

Edm.Double

true

The prioritization consistency ratio.

CreatedByResourceId

Edm.Guid

true

The GUID of the resource that created the prioritization.

CreatedByResourceName

Edm.String

true

The name of the resource that created the prioritization.

DepartmentId

Edm.Guid

true

The GUID of a department.

DepartmentName

Edm.String

true

The name of a department.

ModifiedByResourceId

Edm.Guid

true

The GUID of the resource that last updated the prioritization.

ModifiedByResourceName

Edm.String

true

The name of the resource that last updated the prioritization.

PrioritizationCreatedDate

Edm.DateTime

false

The date and time that a portfolio analysis prioritization was created.

PrioritizationDescription

Edm.String

true

The description for a portfolio analysis prioritization.

PrioritizationId

Edm.Guid

false

Key
The GUID for a portfolio analysis prioritization.

PrioritizationIsManual

Edm.Boolean

false

True if a portfolio analysis prioritization is manual.

PrioritizationModifiedDate

Edm.DateTime

false

The date and time that a portfolio analysis prioritization was modified.

PrioritizationName

Edm.String

true

The name of a portfolio analysis prioritization.

The following table lists attribute values for the NavigationProperty elements of the Prioritization 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 PrioritizationDrivers navigation property, the primary type is Prioritization, and the secondary type is PrioritizationDriver. For this type of navigation, the FromRole is Prioritization_PrioritizationDrivers, and the ToRole is PrioritizationDriver_Prioritization.

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

Attribute values for the NavigationProperty elements

Name

Relationship

Description

CreatedByResource

Prioritization_CreatedByResource

Establishes navigation from a collection of prioritizations to the resource that created a prioritization.

Modified ByResource

Prioritization_ModifiedByResource

Establishes navigation from a collection of prioritizations to the resource that modified a prioritization.

PrioritizationDrivers

Prioritization_PrioritizationDrivers_PrioritizationDriver_Prioritization

Establishes navigation from a prioritization to a collection of prioritization drivers and from a prioritization driver to a prioritization.

PrioritizationDriverRelations

Prioritization_PrioritizationDriverRelations_PrioritizationDriverRelation_Prioritization

Establishes navigation from a prioritization to a collection of prioritization driver relations and from a prioritization driver relations entity to a prioritization.

See also

Reference

Prioritizations

ReportingData

Concepts

Querying OData feeds for Project 2013 reporting data