PUT api/PhongKhoa/update

Request Information

URI Parameters

None.

Body Parameters

PhongKhoa
NameDescriptionTypeAdditional information
ID

integer

None.

TenPhongKhoa

string

String length: inclusive between 0 and 100

PhongKhoaLink

string

None.

TruongPhong

string

String length: inclusive between 0 and 50

PhoTruongPhong

string

String length: inclusive between 0 and 50

HinhAnh

string

String length: inclusive between 0 and 200

isPhong

boolean

None.

NoiDung

string

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_Nghe

Collection of PhongKhoa_Nghe

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 for property 'PhongKhoa' with type 'LcdCNTT.Model.Models.PhongKhoa'. Path 'PhongKhoa_Nghe[0]'.

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 for property 'PhongKhoa' with type 'LcdCNTT.Model.Models.PhongKhoa'. Path 'PhongKhoa_Nghe[0]'.

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

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.