POST api/danh-muc-linh-vuc/sua-doi
Request Information
URI Parameters
None.
Body Parameters
DM_LinhVuc| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Ma | string |
None. |
|
| Ten | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| InUsed | boolean |
None. |
|
| IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"ma": "sample string 2",
"ten": "sample string 3",
"createdOn": "2025-12-11T20:00:23.9831054+07:00",
"createdBy": 5,
"editedOn": "2025-12-11T20:00:23.9831054+07:00",
"editedBy": 6,
"inUsed": true,
"isDelete": true
}
application/xml, text/xml
Sample:
<DM_LinhVuc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API"> <CreatedBy>5</CreatedBy> <CreatedOn>2025-12-11T20:00:23.9831054+07:00</CreatedOn> <EditedBy>6</EditedBy> <EditedOn>2025-12-11T20:00:23.9831054+07:00</EditedOn> <ID>1</ID> <InUsed>true</InUsed> <IsDelete>true</IsDelete> <Ma>sample string 2</Ma> <Ten>sample string 3</Ten> </DM_LinhVuc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Status>true</Status> </ResponseObjectOfstring>