PUT api/TinTuyenSinh/update

Request Information

URI Parameters

None.

Body Parameters

TinTuyenSinhViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

TieuDe

string

None.

TieuDeNotUnikey

string

None.

TinTucLink

string

None.

HienThiTieuDe

boolean

None.

TomTat

string

None.

HienThiTomTat

boolean

None.

NoiDung

string

None.

TuKhoa

string

None.

HinhThuNho

string

None.

HienThiHinhThuNho

boolean

None.

LuotXem

integer

None.

ThongTinNong

boolean

None.

FileDinhKem

string

None.

HienThiFile

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.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TieuDe": "sample string 2",
  "TieuDeNotUnikey": "sample string 3",
  "TinTucLink": "sample string 4",
  "HienThiTieuDe": true,
  "TomTat": "sample string 5",
  "HienThiTomTat": true,
  "NoiDung": "sample string 6",
  "TuKhoa": "sample string 7",
  "HinhThuNho": "sample string 8",
  "HienThiHinhThuNho": true,
  "LuotXem": 1,
  "ThongTinNong": true,
  "FileDinhKem": "sample string 9",
  "HienThiFile": true,
  "KichHoat": true,
  "NgayTao": "sample string 10",
  "NguoiTao": "sample string 11",
  "NgaySua": "sample string 12",
  "NguoiSua": "sample string 13",
  "DaXoa": true,
  "NgayXoa": "sample string 14",
  "NguoiXoa": "sample string 15"
}

application/xml, text/xml

Sample:
<TinTuyenSinhViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models">
  <DaXoa>true</DaXoa>
  <FileDinhKem>sample string 9</FileDinhKem>
  <HienThiFile>true</HienThiFile>
  <HienThiHinhThuNho>true</HienThiHinhThuNho>
  <HienThiTieuDe>true</HienThiTieuDe>
  <HienThiTomTat>true</HienThiTomTat>
  <HinhThuNho>sample string 8</HinhThuNho>
  <ID>1</ID>
  <KichHoat>true</KichHoat>
  <LuotXem>1</LuotXem>
  <NgaySua>sample string 12</NgaySua>
  <NgayTao>sample string 10</NgayTao>
  <NgayXoa>sample string 14</NgayXoa>
  <NguoiSua>sample string 13</NguoiSua>
  <NguoiTao>sample string 11</NguoiTao>
  <NguoiXoa>sample string 15</NguoiXoa>
  <NoiDung>sample string 6</NoiDung>
  <ThongTinNong>true</ThongTinNong>
  <TieuDe>sample string 2</TieuDe>
  <TieuDeNotUnikey>sample string 3</TieuDeNotUnikey>
  <TinTucLink>sample string 4</TinTucLink>
  <TomTat>sample string 5</TomTat>
  <TuKhoa>sample string 7</TuKhoa>
</TinTuyenSinhViewModel>

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.