PUT api/LienHe/update

Request Information

URI Parameters

None.

Body Parameters

LienHeViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

NoiDung

string

None.

HoTen

string

None.

TenCongTy

string

None.

Email

string

None.

SoDienThoai

string

None.

DaLienHe

boolean

None.

NgayTao

date

None.

NguoiTao

string

None.

NgaySua

date

None.

NguoiSua

string

None.

DaXoa

boolean

None.

NgayXoa

date

None.

NguoiXoa

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "NoiDung": "sample string 2",
  "HoTen": "sample string 3",
  "TenCongTy": "sample string 4",
  "Email": "sample string 5",
  "SoDienThoai": "sample string 6",
  "DaLienHe": true,
  "NgayTao": "2024-12-27T10:18:20.3800184+07:00",
  "NguoiTao": "sample string 7",
  "NgaySua": "2024-12-27T10:18:20.3800184+07:00",
  "NguoiSua": "sample string 8",
  "DaXoa": true,
  "NgayXoa": "2024-12-27T10:18:20.3800184+07:00",
  "NguoiXoa": "sample string 9"
}

application/xml, text/xml

Sample:
<LienHeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models">
  <DaLienHe>true</DaLienHe>
  <DaXoa>true</DaXoa>
  <Email>sample string 5</Email>
  <HoTen>sample string 3</HoTen>
  <ID>1</ID>
  <NgaySua>2024-12-27T10:18:20.3800184+07:00</NgaySua>
  <NgayTao>2024-12-27T10:18:20.3800184+07:00</NgayTao>
  <NgayXoa>2024-12-27T10:18:20.3800184+07:00</NgayXoa>
  <NguoiSua>sample string 8</NguoiSua>
  <NguoiTao>sample string 7</NguoiTao>
  <NguoiXoa>sample string 9</NguoiXoa>
  <NoiDung>sample string 2</NoiDung>
  <SoDienThoai>sample string 6</SoDienThoai>
  <TenCongTy>sample string 4</TenCongTy>
</LienHeViewModel>

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.