POST api/qua-trinh-tu-hanh/them-moi
Request Information
URI Parameters
None.
Body Parameters
QuaTrinhTuHanh| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDSoYeuLyLich | integer |
None. |
|
| IDDiaDiem | integer |
None. |
|
| IDChucVu | integer |
None. |
|
| TuNgay | date |
None. |
|
| DenNgay | date |
None. |
|
| IsDenNay | boolean |
None. |
|
| GhiChu | string |
None. |
|
| InUsed | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| IDDonVi | integer |
None. |
|
| IdLoai | integer |
None. |
|
| SuKien | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"idSoYeuLyLich": 2,
"idDiaDiem": 1,
"idChucVu": 1,
"tuNgay": "2025-12-11T20:42:42.0369078+07:00",
"denNgay": "2025-12-11T20:42:42.0369078+07:00",
"isDenNay": true,
"ghiChu": "sample string 4",
"inUsed": true,
"createdBy": 6,
"createdOn": "2025-12-11T20:42:42.0369078+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:42:42.0369078+07:00",
"idDonVi": 8,
"idLoai": 1,
"suKien": "sample string 9"
}
application/xml, text/xml
Sample:
<QuaTrinhTuHanh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>6</CreatedBy> <CreatedOn>2025-12-11T20:42:42.0369078+07:00</CreatedOn> <DenNgay>2025-12-11T20:42:42.0369078+07:00</DenNgay> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T20:42:42.0369078+07:00</EditedOn> <GhiChu>sample string 4</GhiChu> <ID>1</ID> <IDChucVu>1</IDChucVu> <IDDiaDiem>1</IDDiaDiem> <IDDonVi>8</IDDonVi> <IDSoYeuLyLich>2</IDSoYeuLyLich> <IdLoai>1</IdLoai> <InUsed>true</InUsed> <IsDenNay>true</IsDenNay> <SuKien>sample string 9</SuKien> <TuNgay>2025-12-11T20:42:42.0369078+07:00</TuNgay> </QuaTrinhTuHanh>
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>