POST api/v2/khoan-thu/sua-doi
Request Information
URI Parameters
None.
Body Parameters
DM_KhoanThu| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ParentID | integer |
None. |
|
| Ma | string |
None. |
|
| Ten | string |
None. |
|
| DonViTinh | string |
None. |
|
| DonGia | decimal number |
None. |
|
| IDDonViTienTe | integer |
None. |
|
| GhiChu | string |
None. |
|
| InUsed | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| IDDonVi | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"parentID": 1,
"ma": "sample string 2",
"ten": "sample string 3",
"donViTinh": "sample string 4",
"donGia": 5.1,
"idDonViTienTe": 1,
"ghiChu": "sample string 6",
"inUsed": true,
"createdBy": 1,
"createdOn": "2025-12-11T20:43:56.6219386+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:43:56.6224064+07:00",
"idDonVi": 8
}
application/xml, text/xml
Sample:
<DM_KhoanThu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-11T20:43:56.6219386+07:00</CreatedOn> <DonGia>5.1</DonGia> <DonViTinh>sample string 4</DonViTinh> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T20:43:56.6224064+07:00</EditedOn> <GhiChu>sample string 6</GhiChu> <ID>1</ID> <IDDonVi>8</IDDonVi> <IDDonViTienTe>1</IDDonViTienTe> <InUsed>true</InUsed> <Ma>sample string 2</Ma> <ParentID>1</ParentID> <Ten>sample string 3</Ten> </DM_KhoanThu>
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>