Share via


msdyn_aidocumenttemplate EntityType

Used to store Document templates

Entity set path: 
[organization URI]/api/data/v9.2/msdyn_aidocumenttemplates
Base type: 
crmbaseentity
Display name: 
AI Document Template
Primary key: 
msdyn_aidocumenttemplateid
Primary name column: 
msdyn_filename
Operations supported: 
POST GET PATCH DELETE

Properties

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

Name Type Details
componentidunique Edm.Guid

For internal use only.

Display name: Row id unique

Read only
componentstate Edm.Int32

For internal use only.

Display name: Component State

Read only
Default options
Values Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished
createdon Edm.DateTimeOffset

Date and time when the record was created.

Display name: Created On

Read only
importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display name: Import Sequence Number

iscustomizable BooleanManagedProperty

For internal use only.

Display name: Is Customizable

ismanaged Edm.Boolean

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

Display name: Is Managed

Read only
Default options
Values Label
1 Managed
0 Unmanaged
modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display name: Modified On

Read only
msdyn_aidocumenttemplateid Edm.Guid

Unique identifier for entity instances

Display name: AI Document Template

msdyn_document Edm.Binary

Document content of the template

Display name: Document

Read only
msdyn_document_name Edm.String
Read only
msdyn_filename Edm.String

The name of the document.

Display name: Document Name

msdyn_mimetype Edm.String

Mime type of the document

Display name: Mime Type

msdyn_uniquename Edm.String

Document template Unique Name.

Display name: Unique Name

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display name: Record Created On

overwritetime Edm.DateTimeOffset

For internal use only.

Display name: Record Overwrite Time

Read only
solutionid Edm.Guid

Unique identifier of the associated solution.

Display name: Solution

Read only
statecode Edm.Int32

Status of the AI Document Template

Display name: Status

Default options
Values Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the AI Document Template

Display name: Status Reason

Default options
Values Label
1 Active
2 Inactive
timezoneruleversionnumber Edm.Int32

For internal use only.

Display name: Time Zone Rule Version Number

utcconversiontimezonecode Edm.Int32

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

Display name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display name: Version Number

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 Lookup property data.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the record.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the record.

_modifiedby_value modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who modified the record.

_ownerid_value ownerid

Owner Id

_owningbusinessunit_value owningbusinessunit

Unique identifier for the business unit that owns the record

_owningteam_value owningteam

Unique identifier for the team that owns the record.

_owninguser_value owninguser

Unique identifier for the user that owns the record.

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_msdyn_aidocumenttemplate_createdby
createdonbehalfby systemuser lk_msdyn_aidocumenttemplate_createdonbehalfby
modifiedby systemuser lk_msdyn_aidocumenttemplate_modifiedby
modifiedonbehalfby systemuser lk_msdyn_aidocumenttemplate_modifiedonbehalfby
msdyn_aidocumenttemplatefileid fileattachment msdyn_aidocumenttemplatefileid_fileAttachment
ownerid principal owner_msdyn_aidocumenttemplate
owningbusinessunit businessunit business_unit_msdyn_aidocumenttemplate
owningteam team team_msdyn_aidocumenttemplate
owninguser systemuser user_msdyn_aidocumenttemplate

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
msdyn_aidocumenttemplate_AsyncOperations asyncoperation regardingobjectid_msdyn_aidocumenttemplate
msdyn_aidocumenttemplate_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_aidocumenttemplate
msdyn_aidocumenttemplate_FileAttachments fileattachment objectid_msdyn_aidocumenttemplate
msdyn_aidocumenttemplate_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_aidocumenttemplate
msdyn_aidocumenttemplate_msdyn_aiconfig msdyn_aiconfiguration msdyn_aidocumenttemplate_msdyn_aiconfig
msdyn_aidocumenttemplate_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_aidocumenttemplate
msdyn_aidocumenttemplate_ProcessSession processsession regardingobjectid_msdyn_aidocumenttemplate
msdyn_aidocumenttemplate_SyncErrors syncerror regardingobjectid_msdyn_aidocumenttemplate

Operations

The following operations can be used with the msdyn_aidocumenttemplate entity type.

Name Binding
CreateMultiple Not Bound
DeleteMultiple Not Bound
GrantAccess Not Bound
IsValidStateTransition Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound
UpdateMultiple Not Bound

See also