Comments

The Comment table is designed to store user-generated feedback or remarks associated with various entities within the application. Each entry in the table includes unique identifiers for both the comment and the user, a timestamp indicating when the comment was made, and the content of the comment itself. Additionally, the table may include field(s) to reference the related entity (such as posts, articles, or products) that the comment pertains to, as well as metadata for moderation purposes, such as approval status or reported flags. This structure allows for efficient retrieval and management of comments, enabling seamless interaction within the user community.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int32

The CommentId field is an identity column of data type int in the Comment table, serving as a unique identifier for each comment entry. It automatically increments with each new record, ensuring that every comment can be distinctly referenced. This field is critical for maintaining the integrity and organization of comment data within the database.

string
required
length between 1 and 450

The EntityId field is designed to store unique identifiers for entities related to each comment within the Comment table. This field uses the NVARCHAR data type, allowing for a maximum length of 450 characters to accommodate various formats of entity identifiers, ensuring compatibility with international character sets. The EntityId serves as a critical reference point for linking comments to specific entities in the system, enhancing data integrity and enabling efficient querying and relationship mapping.

string
required
length between 1 and 450

ItemId: A unique identifier for the item associated with the comment, represented as a string. This field utilizes the NVARCHAR data type, allowing for the storage of Unicode characters, with a maximum length of 450 characters. It serves to link comments to specific items and ensures that multilingual or special character inputs are accommodated.

string
required
length ≥ 1

CommentText: An nvarchar field that stores the text content of a comment, allowing for up to 4000 Unicode characters. This field is intended to capture user-generated feedback, opinions, or observations related to a specific subject or entry in the application. It supports multiple languages and special characters, ensuring broad usability and user engagement.

string | null

EditReason: A textual field designed to capture the reason for editing a comment. This field accepts variable-length Unicode strings, allowing for a detailed explanation not exceeding the maximum limit of 4,000 characters. It provides context for changes made to the original comment, ensuring transparency and accountability in content moderation.

Headers
string
enum
Defaults to application/json;odata.metadata=minimal;odata.streaming=true

Generated from available request content types

Response
200

OK

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!