POST api/Artlcle/ArticleCommentLike
文章點讚/取消
Request Information
URI Parameters
None.
Body Parameters
ArticleCommentLike_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| ID |
文章評論ID |
string |
None. |
| type |
方式取消讚/點讚 |
ArticleCommentLikeEnum |
None. |
| menberNo |
會員 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"ID": "sample string 2",
"type": 0,
"menberNo": "sample string 3"
}
text/html
Sample:
{"Ticket":"sample string 1","ID":"sample string 2","type":0,"menberNo":"sample string 3"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
文章點讚/取消
ArticleCommentLike_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| UserID |
按鑽的人 |
string |
None. |
| status |
狀態 |
ArticleStatus |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"UserID": "sample string 2",
"status": 0
}
text/html
Sample:
{"ticketVerified":true,"UserID":"sample string 2","status":0}