共用方式為


metric EntityType

Description: Type of measurement for a goal, such as money amount or count.

Entity Set path: [organization URI]/api/data/v8.0/metrics

Base Type: crmbaseentity EntityType

Display Name: Goal Metric

Primary Key: metricid

Primary Name Attribute: name

Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the record.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the record.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who modified the record.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who modified the record.

Computed property

Read-only property

_organizationid_value

Edm.Guid

Description: Unique identifier of the organization.

Computed property

Read-only property

amountdatatype

Edm.Int32

Description: Data type of the amount.

Default Options:

0 : Money
1 : Decimal
2 : Integer

Display Name: Amount Data Type

createdon

Edm.DateTimeOffset

Description: Date and time when the record was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Description of the goal metric.

Display Name: Description

importsequencenumber

Edm.Int32

Description: Sequence number of the import that created this record.

Display Name: Import Sequence Number

isamount

Edm.Boolean

Description: Information that indicates whether the metric type is Count or Amount.

Default Options:

1 : Amount
0 : Count

Display Name: Metric Type

isstretchtracked

Edm.Boolean

Description: Indicates whether the goal metric tracks stretch targets.

Default Options:

1 : Yes
0 : No

Display Name: Track Stretch Target

metricid

Edm.Guid

Description: Unique identifier of the goal metric.

Display Name: Goal Metric

modifiedon

Edm.DateTimeOffset

Description: Date and time when the record was modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the goal metric.

Display Name: Name

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

statecode

Edm.Int32

Description: Status of the goal metric.

Default Options:

0 : Active
1 : Inactive

Display Name: Status

statuscode

Edm.Int32

Description: Reason for the status of the goal metric.

Default Options:

0 : Open
1 : Closed

Display Name: Status Reason

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode

Edm.Int32

Description: Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber

Edm.Int64

Description: Version number of the goal metric.

Display Name: Version Number

Read-only property

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

Name Type Partner

createdby

systemuser EntityType

lk_metric_createdby

createdonbehalfby

systemuser EntityType

lk_metric_createdonbehalfby

modifiedby

systemuser EntityType

lk_metric_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_metric_modifiedonbehalfby

organizationid

organization EntityType

organization_metric

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner

metric_AsyncOperations

asyncoperation EntityType

regardingobjectid_metric

metric_goal

goal EntityType

metricid

請參閱

其他資源

Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.