POST api/tinhs
Request Information
URI Parameters
None.
Body Parameters
tinh| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tentinh | string |
None. |
|
| created_at | date |
None. |
|
| updated_at | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tentinh": "sample string 2",
"created_at": "2025-12-20T05:19:26.0875418+07:00",
"updated_at": "2025-12-20T05:19:26.0875418+07:00"
}
application/xml, text/xml
Sample:
<tinh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <created_at>2025-12-20T05:19:26.0875418+07:00</created_at> <id>1</id> <tentinh>sample string 2</tentinh> <updated_at>2025-12-20T05:19:26.0875418+07:00</updated_at> </tinh>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
tinh| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tentinh | string |
None. |
|
| created_at | date |
None. |
|
| updated_at | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"tentinh": "sample string 2",
"created_at": "2025-12-20T05:19:26.0875418+07:00",
"updated_at": "2025-12-20T05:19:26.0875418+07:00"
}
application/xml, text/xml
Sample:
<tinh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models"> <created_at>2025-12-20T05:19:26.0875418+07:00</created_at> <id>1</id> <tentinh>sample string 2</tentinh> <updated_at>2025-12-20T05:19:26.0875418+07:00</updated_at> </tinh>