POST api/v2/dai-phat-quang-quyen/them-moi

Request Information

URI Parameters

None.

Body Parameters

DM_DaiPhatQuangQuyen
NameDescriptionTypeAdditional information
ID

integer

None.

Ma

string

None.

Ten

string

None.

AnhDaiDien

Collection of byte

None.

ThoiGianLuyenTap

string

None.

DanhXung

string

None.

TenDaiLienDoan

string

None.

AnhDaiLienDoan

Collection of byte

None.

CapDo

string

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,
  "ma": "sample string 2",
  "ten": "sample string 3",
  "anhDaiDien": "QEA=",
  "thoiGianLuyenTap": "sample string 4",
  "danhXung": "sample string 5",
  "tenDaiLienDoan": "sample string 6",
  "anhDaiLienDoan": "QEA=",
  "capDo": "sample string 7",
  "ghiChu": "sample string 8",
  "inUsed": true,
  "createdBy": 10,
  "createdOn": "2025-12-11T19:59:38.0275606+07:00",
  "editedBy": 1,
  "editedOn": "2025-12-11T19:59:38.0275606+07:00"
}

application/xml, text/xml

Sample:
<DM_DaiPhatQuangQuyen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AnhDaiDien>QEA=</AnhDaiDien>
  <AnhDaiLienDoan>QEA=</AnhDaiLienDoan>
  <CapDo>sample string 7</CapDo>
  <CreatedBy>10</CreatedBy>
  <CreatedOn>2025-12-11T19:59:38.0275606+07:00</CreatedOn>
  <DanhXung>sample string 5</DanhXung>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T19:59:38.0275606+07:00</EditedOn>
  <GhiChu>sample string 8</GhiChu>
  <ID>1</ID>
  <InUsed>true</InUsed>
  <Ma>sample string 2</Ma>
  <Ten>sample string 3</Ten>
  <TenDaiLienDoan>sample string 6</TenDaiLienDoan>
  <ThoiGianLuyenTap>sample string 4</ThoiGianLuyenTap>
</DM_DaiPhatQuangQuyen>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObjectOfInt32
NameDescriptionTypeAdditional 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>