POST api/danh-muc-nguoi-duyet/them-moi

Request Information

URI Parameters

None.

Body Parameters

DM_NguoiDuyet
NameDescriptionTypeAdditional information
ID

integer

None.

IDNguoiDuyet

integer

None.

GhiChu

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

EditedOn

date

None.

EditedBy

integer

None.

InUsed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idNguoiDuyet": 2,
  "ghiChu": "sample string 3",
  "createdOn": "2025-12-11T19:59:27.7836605+07:00",
  "createdBy": 5,
  "editedOn": "2025-12-11T19:59:27.7836605+07:00",
  "editedBy": 6,
  "inUsed": true
}

application/xml, text/xml

Sample:
<DM_NguoiDuyet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API">
  <CreatedBy>5</CreatedBy>
  <CreatedOn>2025-12-11T19:59:27.7836605+07:00</CreatedOn>
  <EditedBy>6</EditedBy>
  <EditedOn>2025-12-11T19:59:27.7836605+07:00</EditedOn>
  <GhiChu>sample string 3</GhiChu>
  <ID>1</ID>
  <IDNguoiDuyet>2</IDNguoiDuyet>
  <InUsed>true</InUsed>
</DM_NguoiDuyet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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