PUT api/PagePosts/PutShortPageTopic?Lang={Lang}

Sửa chủ đề bài viết. Chỉ tác giả hoặc người được cấp quyền mới có thể sửa. Gọi GetPageTopicForEdit để lấy nội dung chủ đề cho API này sửa

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Lang

Lang ngôn ngữ hiện hành (en/vi). Mặc định là vi.

string

Default value is vi

Body Parameters

Chủ đề bài viết cần sửa.

TPageTopicEditData
NameDescriptionTypeAdditional information
ID

ID của chủ đề bài viết

integer

None.

Content

Nội dung chủ đề

string

None.

Note

Ghi chú chủ đề

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Content": "sample string 2",
  "Note": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TPageTopicEditData'.

Response Information

Resource Description

Trả về cấu trúc dữ liệu mô tả trạng thái cập nhật (success,message,enMessage,data).

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.