subject EntityType
Information regarding subjects available in the system.
- Entity set path:
- [organization URI]/api/data/v9.2/subjects
- Base type:
- crmbaseentity
- Display name:
- Subject
- Primary key:
- subjectid
- Primary name column:
- title
- Operations supported:
- POST GET PATCH DELETE
Properties
Properties represent fields of data stored in the entity. Some properties are read-only.
| Name | Type | Details | 
|---|---|---|
| createdon | Edm.DateTimeOffset | Date and time when the subject was created. Display name: Created On Read only | 
| description | Edm.String | Description of the subject. Display name: Description | 
| featuremask | Edm.Int32 | Information that specifies when the subject will be displayed in lists of subjects. Display name: Feature Mask | 
| importsequencenumber | Edm.Int32 | Unique identifier of the data import or data migration that created this record. Display name: Import Sequence Number | 
| modifiedon | Edm.DateTimeOffset | Date and time when the subject was last modified. Display name: Modified On Read only | 
| overriddencreatedon | Edm.DateTimeOffset | Date and time that the record was migrated. Display name: Record Created On | 
| subjectid | Edm.Guid | Unique identifier of the subject. Display name: Subject | 
| title | Edm.String | Title of the subject. Display name: Title | 
| versionnumber | Edm.Int64 | Version number of the subject. 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 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 | lk_subjectbase_createdby | 
| createdonbehalfby | systemuser | lk_subject_createdonbehalfby | 
| modifiedby | systemuser | lk_subjectbase_modifiedby | 
| modifiedonbehalfby | systemuser | lk_subject_modifiedonbehalfby | 
| organizationid | organization | organization_subjects | 
| parentsubject | subject | 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 | 
|---|---|---|
| msdyn_subject_knowledgearticletemplate_subjectid | msdyn_knowledgearticletemplate | msdyn_subjectid | 
| Subject_AsyncOperations | asyncoperation | regardingobjectid_subject | 
| Subject_BulkDeleteFailures | bulkdeletefailure | regardingobjectid_subject | 
| subject_kb_articles | kbarticle | subjectid | 
| subject_knowledgearticles | knowledgearticle | subjectid | 
| subject_parent_subject | subject | parentsubject | 
| Subject_ProcessSessions | processsession | regardingobjectid_subject | 
| Subject_SyncErrors | syncerror | regardingobjectid_subject_syncerror |