[News] Bình luận tin tức - duyit2405/portal-app GitHub Wiki
Request
-
Method: POST
-
URL: /api/NewsComment/CommentOnNews
-
FULL URL WITH SERVER: http://vsn.thenhan.com/api/NewsComment/CommentOnNews
-
Header: Authorization: Bearer {access token}
-
Description: Bình Luận một tin tức
-
DATA:
{
"ParentID": 3,
"Files": "",
"Content": "abc",
"NewsID": "193"
}
- Note For Response:
Parameter URL: N/A
- Response:
{
"ID": 3,
"NewsID": 193,
"Content": "abc",
"CreatedTime": "2017-09-23T14:27:00.76+07:00",
"LastModified": "2017-09-23T14:27:00.76+07:00",
"AuthorID": 0,
"TotalLike": 0,
"Level": 1,
"Order": 1
}