POST api/nhomluongs
Request Information
URI Parameters
None.
Body Parameters
nhomluong| 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": 3
}
application/xml, text/xml
Sample:
<nhomluong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <id>1</id> <maxa>3</maxa> <tennhom>sample string 2</tennhom> </nhomluong>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
nhomluong| 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": 3
}
application/xml, text/xml
Sample:
<nhomluong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <id>1</id> <maxa>3</maxa> <tennhom>sample string 2</tennhom> </nhomluong>