documenttemplate EntityType

Used to store Document Templates in database in binary format.

Entity Set Path
[organization URI]/api/data/v9.0/documenttemplates
Base Type
crmbaseentity
Display Name
Document Template
Primary Key
documenttemplateid
Primary Key Attribute
name
Operations Supported
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
associatedentitytypecode Edm.String

Associated Entity Type Code.

Display Name: Associated Entity Type Code

clientdata Edm.String

Client data regarding this document template.

Display Name: Client Data

content Edm.String

Bytes of the document template.

Display Name: Content

createdon Edm.DateTimeOffset

Date and time when the document template was created.

Display Name: Created On

Read Only
description Edm.String

Additional information to describe the Document Template

Display Name: Description

documenttemplateid Edm.Guid

Unique identifier of the document template.

Display Name: Document Template Identifier

documenttype Edm.Int32

Option set for selecting the type of the document template

Display Name: Type

Default Options
Value Label
1 Microsoft Excel
2 Microsoft Word
languagecode Edm.Int32

Language of Document Template.

Display Name: Language

modifiedon Edm.DateTimeOffset

Date and time when the document template was last modified.

Display Name: Modified On

Read Only
name Edm.String

Name of the document template.

Display Name: Name

status Edm.Boolean

Information about whether the document template is active.

Display Name: Status

Default Options
Value Label
1 Draft
0 Activated
versionnumber Edm.Int64
Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the document template.

_createdonbehalfby_value createdonbehalfby

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

_modifiedby_value modifiedby

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

_modifiedonbehalfby_value modifiedonbehalfby

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

_organizationid_value organizationid

Unique identifier of the organization associated with the web resource.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_documenttemplatebase_createdby
createdonbehalfby systemuser lk_documenttemplatebase_createdonbehalfby
modifiedby systemuser lk_documenttemplatebase_modifiedby
modifiedonbehalfby systemuser lk_documenttemplatebase_modifiedonbehalfby
organizationid organization lk_documenttemplatebase_organization

Solutions

The following solutions include the documenttemplate entity type.

Name Description
Second Patch for Application Common For internal use only.
Application Common For internal use only.
Application Common Patch For internal use only.

See also