POST api/Artlcle/ReplyArticleComment
新增留言/回覆
Request Information
URI Parameters
None.
Body Parameters
ArticleCommentReply_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| articleNo |
文章編號 |
string |
None. |
| type |
方式新增/回覆 |
ArticleCommentReplyEnum |
None. |
| parentId |
父項文章ID |
string |
None. |
| menberNo |
會員 |
string |
None. |
| content |
留言 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"articleNo": "sample string 2",
"type": 0,
"parentId": "sample string 3",
"menberNo": "sample string 4",
"content": "sample string 5"
}
text/html
Sample:
{"Ticket":"sample string 1","articleNo":"sample string 2","type":0,"parentId":"sample string 3","menberNo":"sample string 4","content":"sample string 5"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
新增留言/回覆
ArticleCommentReply_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| ID |
產生的評論ID |
globally unique identifier |
None. |
| status |
狀態 |
ArticleStatus |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"ID": "8cbd6c79-1dbc-434b-9513-a0d36ed6a4a0",
"status": 0
}
text/html
Sample:
{"ticketVerified":true,"ID":"8cbd6c79-1dbc-434b-9513-a0d36ed6a4a0","status":0}