POST api/khoahoc/tao-lichkhoahoc

Request Information

URI Parameters

None.

Body Parameters

TaoLichKhoaHocModel
NameDescriptionTypeAdditional information
id_khoa_hoc

string

None.

id_phong

string

None.

ds_giangvien

Collection of GiangVienDayDO

None.

Request Formats

application/json, text/json

Sample:
{
  "id_khoa_hoc": "sample string 1",
  "id_phong": "sample string 2",
  "ds_giangvien": [
    {
      "id_giang_vien": "sample string 1",
      "ma_giang_vien": "sample string 2",
      "ho_ten_giang_vien": "sample string 3",
      "giang_vien_chinh": true
    },
    {
      "id_giang_vien": "sample string 1",
      "ma_giang_vien": "sample string 2",
      "ho_ten_giang_vien": "sample string 3",
      "giang_vien_chinh": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultBase
NameDescriptionTypeAdditional information
result

boolean

None.

code

integer

None.

message

string

None.

validated_message

Collection of string

None.

time

string

None.

resdata

Object

None.

fields_not_null

Collection of string

None.

total_items

integer

None.

total_pages

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "result": true,
  "code": 2,
  "message": "sample string 3",
  "validated_message": [
    "sample string 1",
    "sample string 2"
  ],
  "time": "sample string 4",
  "resdata": {},
  "fields_not_null": [
    "sample string 1",
    "sample string 2"
  ],
  "total_items": 6,
  "total_pages": 7
}