Partilhar via


documenttemplate EntityType

Description: Used to store Document Templates in database in binary format.

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

Base Type: crmbaseentity EntityType

Display Name: Document Template

Primary Key: documenttemplateid

Primary Name Attribute: name

Properties

Single-valued navigation properties

The documenttemplate entity type has no 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 document template.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_modifiedby_value

Edm.Guid

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

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_organizationid_value

Edm.Guid

Description: Unique identifier of the organization associated with the web resource.

Computed property

Read-only property

associatedentitytypecode

Edm.String

Description: Associated Entity Type Code.

Display Name: Associated Entity Type Code

clientdata

Edm.String

Description: Client data regarding this document template.

Display Name: Client Data

content

Edm.String

Description: Bytes of the document template.

Display Name: Content

createdon

Edm.DateTimeOffset

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

Display Name: Created On

Read-only property

description

Edm.String

Description: Additional information to describe the Document Template

Display Name: Description

documenttemplateid

Edm.Guid

Description: Unique identifier of the document template.

Display Name: Document Template Identifier

documenttype

Edm.Int32

Description: Option set for selecting the type of the document template

Default Options:

1 : Microsoft Excel
2 : Microsoft Word

Display Name: Type

languagecode

Edm.Int32

Description: Language of Document Template.

Display Name: Language

modifiedon

Edm.DateTimeOffset

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

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the document template.

Display Name: Name

status

Edm.Boolean

Description: Information about whether the document template is active.

Default Options:

1 : Draft
0 : Activated

Display Name: Status

versionnumber

Edm.Int64

Description:

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_documenttemplatebase_createdby

createdonbehalfby

systemuser EntityType

lk_documenttemplatebase_createdonbehalfby

modifiedby

systemuser EntityType

lk_documenttemplatebase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_documenttemplatebase_modifiedonbehalfby

organizationid

organization EntityType

lk_documenttemplatebase_organization

Consulte também

Outros recursos

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.