POST api/GetSubComment
Request Information
URI Parameters
None.
Body Parameters
SubCommentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SubComId | integer |
None. |
|
| ComId | integer |
None. |
|
| CommentMsg | string |
None. |
|
| CommentedDate | date |
None. |
|
| CommentedDateShow | string |
None. |
|
| UserId | integer |
None. |
|
| Username | string |
None. |
|
| imageProfile | string |
None. |
|
| MainType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubComId": 1,
"ComId": 2,
"CommentMsg": "sample string 3",
"CommentedDate": "2025-12-27T03:19:52.5822549+00:00",
"CommentedDateShow": "sample string 5",
"UserId": 6,
"Username": "sample string 7",
"imageProfile": "sample string 8",
"MainType": 9
}
application/xml, text/xml
Sample:
<SubCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <ComId>2</ComId> <CommentMsg>sample string 3</CommentMsg> <CommentedDate>2025-12-27T03:19:52.5822549+00:00</CommentedDate> <CommentedDateShow>sample string 5</CommentedDateShow> <MainType>9</MainType> <SubComId>1</SubComId> <UserId>6</UserId> <Username>sample string 7</Username> <imageProfile>sample string 8</imageProfile> </SubCommentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SubCommentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SubComId | integer |
None. |
|
| ComId | integer |
None. |
|
| CommentMsg | string |
None. |
|
| CommentedDate | date |
None. |
|
| CommentedDateShow | string |
None. |
|
| UserId | integer |
None. |
|
| Username | string |
None. |
|
| imageProfile | string |
None. |
|
| MainType | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SubComId": 1,
"ComId": 2,
"CommentMsg": "sample string 3",
"CommentedDate": "2025-12-27T03:19:52.5822549+00:00",
"CommentedDateShow": "sample string 5",
"UserId": 6,
"Username": "sample string 7",
"imageProfile": "sample string 8",
"MainType": 9
},
{
"SubComId": 1,
"ComId": 2,
"CommentMsg": "sample string 3",
"CommentedDate": "2025-12-27T03:19:52.5822549+00:00",
"CommentedDateShow": "sample string 5",
"UserId": 6,
"Username": "sample string 7",
"imageProfile": "sample string 8",
"MainType": 9
}
]
application/xml, text/xml
Sample:
<ArrayOfSubCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models">
<SubCommentModel>
<ComId>2</ComId>
<CommentMsg>sample string 3</CommentMsg>
<CommentedDate>2025-12-27T03:19:52.5822549+00:00</CommentedDate>
<CommentedDateShow>sample string 5</CommentedDateShow>
<MainType>9</MainType>
<SubComId>1</SubComId>
<UserId>6</UserId>
<Username>sample string 7</Username>
<imageProfile>sample string 8</imageProfile>
</SubCommentModel>
<SubCommentModel>
<ComId>2</ComId>
<CommentMsg>sample string 3</CommentMsg>
<CommentedDate>2025-12-27T03:19:52.5822549+00:00</CommentedDate>
<CommentedDateShow>sample string 5</CommentedDateShow>
<MainType>9</MainType>
<SubComId>1</SubComId>
<UserId>6</UserId>
<Username>sample string 7</Username>
<imageProfile>sample string 8</imageProfile>
</SubCommentModel>
</ArrayOfSubCommentModel>