PUT api/HoatDong/update

Request Information

URI Parameters

None.

Body Parameters

HoatDongViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

TieuDe

string

None.

ThumbnailImg

string

None.

NoiDung

string

None.

NoiDungNotUnikey

string

None.

HoatDongLink

string

None.

isVideo

boolean

None.

LinkVideo

string

None.

isGiaoLuuQuocTe

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",
  "ThumbnailImg": "sample string 3",
  "NoiDung": "sample string 4",
  "NoiDungNotUnikey": "sample string 5",
  "HoatDongLink": "sample string 6",
  "isVideo": true,
  "LinkVideo": "sample string 7",
  "isGiaoLuuQuocTe": true,
  "KichHoat": true,
  "NgayTao": "sample string 8",
  "NguoiTao": "sample string 9",
  "NgaySua": "sample string 10",
  "NguoiSua": "sample string 11",
  "DaXoa": true,
  "NgayXoa": "sample string 12",
  "NguoiXoa": "sample string 13"
}

application/xml, text/xml

Sample:
<HoatDongViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models">
  <DaXoa>true</DaXoa>
  <HoatDongLink>sample string 6</HoatDongLink>
  <ID>1</ID>
  <KichHoat>true</KichHoat>
  <LinkVideo>sample string 7</LinkVideo>
  <NgaySua>sample string 10</NgaySua>
  <NgayTao>sample string 8</NgayTao>
  <NgayXoa>sample string 12</NgayXoa>
  <NguoiSua>sample string 11</NguoiSua>
  <NguoiTao>sample string 9</NguoiTao>
  <NguoiXoa>sample string 13</NguoiXoa>
  <NoiDung>sample string 4</NoiDung>
  <NoiDungNotUnikey>sample string 5</NoiDungNotUnikey>
  <ThumbnailImg>sample string 3</ThumbnailImg>
  <TieuDe>sample string 2</TieuDe>
  <isGiaoLuuQuocTe>true</isGiaoLuuQuocTe>
  <isVideo>true</isVideo>
</HoatDongViewModel>

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.