PUT api/DangKyTuVan/update
Request Information
URI Parameters
None.
Body Parameters
DangKyTuVanViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| HoTen | string |
None. |
|
| string |
None. |
||
| SoDienThoai | string |
None. |
|
| NgheTuVan | 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,
"HoTen": "sample string 2",
"Email": "sample string 3",
"SoDienThoai": "sample string 4",
"NgheTuVan": "sample string 5",
"KichHoat": true,
"NgayTao": "sample string 6",
"NguoiTao": "sample string 7",
"NgaySua": "sample string 8",
"NguoiSua": "sample string 9",
"DaXoa": true,
"NgayXoa": "sample string 10",
"NguoiXoa": "sample string 11"
}
application/xml, text/xml
Sample:
<DangKyTuVanViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models"> <DaXoa>true</DaXoa> <Email>sample string 3</Email> <HoTen>sample string 2</HoTen> <ID>1</ID> <KichHoat>true</KichHoat> <NgaySua>sample string 8</NgaySua> <NgayTao>sample string 6</NgayTao> <NgayXoa>sample string 10</NgayXoa> <NgheTuVan>sample string 5</NgheTuVan> <NguoiSua>sample string 9</NguoiSua> <NguoiTao>sample string 7</NguoiTao> <NguoiXoa>sample string 11</NguoiXoa> <SoDienThoai>sample string 4</SoDienThoai> </DangKyTuVanViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |