POST api/i-phonghoc
Request Information
URI Parameters
None.
Body Parameters
PhongHocDO| Name | Description | Type | Additional information |
|---|---|---|---|
| id_phong | string |
None. |
|
| ma_phong | string |
None. |
|
| ten_phong | string |
None. |
|
| ghi_chu_phong | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id_phong": "sample string 1",
"ma_phong": "sample string 2",
"ten_phong": "sample string 3",
"ghi_chu_phong": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultBase| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| code | integer |
None. |
|
| message | string |
None. |
|
| validated_message | Collection of string |
None. |
|
| time | string |
None. |
|
| resdata | Object |
None. |
|
| fields_not_null | Collection of string |
None. |
|
| total_items | integer |
None. |
|
| total_pages | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"code": 2,
"message": "sample string 3",
"validated_message": [
"sample string 1",
"sample string 2"
],
"time": "sample string 4",
"resdata": {},
"fields_not_null": [
"sample string 1",
"sample string 2"
],
"total_items": 6,
"total_pages": 7
}