POST api/v2/so-yeu-ly-lich/nhan-xet/them-moi

Request Information

URI Parameters

None.

Body Parameters

SoYeuLyLich_NhanXet
NameDescriptionTypeAdditional information
Id

integer

None.

IdSoYeuLyLich

integer

None.

NoiDung

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,
  "idSoYeuLyLich": 2,
  "noiDung": "sample string 3",
  "inUsed": true,
  "createdBy": 5,
  "createdOn": "2025-12-11T19:59:33.8394099+07:00",
  "editedBy": 7,
  "editedOn": "2025-12-11T19:59:33.8394099+07:00"
}

application/xml, text/xml

Sample:
<SoYeuLyLich_NhanXet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>5</CreatedBy>
  <CreatedOn>2025-12-11T19:59:33.8394099+07:00</CreatedOn>
  <EditedBy>7</EditedBy>
  <EditedOn>2025-12-11T19:59:33.8394099+07:00</EditedOn>
  <Id>1</Id>
  <IdSoYeuLyLich>2</IdSoYeuLyLich>
  <InUsed>true</InUsed>
  <NoiDung>sample string 3</NoiDung>
</SoYeuLyLich_NhanXet>

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>