PUT api/Notifies/PutUpdateNotify

Cập nhật nội dung tin nhắn. Chỉ cập nhật phần nội dung và ghi chú

Request Information

URI Parameters

None.

Body Parameters

Dữ liệu tin nhắn cần cập nhật.

TNotifyForUpdate
NameDescriptionTypeAdditional information
ID

ID tin nhắn được sửa

integer

None.

Content

Nội dung tin nhắn

string

None.

Note

Ghi chú

string

None.

UserID

ID người dùng hiện tại

integer

None.

Request Formats

application/json, text/json

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

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 'TNotifyForUpdate'.

Response Information

Resource Description

Trả về True nếu cập nhật thành công.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.