POST api/hocvien/dangky-khoahoc

Request Information

URI Parameters

None.

Body Parameters

DangKyKhoaHocModel
NameDescriptionTypeAdditional information
dang_ky_tu_khoa_hoc

boolean

None.

ds_dang_ky

Collection of DangKyKhoaHocDO

None.

Request Formats

application/json, text/json

Sample:
{
  "dang_ky_tu_khoa_hoc": true,
  "ds_dang_ky": [
    {
      "id_khoa_hoc": "sample string 1",
      "id_hoc_vien": "sample string 2",
      "hoc_phi_dang_Ky": 3.1,
      "ghi_chu_dang_ky": "sample string 4",
      "hoc_phi_dong": 5.1,
      "ngay_dong_hoc_phi_dot_1": "sample string 6",
      "ngay_het_han_dot_1": "sample string 7",
      "ly_do_dong_hoc_phi": "sample string 8",
      "ngay_nhac_tiep_theo": "sample string 9"
    },
    {
      "id_khoa_hoc": "sample string 1",
      "id_hoc_vien": "sample string 2",
      "hoc_phi_dang_Ky": 3.1,
      "ghi_chu_dang_ky": "sample string 4",
      "hoc_phi_dong": 5.1,
      "ngay_dong_hoc_phi_dot_1": "sample string 6",
      "ngay_het_han_dot_1": "sample string 7",
      "ly_do_dong_hoc_phi": "sample string 8",
      "ngay_nhac_tiep_theo": "sample string 9"
    }
  ]
}

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
}