POST api/v2/so-du-dau-ky/them-moi
Request Information
URI Parameters
None.
Body Parameters
SoDuDauKy| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDQuyThuChi | integer |
None. |
|
| IDDonVi | integer |
None. |
|
| Thang | integer |
None. |
|
| Nam | integer |
None. |
|
| IDDonViTienTe | integer |
None. |
|
| SoTien | decimal number |
None. |
|
| GhiChu | string |
None. |
|
| InUsed | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| EditedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"idQuyThuChi": 1,
"idDonVi": 1,
"thang": 1,
"nam": 1,
"idDonViTienTe": 1,
"soTien": 1.1,
"ghiChu": "sample string 2",
"inUsed": true,
"createdBy": 1,
"createdOn": "2025-12-11T19:58:54.3393854+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T19:58:54.3393854+07:00"
}
application/xml, text/xml
Sample:
<SoDuDauKy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-11T19:58:54.3393854+07:00</CreatedOn> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T19:58:54.3393854+07:00</EditedOn> <GhiChu>sample string 2</GhiChu> <ID>1</ID> <IDDonVi>1</IDDonVi> <IDDonViTienTe>1</IDDonViTienTe> <IDQuyThuChi>1</IDQuyThuChi> <InUsed>true</InUsed> <Nam>1</Nam> <SoTien>1.1</SoTien> <Thang>1</Thang> </SoDuDauKy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": 3
}
application/xml, text/xml
Sample:
<ResponseObjectOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models"> <Data>3</Data> <Message>sample string 2</Message> <Status>true</Status> </ResponseObjectOfint>