PUT api/Calendars/PutCalEdit?Lang={Lang}

Sửa công việc lịch Cần gọi GetCalDataForEdit để lấy về thông tin lịch cần sửa trước

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Lang

Ngôn ngữ của nội dung trả về. Có thể là "vi" (tiếng Việt) hoặc "en" (tiếng Anh). Mặc định là "vi".

string

Default value is vi

Body Parameters

Cấu trúc dữ liệu lịch đã được sửa

TCalEdit
NameDescriptionTypeAdditional information
ID

ID Job

integer

None.

Title

Tiêu đề

string

None.

Summary

Tóm tắt

string

None.

Content

Nội dung

string

None.

StartTime

Thời gian bắt đầu

date

None.

EndTime

Thời gian kết thúc

date

None.

Location

Địa điểm

string

None.

Link

Liên kết

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Title": "sample string 2",
  "Summary": "sample string 3",
  "Content": "sample string 4",
  "StartTime": "2026-01-09T22:10:38.6476167+07:00",
  "EndTime": "2026-01-09T22:10:38.6476167+07:00",
  "Location": "sample string 7",
  "Link": "sample string 8"
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.