POST api/PhongKhoa_Nghe/create

Request Information

URI Parameters

None.

Body Parameters

PhongKhoa_Nghe
NameDescriptionTypeAdditional information
ID

integer

None.

PhongKhoaID

integer

None.

MoTa

string

String length: inclusive between 0 and 200

NoiDung

string

None.

TenNghe

string

None.

NgheLink

string

None.

HinhAnh

string

String length: inclusive between 0 and 200

Video

string

String length: inclusive between 0 and 200

isCaoDang

boolean

None.

isTrungCap

boolean

None.

KichHoat

boolean

None.

NgayTao

string

None.

NguoiTao

string

None.

NgaySua

string

None.

NguoiSua

string

None.

DaXoa

boolean

None.

NgayXoa

string

None.

NguoiXoa

string

None.

PhongKhoa

PhongKhoa

None.

DangKyCaoDangs

Collection of DangKyCaoDang

None.

DangKyLienThongCaoDangs

Collection of DangKyLienThongCaoDang

None.

DangKyTrungCap2Nam

Collection of DangKyTrungCap2Nam

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'LcdCNTT.Model.Models.PhongKhoa_Nghe'. Path 'PhongKhoa.PhongKhoa_Nghe'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'LcdCNTT.Model.Models.PhongKhoa_Nghe'. Path 'PhongKhoa.PhongKhoa_Nghe'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'LcdCNTT.Model.Models.DangKyCaoDang' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'LcdCNTT.Model.Models.DangKyCaoDang' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.