POST api/DinhMucPTN/ThemDuTruMH
Request Information
URI Parameters
None.
Body Parameters
DuTruTTBModelName | Description | Type | Additional information |
---|---|---|---|
ID | decimal number |
None. |
|
MaLHP | decimal number |
None. |
|
TenMH | string |
None. |
|
NguoiGui | string |
None. |
|
NguoiDuyet | string |
None. |
|
TinhTrang | boolean |
None. |
|
SLNhom | integer |
None. |
|
LHP | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1.0, "maLHP": 2.0, "tenMH": "sample string 3", "nguoiGui": "sample string 4", "nguoiDuyet": "sample string 5", "tinhTrang": true, "slNhom": 7, "lhp": "sample string 8" }
text/html
Sample:
{"id":1.0,"maLHP":2.0,"tenMH":"sample string 3","nguoiGui":"sample string 4","nguoiDuyet":"sample string 5","tinhTrang":true,"slNhom":7,"lhp":"sample string 8"}
application/xml, text/xml
Sample:
<DuTruTTBModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel"> <ID>1</ID> <LHP>sample string 8</LHP> <MaLHP>2</MaLHP> <NguoiDuyet>sample string 5</NguoiDuyet> <NguoiGui>sample string 4</NguoiGui> <SLNhom>7</SLNhom> <TenMH>sample string 3</TenMH> <TinhTrang>true</TinhTrang> </DuTruTTBModel>
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. |