POST api/v2/cong-qua/them-moi

Request Information

URI Parameters

None.

Body Parameters

DM_CongQua
NameDescriptionTypeAdditional information
STT

integer

None.

ID

integer

None.

IDHinhThuc

integer

None.

Ma

string

None.

Ten

string

None.

GhiChu

string

None.

NgayThucHien

date

None.

NgayKetThuc

date

None.

InUsed

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

EditedBy

integer

None.

EditedOn

date

None.

MaHinhThuc

string

None.

TenHinhThuc

string

None.

AnhThe

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "stt": 1,
  "id": 2,
  "idHinhThuc": 1,
  "ma": "sample string 3",
  "ten": "sample string 4",
  "ghiChu": "sample string 5",
  "ngayThucHien": "2025-12-11T20:44:08.2303022+07:00",
  "ngayKetThuc": "2025-12-11T20:44:08.2303022+07:00",
  "inUsed": true,
  "createdBy": 7,
  "createdOn": "2025-12-11T20:44:08.2308741+07:00",
  "editedBy": 1,
  "editedOn": "2025-12-11T20:44:08.2308741+07:00",
  "maHinhThuc": "sample string 9",
  "tenHinhThuc": "sample string 10",
  "anhThe": "QEA="
}

application/xml, text/xml

Sample:
<DM_CongQua xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AnhThe>QEA=</AnhThe>
  <CreatedBy>7</CreatedBy>
  <CreatedOn>2025-12-11T20:44:08.2308741+07:00</CreatedOn>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T20:44:08.2308741+07:00</EditedOn>
  <GhiChu>sample string 5</GhiChu>
  <ID>2</ID>
  <IDHinhThuc>1</IDHinhThuc>
  <InUsed>true</InUsed>
  <Ma>sample string 3</Ma>
  <MaHinhThuc>sample string 9</MaHinhThuc>
  <NgayKetThuc>2025-12-11T20:44:08.2303022+07:00</NgayKetThuc>
  <NgayThucHien>2025-12-11T20:44:08.2303022+07:00</NgayThucHien>
  <STT>1</STT>
  <Ten>sample string 4</Ten>
  <TenHinhThuc>sample string 10</TenHinhThuc>
</DM_CongQua>

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>