POST api/danh-muc-to-sinh-hoat/sua-doi

Request Information

URI Parameters

None.

Body Parameters

DM_ToSinhHoat
NameDescriptionTypeAdditional information
ID

integer

None.

IDCoCauToChuc

integer

None.

Ma

string

None.

Ten

string

None.

NgayThanhLap

date

None.

NamThanhLap

integer

None.

IDTinh

integer

None.

IDHuyen

integer

None.

IDXa

integer

None.

SoNha

string

None.

GhiChu

string

None.

InUsed

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

EditedBy

integer

None.

EditedOn

date

None.

MaPMQLCTN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idCoCauToChuc": 2,
  "ma": "sample string 3",
  "ten": "sample string 4",
  "ngayThanhLap": "2025-12-11T19:59:16.3982198+07:00",
  "namThanhLap": 5,
  "idTinh": 6,
  "idHuyen": 7,
  "idXa": 8,
  "soNha": "sample string 9",
  "ghiChu": "sample string 10",
  "inUsed": true,
  "createdBy": 12,
  "createdOn": "2025-12-11T19:59:16.3987175+07:00",
  "editedBy": 1,
  "editedOn": "2025-12-11T19:59:16.3987175+07:00",
  "maPMQLCTN": "sample string 14"
}

application/xml, text/xml

Sample:
<DM_ToSinhHoat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>12</CreatedBy>
  <CreatedOn>2025-12-11T19:59:16.3987175+07:00</CreatedOn>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T19:59:16.3987175+07:00</EditedOn>
  <GhiChu>sample string 10</GhiChu>
  <ID>1</ID>
  <IDCoCauToChuc>2</IDCoCauToChuc>
  <IDHuyen>7</IDHuyen>
  <IDTinh>6</IDTinh>
  <IDXa>8</IDXa>
  <InUsed>true</InUsed>
  <Ma>sample string 3</Ma>
  <MaPMQLCTN>sample string 14</MaPMQLCTN>
  <NamThanhLap>5</NamThanhLap>
  <NgayThanhLap>2025-12-11T19:59:16.3982198+07:00</NgayThanhLap>
  <SoNha>sample string 9</SoNha>
  <Ten>sample string 4</Ten>
</DM_ToSinhHoat>

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>