Поделиться через


EntityType: PrioritizationDriver (ProjectData service)

In this article
Definition
Parent element
Child elements

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

Example

The following REST query uses the PrioritizationDrivers entity set and the BusinessDriverId key to get the specified business driver properties, ordered by priority. The query is all in one line.

http://<pwa_url>/_api/ProjectData/PrioritizationDrivers
    ?$filter=BusinessDriverId eq guid'9b63f657-9a48-e211-9c40-00155da03b0b'
    &$orderby=BusinessDriverPriority

Definition

<EntityType Name="PrioritizationDriver">
  <Key>
    <PropertyRef Name="PrioritizationId" />
    <PropertyRef Name="BusinessDriverId" />
  </Key>
  <Property Name="PrioritizationId" Type="Edm.Guid" Nullable="false" />
  . . .
  <NavigationProperty Name="Prioritization" Relationship="ReportingData.Prioritization_PrioritizationDrivers_PrioritizationDriver_Prioritization" ToRole="Prioritization_PrioritizationDrivers" FromRole="PrioritizationDriver_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 driver and navigation properties of that prioritization driver. 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 business driver id and business driver name, that are associated with a prioritization driver. 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 prioritization driver query. PrioritizationId is the GUID of the prioritization and BusinessDriverId is the GUID of the business driver.

Property elements

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

Attribute values for the Property elements of PrioritizationDriver

Name

Type

Nullable

Description

BusinessDriverId

Edm.Guid

false

Key
The GUID that identifies a business driver.

BusinessDriveName

Edm.String

true

The name of a business driver.

BusinessDriverPriority

Edm.Double

false

The level of importance of a business driver.

PrioritizationId

Edm.Guid

false

Key
The GUID for a Portfolio Analysis prioritization.

PrioritizationName

Edm.String

true

The name of a Portfolio Analysis prioritization.

The following table lists attribute values for the NavigationProperty elements of the PrioritizationDriver 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 Prioritization 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 BusinessDriver navigation property relationship, PrioritizationDriver is the primary entity type and BusinessDriver is the secondary entity type.

Attribute values for the NavigationProperty elements

Name

Relationship

Description

BusinessDriver

PrioritizationDriver_BusinessDriver

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

Prioritization

Prioritization_PrioritizationDrivers_PrioritizationDriver_Prioritization

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

See also

Reference

PrioritizationDrivers

ReportingData

Concepts

Querying OData feeds for Project 2013 reporting data