POST api/AddSubComment
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:10:40.9624084+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:10:40.9624084+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
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Result | string |
None. |
|
| newResult | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Result": "sample string 2",
"newResult": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <Id>1</Id> <Result>sample string 2</Result> <newResult>sample string 3</newResult> </ResultModel>