POST api/v2/dot-thi-len-dai/them-moi

Request Information

URI Parameters

None.

Body Parameters

DM_DotThiLenDai
NameDescriptionTypeAdditional information
Id

integer

None.

Ma

string

None.

Ten

string

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.

DiaDiemThiLenDai

string

None.

SoQuyetDinh

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "ma": "sample string 2",
  "ten": "sample string 3",
  "tuNgay": "2025-12-11T20:00:32.35141+07:00",
  "denNgay": "2025-12-11T20:00:32.35141+07:00",
  "ghiChu": "sample string 4",
  "inused": true,
  "createdBy": 6,
  "createdOn": "2025-12-11T20:00:32.35141+07:00",
  "editedBy": 1,
  "editedOn": "2025-12-11T20:00:32.35141+07:00",
  "diaDiemThiLenDai": "sample string 7",
  "soQuyetDinh": "sample string 8"
}

application/xml, text/xml

Sample:
<DM_DotThiLenDai xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>6</CreatedBy>
  <CreatedOn>2025-12-11T20:00:32.35141+07:00</CreatedOn>
  <DenNgay>2025-12-11T20:00:32.35141+07:00</DenNgay>
  <DiaDiemThiLenDai>sample string 7</DiaDiemThiLenDai>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T20:00:32.35141+07:00</EditedOn>
  <GhiChu>sample string 4</GhiChu>
  <Id>1</Id>
  <Inused>true</Inused>
  <Ma>sample string 2</Ma>
  <SoQuyetDinh>sample string 8</SoQuyetDinh>
  <Ten>sample string 3</Ten>
  <TuNgay>2025-12-11T20:00:32.35141+07:00</TuNgay>
</DM_DotThiLenDai>

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>