POST api/v2/quy-thu-chi/them-moi

Request Information

URI Parameters

None.

Body Parameters

DM_QuyThuChi
NameDescriptionTypeAdditional information
ID

integer

None.

Ma

string

None.

Ten

string

None.

SoTien

decimal number

None.

GhiChu

string

None.

IDDonVi

integer

None.

InUsed

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

EditedOn

date

None.

EditedBy

integer

None.

LoaiQuy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "ma": "sample string 2",
  "ten": "sample string 3",
  "soTien": 4.1,
  "ghiChu": "sample string 5",
  "idDonVi": 6,
  "inUsed": true,
  "createdBy": 1,
  "createdOn": "2025-12-11T20:44:07.869238+07:00",
  "editedOn": "2025-12-11T20:44:07.869238+07:00",
  "editedBy": 1,
  "loaiQuy": 1
}

application/xml, text/xml

Sample:
<DM_QuyThuChi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2025-12-11T20:44:07.869238+07:00</CreatedOn>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T20:44:07.869238+07:00</EditedOn>
  <GhiChu>sample string 5</GhiChu>
  <ID>1</ID>
  <IDDonVi>6</IDDonVi>
  <InUsed>true</InUsed>
  <LoaiQuy>1</LoaiQuy>
  <Ma>sample string 2</Ma>
  <SoTien>4.1</SoTien>
  <Ten>sample string 3</Ten>
</DM_QuyThuChi>

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>