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