GET api/Events/GetEventDataForEdit?eventID={eventID}&Lang={Lang}

Đọc thông tin sự kiện (Event) để sửa API này cần được gọi trước API cập nhật một sự kiện nào đó

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventID

ID của sự kiện cần đọc.

integer

Required

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

None.

Response Information

Resource Description

Trả về thông tin để đăng ký sự kiện: . - eventEditData: chứa thông tin sự kiện cần sửa - eventTypeList: danh sách kiểu sự kiện - registerTypeList: danh sách kiểu đăng ký - stateList: danh sách trang thái sự kiện

TEventEditModel
NameDescriptionTypeAdditional information
EventID

ID sự kiện

integer

None.

eventEditData

Dữ liệu sự kiện cần sửa

TEventEditData

None.

eventTypeList

Danh sách phân loại sự kiện để chọn

Collection of TIntIDList

None.

registerTypeList

Danh sách kiểu đăng ký sự kiện

Collection of TIntIDList

None.

stateList

Danh sách các trạng thái của sự kiện

Collection of TIntIDList

None.

TFList

Danh sách tổ/trường thành viên để chọn giới hạn

Collection of TTaskforceItemList

None.

IABList

Danh sách hội đồng để chọn giới hạn

Collection of TIABItemList

None.

Response Formats

application/json, text/json

Sample:
{
  "EventID": 1,
  "eventEditData": {
    "$id": "2",
    "ID": 1,
    "Title": "sample string 2",
    "Speaker": "sample string 3",
    "Summary": "sample string 4",
    "Content": "sample string 5",
    "Location": "sample string 6",
    "Organization": "sample string 7",
    "Participants": "sample string 8",
    "StartTime": "2026-04-19T17:22:55.4922471+07:00",
    "EndTime": "2026-04-19T17:22:55.4922471+07:00",
    "Register": 11,
    "TFLimitList": "sample string 12",
    "IABLimitList": "sample string 13",
    "RegisterTime": "2026-04-19T17:22:55.4922471+07:00",
    "ParticipantLimit": 15,
    "EventType": 16,
    "State": 17,
    "Note": "sample string 18",
    "PublishType": 19,
    "Link": "sample string 20",
    "PrePicture": "sample string 21",
    "en": 22,
    "enTitle": "sample string 23",
    "enSummary": "sample string 24",
    "enContent": "sample string 25",
    "enParticipants": "sample string 26",
    "CreatedUserID": 1,
    "CreatedTime": "2026-04-19T17:22:55.5079548+07:00"
  },
  "eventTypeList": [
    {
      "$id": "3",
      "ID": 1,
      "Text": "sample string 2"
    },
    {
      "$ref": "3"
    }
  ],
  "registerTypeList": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    }
  ],
  "stateList": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    }
  ],
  "TFList": [
    {
      "$id": "4",
      "ID": 1,
      "Name": "sample string 2",
      "DeleName": "sample string 3",
      "ConName": "sample string 4"
    },
    {
      "$ref": "4"
    }
  ],
  "IABList": [
    {
      "$id": "5",
      "ID": 1,
      "Name": "sample string 2",
      "TFName": "sample string 3",
      "DeleName": "sample string 4",
      "ConName": "sample string 5"
    },
    {
      "$ref": "5"
    }
  ]
}