POST api/danh-muc-ban/them-moi
Request Information
URI Parameters
None.
Body Parameters
DM_BanDaiLe_View| Name | Description | Type | Additional information |
|---|---|---|---|
| IsChon | boolean |
None. |
|
| TenLoaiBan | string |
None. |
|
| ID | integer |
None. |
|
| Ma | string |
None. |
|
| Ten | string |
None. |
|
| GhiChu | string |
None. |
|
| InUsed | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| AnhThe | Collection of byte |
None. |
|
| LinkAnhThe | string |
None. |
|
| ViTriTeamLeader | integer |
None. |
|
| LoaiBan | integer |
None. |
|
| MaDangKy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"isChon": true,
"tenLoaiBan": "Ban thanh niên",
"id": 3,
"ma": "sample string 4",
"ten": "sample string 5",
"ghiChu": "sample string 6",
"inUsed": true,
"createdBy": 8,
"createdOn": "2025-12-11T20:00:32.0779088+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:00:32.0779088+07:00",
"anhThe": "QEA=",
"linkAnhThe": "sample string 10",
"viTriTeamLeader": 1,
"loaiBan": 1,
"maDangKy": "sample string 11"
}
application/xml, text/xml
Sample:
<DM_BanDaiLe_View xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <AnhThe>QEA=</AnhThe> <CreatedBy>8</CreatedBy> <CreatedOn>2025-12-11T20:00:32.0779088+07:00</CreatedOn> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T20:00:32.0779088+07:00</EditedOn> <GhiChu>sample string 6</GhiChu> <ID>3</ID> <InUsed>true</InUsed> <LinkAnhThe>sample string 10</LinkAnhThe> <LoaiBan>1</LoaiBan> <Ma>sample string 4</Ma> <MaDangKy>sample string 11</MaDangKy> <Ten>sample string 5</Ten> <ViTriTeamLeader>1</ViTriTeamLeader> <IsChon>true</IsChon> <TenLoaiBan>Ban thanh niên</TenLoaiBan> </DM_BanDaiLe_View>
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>