PUT api/HinhThucDaoTao/update
Request Information
URI Parameters
None.
Body Parameters
HinhThucDaoTaoViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
TenHinhThuc | string |
None. |
|
TenHinhThucNotUnikey | string |
None. |
|
HinhThucDaoTaoLink | string |
None. |
|
TomTat | string |
None. |
|
HienThiTomTat | boolean |
None. |
|
NoiDung | string |
None. |
|
HinhThuNho | string |
None. |
|
HienThiHinhThuNho | boolean |
None. |
|
STT | integer |
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. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "TenHinhThuc": "sample string 2", "TenHinhThucNotUnikey": "sample string 3", "HinhThucDaoTaoLink": "sample string 4", "TomTat": "sample string 5", "HienThiTomTat": true, "NoiDung": "sample string 6", "HinhThuNho": "sample string 7", "HienThiHinhThuNho": true, "STT": 8, "KichHoat": true, "NgayTao": "sample string 9", "NguoiTao": "sample string 10", "NgaySua": "sample string 11", "NguoiSua": "sample string 12", "DaXoa": true, "NgayXoa": "sample string 13", "NguoiXoa": "sample string 14" }
application/xml, text/xml
Sample:
<HinhThucDaoTaoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models"> <DaXoa>true</DaXoa> <HienThiHinhThuNho>true</HienThiHinhThuNho> <HienThiTomTat>true</HienThiTomTat> <HinhThuNho>sample string 7</HinhThuNho> <HinhThucDaoTaoLink>sample string 4</HinhThucDaoTaoLink> <ID>1</ID> <KichHoat>true</KichHoat> <NgaySua>sample string 11</NgaySua> <NgayTao>sample string 9</NgayTao> <NgayXoa>sample string 13</NgayXoa> <NguoiSua>sample string 12</NguoiSua> <NguoiTao>sample string 10</NguoiTao> <NguoiXoa>sample string 14</NguoiXoa> <NoiDung>sample string 6</NoiDung> <STT>8</STT> <TenHinhThuc>sample string 2</TenHinhThuc> <TenHinhThucNotUnikey>sample string 3</TenHinhThucNotUnikey> <TomTat>sample string 5</TomTat> </HinhThucDaoTaoViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |