PUT api/DangBo/update
Request Information
URI Parameters
None.
Body Parameters
DangBoViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
NoiDung | string |
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", "NgayTao": "sample string 3", "NguoiTao": "sample string 4", "NgaySua": "sample string 5", "NguoiSua": "sample string 6", "DaXoa": true, "NgayXoa": "sample string 7", "NguoiXoa": "sample string 8" }
application/xml, text/xml
Sample:
<DangBoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models"> <DaXoa>true</DaXoa> <ID>1</ID> <NgaySua>sample string 5</NgaySua> <NgayTao>sample string 3</NgayTao> <NgayXoa>sample string 7</NgayXoa> <NguoiSua>sample string 6</NguoiSua> <NguoiTao>sample string 4</NguoiTao> <NguoiXoa>sample string 8</NguoiXoa> <NoiDung>sample string 2</NoiDung> </DangBoViewModel>
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. |