PUT api/PagePosts/PutPagePostInShort/{id}?Lang={Lang}
Sửa bài viết dạng vắn tắt cho giao diện mobile: - Tiêu đề, tóm tắt (tiếng Anh, tiếng Việt) - Các trạng thái, thuộc tính giới hạn
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID của bài viết cần sửa. |
integer |
Required |
| Lang |
Lang ngôn ngữ hiện hành (en/vi). Mặc định là vi. |
string |
Default value is vi |
Body Parameters
Nội dung (hoàn chỉnh) bài viết cần sửa.
PagePostInShort| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PageTopicID | integer |
None. |
|
| Title | string |
Required |
|
| Summary | string |
Required |
|
| PrePicture | string |
None. |
|
| State | integer |
None. |
|
| Level | integer |
None. |
|
| TaskforceID | integer |
None. |
|
| IABoardID | integer |
None. |
|
| en | integer |
None. |
|
| enTitle | string |
None. |
|
| enSummary | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PageTopicID": 2,
"Title": "sample string 3",
"Summary": "sample string 4",
"PrePicture": "sample string 5",
"State": 6,
"Level": 7,
"TaskforceID": 8,
"IABoardID": 9,
"en": 10,
"enTitle": "sample string 11",
"enSummary": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Trả về True nếu cập nhật thành công.
booleanResponse Formats
application/json, text/json
Sample:
true