PUT api/TinLienQuan/update

Request Information

URI Parameters

None.

Body Parameters

TinLienQuanViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

TieuDe

string

None.

LienKet

string

None.

STT

integer

None.

Mau

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.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TieuDe": "sample string 2",
  "LienKet": "sample string 3",
  "STT": 1,
  "Mau": "sample string 4",
  "KichHoat": true,
  "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:
<TinLienQuanViewModel 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>
  <LienKet>sample string 3</LienKet>
  <Mau>sample string 4</Mau>
  <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>
  <STT>1</STT>
  <TieuDe>sample string 2</TieuDe>
</TinLienQuanViewModel>

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

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.