PUT api/LienHe/update
Request Information
URI Parameters
None.
Body Parameters
LienHeViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
NoiDung | string |
None. |
|
HoTen | string |
None. |
|
NamSinh | string |
None. |
|
string |
None. |
||
SoDienThoai | string |
None. |
|
DaLienHe | 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, "NoiDung": "sample string 2", "HoTen": "sample string 3", "NamSinh": "sample string 4", "Email": "sample string 5", "SoDienThoai": "sample string 6", "DaLienHe": true, "NgayTao": "sample string 7", "NguoiTao": "sample string 8", "NgaySua": "sample string 9", "NguoiSua": "sample string 10", "DaXoa": true, "NgayXoa": "sample string 11", "NguoiXoa": "sample string 12" }
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> <NamSinh>sample string 4</NamSinh> <NgaySua>sample string 9</NgaySua> <NgayTao>sample string 7</NgayTao> <NgayXoa>sample string 11</NgayXoa> <NguoiSua>sample string 10</NguoiSua> <NguoiTao>sample string 8</NguoiTao> <NguoiXoa>sample string 12</NguoiXoa> <NoiDung>sample string 2</NoiDung> <SoDienThoai>sample string 6</SoDienThoai> </LienHeViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |