POST api/qua-trinh-tu-hanh/cap-nhat

Request Information

URI Parameters

None.

Body Parameters

QuaTrinhTuHanh
NameDescriptionTypeAdditional information
ID

integer

None.

IDSoYeuLyLich

integer

None.

IDDiaDiem

integer

None.

IDChucVu

integer

None.

TuNgay

date

None.

DenNgay

date

None.

IsDenNay

boolean

None.

GhiChu

string

None.

InUsed

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

EditedBy

integer

None.

EditedOn

date

None.

IDDonVi

integer

None.

IdLoai

integer

None.

SuKien

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idSoYeuLyLich": 2,
  "idDiaDiem": 1,
  "idChucVu": 1,
  "tuNgay": "2025-12-11T20:42:41.3428895+07:00",
  "denNgay": "2025-12-11T20:42:41.3428895+07:00",
  "isDenNay": true,
  "ghiChu": "sample string 4",
  "inUsed": true,
  "createdBy": 6,
  "createdOn": "2025-12-11T20:42:41.3428895+07:00",
  "editedBy": 1,
  "editedOn": "2025-12-11T20:42:41.3433891+07:00",
  "idDonVi": 8,
  "idLoai": 1,
  "suKien": "sample string 9"
}

application/xml, text/xml

Sample:
<QuaTrinhTuHanh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>6</CreatedBy>
  <CreatedOn>2025-12-11T20:42:41.3428895+07:00</CreatedOn>
  <DenNgay>2025-12-11T20:42:41.3428895+07:00</DenNgay>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T20:42:41.3433891+07:00</EditedOn>
  <GhiChu>sample string 4</GhiChu>
  <ID>1</ID>
  <IDChucVu>1</IDChucVu>
  <IDDiaDiem>1</IDDiaDiem>
  <IDDonVi>8</IDDonVi>
  <IDSoYeuLyLich>2</IDSoYeuLyLich>
  <IdLoai>1</IdLoai>
  <InUsed>true</InUsed>
  <IsDenNay>true</IsDenNay>
  <SuKien>sample string 9</SuKien>
  <TuNgay>2025-12-11T20:42:41.3428895+07:00</TuNgay>
</QuaTrinhTuHanh>

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>