PostComment Entity Reference

A comment on an activity feed post.

Messages

Message Web API Operation SDK Assembly
Create POST [org URI]/api/data/v9.0/postcomments
See Create
CreateRequest or
Create
Delete DELETE [org URI]/api/data/v9.0/postcomments(postcommentid)
See Delete
DeleteRequest or
Delete
Retrieve GET [org URI]/api/data/v9.0/postcomments(postcommentid)
See Retrieve
RetrieveRequest or
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/postcomments
See Query Data
RetrieveMultipleRequest or
RetrieveMultiple

Entity Properties

Property Value
CollectionSchemaName PostComments
DisplayCollectionName Comments
DisplayName Comment
EntitySetName postcomments
IsBPFEntity False
LogicalCollectionName postcomments
LogicalName postcomment
OwnershipType OrganizationOwned
PrimaryIdAttribute postcommentid
PrimaryNameAttribute text
SchemaName PostComment

Writable attributes

These attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

PostCommentId

Property Value
Description Shows the ID of the post comment.
DisplayName PostComment
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName postcommentid
RequiredLevel SystemRequired
Type Uniqueidentifier

PostId

Property Value
Description Unique identifier of the post with which the comment is associated.
DisplayName Post
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName postid
RequiredLevel SystemRequired
Targets post
Type Lookup

Text

Property Value
Description Text of the comment.
DisplayName Text
FormatName Text
IsLocalizable False
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName text
MaxLength 1000
RequiredLevel ApplicationRequired
Type String

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
Format None
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
MaxValue 2147483647
MinValue -1
RequiredLevel None
Type Integer

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
Format None
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
MaxValue 2147483647
MinValue -1
RequiredLevel None
Type Integer

Read-only attributes

These attributes return false for both IsValidForCreate or IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyname
MaxLength 100
RequiredLevel None
Type String

CreatedByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyyominame
MaxLength 100
RequiredLevel None
Type String

CreatedOn

Property Value
DateTimeBehavior UserLocal
Description Date and time when the record was created.
DisplayName Created On
Format DateAndTime
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel SystemRequired
Type DateTime

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the record.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedOnBehalfByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OrganizationId

Property Value
Description Unique identifier of the organization associated with the solution.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Targets organization
Type Lookup

OrganizationIdName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName organizationidname
MaxLength 100
RequiredLevel SystemRequired
Type String

PostIdName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName postidname
MaxLength 100
RequiredLevel None
Type String

Many-To-One Relationships

Each Many-To-One relationship is defined by a corresponding One-To-Many relationship with the related entity. Listed by SchemaName.

lk_postcomment_createdby

See systemuser Entity lk_postcomment_createdby One-To-Many relationship.

organization_PostComment

See organization Entity organization_PostComment One-To-Many relationship.

lk_postcomment_createdonbehalfby

See systemuser Entity lk_postcomment_createdonbehalfby One-To-Many relationship.

Post_Comments

See post Entity Post_Comments One-To-Many relationship.

See also

About the Entity Reference
Programming reference for Dynamics 365 Customer Engagement
Web API Reference
postcomment EntityType