PUT api/TheLoai/update

Request Information

URI Parameters

None.

Body Parameters

TheLoaiViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

TenTheLoai

string

None.

TenTheLoaiNotUniKey

string

None.

TenTheLoaiLink

string

None.

MacDinh

boolean

None.

KichHoat

boolean

None.

SoThuTu

integer

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,
  "TenTheLoai": "sample string 2",
  "TenTheLoaiNotUniKey": "sample string 3",
  "TenTheLoaiLink": "sample string 4",
  "MacDinh": true,
  "KichHoat": true,
  "SoThuTu": 1,
  "NgayTao": "sample string 5",
  "NguoiTao": "sample string 6",
  "NgaySua": "sample string 7",
  "NguoiSua": "sample string 8",
  "DaXoa": true,
  "NgayXoa": "sample string 9",
  "NguoiXoa": "sample string 10"
}

application/xml, text/xml

Sample:
<TheLoaiViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models">
  <DaXoa>true</DaXoa>
  <ID>1</ID>
  <KichHoat>true</KichHoat>
  <MacDinh>true</MacDinh>
  <NgaySua>sample string 7</NgaySua>
  <NgayTao>sample string 5</NgayTao>
  <NgayXoa>sample string 9</NgayXoa>
  <NguoiSua>sample string 8</NguoiSua>
  <NguoiTao>sample string 6</NguoiTao>
  <NguoiXoa>sample string 10</NguoiXoa>
  <SoThuTu>1</SoThuTu>
  <TenTheLoai>sample string 2</TenTheLoai>
  <TenTheLoaiLink>sample string 4</TenTheLoaiLink>
  <TenTheLoaiNotUniKey>sample string 3</TenTheLoaiNotUniKey>
</TheLoaiViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.