POST api/danh-muc-dia-diem-cong-tac/them-moi
Request Information
URI Parameters
None.
Body Parameters
DM_DiaDiemCongTac| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Ma | string |
None. |
|
| Ten | string |
None. |
|
| SoNha | string |
None. |
|
| IDXa | integer |
None. |
|
| IDHuyen | integer |
None. |
|
| IDTinh | integer |
None. |
|
| IDQuocGia | integer |
None. |
|
| SuTruTri | string |
None. |
|
| SoDienThoai | string |
None. |
|
| GhiChu | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| InUsed | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"ma": "sample string 2",
"ten": "sample string 3",
"soNha": "sample string 4",
"idXa": 5,
"idHuyen": 6,
"idTinh": 7,
"idQuocGia": 8,
"suTruTri": "sample string 9",
"soDienThoai": "sample string 10",
"ghiChu": "sample string 11",
"createdOn": "2025-12-11T20:10:41.9421164+07:00",
"createdBy": 13,
"editedOn": "2025-12-11T20:10:41.9421164+07:00",
"editedBy": 14,
"inUsed": true
}
application/xml, text/xml
Sample:
<DM_DiaDiemCongTac xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>13</CreatedBy> <CreatedOn>2025-12-11T20:10:41.9421164+07:00</CreatedOn> <EditedBy>14</EditedBy> <EditedOn>2025-12-11T20:10:41.9421164+07:00</EditedOn> <GhiChu>sample string 11</GhiChu> <ID>1</ID> <IDHuyen>6</IDHuyen> <IDQuocGia>8</IDQuocGia> <IDTinh>7</IDTinh> <IDXa>5</IDXa> <InUsed>true</InUsed> <Ma>sample string 2</Ma> <SoDienThoai>sample string 10</SoDienThoai> <SoNha>sample string 4</SoNha> <SuTruTri>sample string 9</SuTruTri> <Ten>sample string 3</Ten> </DM_DiaDiemCongTac>
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>