POST api/Comment/TPunchCommentRecord
Request Information
URI Parameters
None.
Body Parameters
TPunchCommentClass| Name | Description | Type | Additional information |
|---|---|---|---|
| UserSign | string |
None. |
|
| recordId | string |
None. |
|
| HeadImgUrl | string |
None. |
|
| NickName | string |
None. |
|
| CommentContont | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserSign": "sample string 1",
"recordId": "sample string 2",
"HeadImgUrl": "sample string 3",
"NickName": "sample string 4",
"CommentContont": "sample string 5"
}
application/xml, text/xml
Sample:
<CommentController.TPunchCommentClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiService.Controllers"> <CommentContont>sample string 5</CommentContont> <HeadImgUrl>sample string 3</HeadImgUrl> <NickName>sample string 4</NickName> <UserSign>sample string 1</UserSign> <recordId>sample string 2</recordId> </CommentController.TPunchCommentClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| ErrorMsg | string |
None. |
|
| TotalNum | integer |
None. |
|
| Data | string |
None. |
|
| session_key | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"ErrorMsg": "sample string 1",
"TotalNum": 2,
"Data": "sample string 3",
"session_key": "sample string 4"
}
application/xml, text/xml
Sample:
<ApiResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiService.Models"> <Data>sample string 3</Data> <ErrorMsg>sample string 1</ErrorMsg> <Status>Success</Status> <TotalNum>2</TotalNum> <session_key>sample string 4</session_key> </ApiResultOfstring>