Share via


subject EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Description: Information regarding subjects available in the system.

Entity Set path:[organization URI]/api/data/v8.2/subjects

Base Type: crmbaseentity EntityType

Display Name: Subject

Primary Key: subjectid

Primary Name Attribute: title

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to subject

Operations using the subject entity type.

Properties

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

Name

Type

Details

createdon

Edm.DateTimeOffset

Description: Date and time when the subject was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Description of the subject.

Display Name: Description

featuremask

Edm.Int32

Description: Information that specifies when the subject will be displayed in lists of subjects.

Display Name: Feature Mask

importsequencenumber

Edm.Int32

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

Display Name: Import Sequence Number

modifiedon

Edm.DateTimeOffset

Description: Date and time when the subject was last modified.

Display Name: Modified On

Read-only property

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

subjectid

Edm.Guid

Description: Unique identifier of the subject.

Display Name: Subject

title

Edm.String

Description: Title of the subject.

Display Name: Title

versionnumber

Edm.Int64

Description: Version number of the subject.

Display Name: Version Number

Read-only property

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 subject.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the subject.

_modifiedby_value

modifiedby

Unique identifier of the user who last modified the subject.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who last modified the subject.

_organizationid_value

organizationid

Unique identifier for the organization associated with the subject.

_parentsubject_value

parentsubject

Unique identifier of the parent subject.

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 EntityType

lk_subjectbase_createdby

createdonbehalfby

systemuser EntityType

lk_subject_createdonbehalfby

modifiedby

systemuser EntityType

lk_subjectbase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_subject_modifiedonbehalfby

organizationid

organization EntityType

organization_subjects

parentsubject

subject EntityType

subject_parent_subject

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

Subject_AsyncOperations

asyncoperation EntityType

regardingobjectid_subject

Subject_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_subject

subject_incidents

incident EntityType

subjectid

subject_kb_articles

kbarticle EntityType

subjectid

subject_knowledgearticles

knowledgearticle EntityType

subjectid

subject_parent_subject

subject EntityType

parentsubject

subject_products

product EntityType

subjectid

subject_sales_literature

salesliterature EntityType

subjectid

Subject_SyncErrors

syncerror EntityType

regardingobjectid_subject_syncerror

Operations bound to subject

The following operations are bound to the subject entity type.

Name

Bound to

RetrieveByTopIncidentSubjectKbArticle Function

Entity

Operations using the subject entity type.

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

Name

How used

Description

RetrieveByTopIncidentSubjectKbArticle Function

entity Parameter

Retrieves the top-ten articles about a specified subject from the knowledge base of articles for your organization.

SearchByBodyKbArticle Function

Subject Parameter

Searches for knowledge base articles that contain the specified body text.

SearchByKeywordsKbArticle Function

Subject Parameter

Searches for knowledge base articles that contain the specified keywords.

SearchByTitleKbArticle Function

Subject Parameter

Searches for knowledge base articles that contain the specified title.

See Also

Use the Microsoft Dynamics 365 Web API
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 365

© 2016 Microsoft. All rights reserved. Copyright