PUT api/Jobs/PutJobEdit?Lang={Lang}
Cập nhật/sửa công việc Trước đó cần gọi API GetJobDataForEdit để lấy dữ liệu công việc cần sửa
Request Information
URI Parameters
| Name | Description | Type | Additional 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
Dữ liệu công việc đã sửa
TJobEdit| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
ID Job |
integer |
None. |
| Title |
Tiêu đề |
string |
None. |
| Summary |
Tóm tắt |
string |
None. |
| Content |
Nội dung |
string |
None. |
| Result |
Kết quả |
string |
None. |
| StartTime |
Thời gian bắt đầu |
date |
None. |
| EndTime |
Thời gian kết thúc |
date |
None. |
| State |
Trạng thái: 0 = Chưa bắt đầu 1 = Đang thực hiện 2 = Hoàn thành 3 = Gia hạn 4 = Không hoàn thành |
integer |
None. |
| Note |
Ghi chú |
string |
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",
"Result": "sample string 5",
"StartTime": "2026-01-09T22:10:37.6787514+07:00",
"EndTime": "2026-01-09T22:10:37.6787514+07:00",
"State": 8,
"Note": "sample string 9",
"Location": "sample string 10",
"Link": "sample string 11"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JSON mô tả kết quả (State, Message, eMessage)
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.