POST api/khoanthuchi/SuaKhoanThuChi
Request Information
URI Parameters
None.
Body Parameters
KhoanThuChiData| Name | Description | Type | Additional information |
|---|---|---|---|
| Loai | integer |
None. |
|
| IDKhoanThuChi | integer |
None. |
|
| TenKhoanThuChi | string |
None. |
|
| MaKhoanThuChi | string |
None. |
|
| GhiChu | string |
None. |
|
| IDKHDPS | string |
None. |
|
| DonGia | string |
None. |
|
| LoaiThu | string |
None. |
|
| TheoUser | boolean |
None. |
|
| IDUser | integer |
None. |
|
| ThuTheoDienTich | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Loai": 1,
"IDKhoanThuChi": 2,
"TenKhoanThuChi": "sample string 3",
"MaKhoanThuChi": "sample string 4",
"GhiChu": "sample string 5",
"IDKHDPS": "sample string 6",
"DonGia": "sample string 7",
"LoaiThu": "sample string 8",
"TheoUser": true,
"IDUser": 10,
"ThuTheoDienTich": 11
}
application/xml, text/xml
Sample:
<KhoanThuChiData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <DonGia>sample string 7</DonGia> <GhiChu>sample string 5</GhiChu> <IDKHDPS>sample string 6</IDKHDPS> <IDKhoanThuChi>2</IDKhoanThuChi> <IDUser>10</IDUser> <Loai>1</Loai> <LoaiThu>sample string 8</LoaiThu> <MaKhoanThuChi>sample string 4</MaKhoanThuChi> <TenKhoanThuChi>sample string 3</TenKhoanThuChi> <TheoUser>true</TheoUser> <ThuTheoDienTich>11</ThuTheoDienTich> </KhoanThuChiData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | Object |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {},
"error": {
"message": "sample string 1",
"code": "sample string 2"
}
}
application/xml, text/xml
Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<data />
<error>
<code>sample string 2</code>
<message>sample string 1</message>
</error>
<page />
<status>1</status>
</BaseModelOfanyType>