POST api/nhombienches
Request Information
URI Parameters
None.
Body Parameters
nhombienche| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tennhom | string |
None. |
|
| maxa | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tennhom": "sample string 2",
"maxa": 1
}
application/xml, text/xml
Sample:
<nhombienche xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <id>1</id> <maxa>1</maxa> <tennhom>sample string 2</tennhom> </nhombienche>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
nhombienche| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tennhom | string |
None. |
|
| maxa | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"tennhom": "sample string 2",
"maxa": 1
}
application/xml, text/xml
Sample:
<nhombienche xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <id>1</id> <maxa>1</maxa> <tennhom>sample string 2</tennhom> </nhombienche>