Condividi tramite


template EntityType

Description: Template for an email message that contains the standard attributes of an email message.

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

Base Type: crmbaseentity EntityType

Display Name: Email Template

Primary Key: templateid

Primary Name Attribute: title

Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations using the template entity type.

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 email template.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the template.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who last modified the template.

Computed property

Read-only property

_ownerid_value

Edm.Guid

Description: Unique identifier of the user or team who owns the template for the email activity.

_owningbusinessunit_value

Edm.Guid

Description: Unique identifier of the business unit that owns the template.

Computed property

Read-only property

_owningteam_value

Edm.Guid

Description: Unique identifier of the team who owns the template.

Computed property

Read-only property

_owninguser_value

Edm.Guid

Description: Unique identifier of the user who owns the template.

Computed property

Read-only property

body

Edm.String

Description: Body text of the email template.

Display Name: Body

componentstate

Edm.Int32

Description: For internal use only.

Default Options:

0 : Published
1 : Unpublished
2 : Deleted
3 : Deleted Unpublished

Display Name: Component State

Read-only property

createdon

Edm.DateTimeOffset

Description: Date and time when the email template was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Description of the email template.

Display Name: Description

generationtypecode

Edm.Int32

Description: For internal use only.

Display Name: Generation Type Code

importsequencenumber

Edm.Int32

Description: Unique identifier of the data import or data migration that created this record.

Display Name: Import Sequence Number

introducedversion

Edm.String

Description: Version in which the form is introduced.

Display Name: Introduced Version

iscustomizable

mscrm.BooleanManagedProperty

Description: Information that specifies whether this component can be customized.

Display Name: Customizable

ismanaged

Edm.Boolean

Description: Indicates whether the solution component is part of a managed solution.

Default Options:

1 : Managed
0 : Unmanaged

Display Name: Is Managed

Read-only property

ispersonal

Edm.Boolean

Description: Information about whether the template is personal or is available to all users.

Default Options:

1 : Individual
0 : Organization

Display Name: Viewable By

languagecode

Edm.Int32

Description: Language of the email template.

Display Name: Language

mimetype

Edm.String

Description: MIME type of the email template.

Display Name: Mime Type

modifiedon

Edm.DateTimeOffset

Description: Date and time when the email template was last modified.

Display Name: Modified On

Read-only property

overwritetime

Edm.DateTimeOffset

Description: For internal use only.

Display Name: Record Overwrite Time

Read-only property

presentationxml

Edm.String

Description: XML data for the body of the email template.

Display Name: Presentation XML

solutionid

Edm.Guid

Description: Unique identifier of the associated solution.

Display Name: Solution

Read-only property

subject

Edm.String

Description: Subject associated with the email template.

Display Name: Subject

subjectpresentationxml

Edm.String

Description: XML data for the subject of the email template.

Display Name: Subject XML

templateid

Edm.Guid

Description: Unique identifier of the template.

Display Name: Email Template

templateidunique

Edm.Guid

Description: For internal use only.

Read-only property

templatetypecode

Edm.String

Description: Type of email template.

Display Name: Template Type

title

Edm.String

Description: Title of the template.

Display Name: Title

versionnumber

Edm.Int64

Description: Version number of the template.

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_templatebase_createdby

createdonbehalfby

systemuser EntityType

lk_templatebase_createdonbehalfby

modifiedby

systemuser EntityType

lk_templatebase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_templatebase_modifiedonbehalfby

ownerid

principal EntityType

owner_templates

owningbusinessunit

businessunit EntityType

business_unit_templates

owningteam

team EntityType

team_email_templates

owninguser

systemuser EntityType

system_user_email_templates

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

template_activity_mime_attachments

activitymimeattachment EntityType

objectid_template

Template_AsyncOperations

asyncoperation EntityType

regardingobjectid_template

Template_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_template

Template_Organization

organization EntityType

acknowledgementtemplateid

Operations using the template entity type.

The following operations use the template entity type in a parameter or return type.

Name How used Description

DistributeCampaignActivity Action

Template Parameter

Creates a bulk operation that distributes a campaign activity.

Vedere anche

Altre risorse

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.