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

Request Information

URI Parameters

None.

Body Parameters

QT_PhatQuangQuyen
NameDescriptionTypeAdditional information
ID

integer

None.

IDPhatQuangQuyen

integer

None.

IDDaiDaDat

integer

None.

IDDaiThangHang

integer

None.

IDChucVu

integer

None.

IDNoiCap

integer

None.

NgayThangHang

date

None.

TuNgay

date

None.

DenNgay

date

None.

GhiChu

string

None.

InUsed

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

EditedBy

integer

None.

EditedOn

date

None.

IdDotThiLenDai

integer

None.

SoQuyetDinh

string

None.

IsInBang

boolean

None.

IsNhanBang

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idPhatQuangQuyen": 2,
  "idDaiDaDat": 3,
  "idDaiThangHang": 4,
  "idChucVu": 5,
  "idNoiCap": 6,
  "ngayThangHang": "2025-12-11T20:00:33.0789939+07:00",
  "tuNgay": "2025-12-11T20:00:33.0789939+07:00",
  "denNgay": "2025-12-11T20:00:33.0789939+07:00",
  "ghiChu": "sample string 7",
  "inUsed": true,
  "createdBy": 9,
  "createdOn": "2025-12-11T20:00:33.0789939+07:00",
  "editedBy": 1,
  "editedOn": "2025-12-11T20:00:33.0794322+07:00",
  "idDotThiLenDai": 1,
  "soQuyetDinh": "sample string 10",
  "isInBang": true,
  "isNhanBang": true
}

application/xml, text/xml

Sample:
<QT_PhatQuangQuyen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>9</CreatedBy>
  <CreatedOn>2025-12-11T20:00:33.0789939+07:00</CreatedOn>
  <DenNgay>2025-12-11T20:00:33.0789939+07:00</DenNgay>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T20:00:33.0794322+07:00</EditedOn>
  <GhiChu>sample string 7</GhiChu>
  <ID>1</ID>
  <IDChucVu>5</IDChucVu>
  <IDDaiDaDat>3</IDDaiDaDat>
  <IDDaiThangHang>4</IDDaiThangHang>
  <IDNoiCap>6</IDNoiCap>
  <IDPhatQuangQuyen>2</IDPhatQuangQuyen>
  <IdDotThiLenDai>1</IdDotThiLenDai>
  <InUsed>true</InUsed>
  <IsInBang>true</IsInBang>
  <IsNhanBang>true</IsNhanBang>
  <NgayThangHang>2025-12-11T20:00:33.0789939+07:00</NgayThangHang>
  <SoQuyetDinh>sample string 10</SoQuyetDinh>
  <TuNgay>2025-12-11T20:00:33.0789939+07:00</TuNgay>
</QT_PhatQuangQuyen>

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>