POST api/tai-khoan/cap-nhat-thong-tin-tai-khoan
Request Information
URI Parameters
None.
Body Parameters
DM_NhanVien| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDCoCauToChuc | integer |
None. |
|
| IDPhongBan | integer |
None. |
|
| Ma | string |
None. |
|
| IsNhanVien | integer |
None. |
|
| HoVaTen | string |
None. |
|
| PhapDanh | string |
None. |
|
| NgaySinh | date |
None. |
|
| SoDienThoai | string |
None. |
|
| string |
None. |
||
| UserName | string |
None. |
|
| Password | string |
None. |
|
| KichHoat | boolean |
None. |
|
| HanSuDung | date |
None. |
|
| NgonNgu | string |
None. |
|
| InUsed | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| IDSoYeuLyLich | integer |
None. |
|
| LinkAnhDaiDien | string |
None. |
|
| IDPhatTu | integer |
None. |
|
| IsChangePassword | integer |
None. |
|
| PhanLoai | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"idCoCauToChuc": 1,
"idPhongBan": 1,
"ma": "sample string 2",
"isNhanVien": 3,
"hoVaTen": "sample string 4",
"phapDanh": "sample string 5",
"ngaySinh": "2025-12-11T20:10:52.8460347+07:00",
"soDienThoai": "sample string 6",
"email": "sample string 7",
"userName": "sample string 8",
"password": "sample string 9",
"kichHoat": true,
"hanSuDung": "2025-12-11T20:10:52.8460347+07:00",
"ngonNgu": "sample string 11",
"inUsed": true,
"createdBy": 13,
"createdOn": "2025-12-11T20:10:52.8460347+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:10:52.8460347+07:00",
"idSoYeuLyLich": 1,
"linkAnhDaiDien": "sample string 15",
"idPhatTu": 16,
"isChangePassword": 17,
"phanLoai": 1
}
application/xml, text/xml
Sample:
<DM_NhanVien xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>13</CreatedBy> <CreatedOn>2025-12-11T20:10:52.8460347+07:00</CreatedOn> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T20:10:52.8460347+07:00</EditedOn> <Email>sample string 7</Email> <HanSuDung>2025-12-11T20:10:52.8460347+07:00</HanSuDung> <HoVaTen>sample string 4</HoVaTen> <ID>1</ID> <IDCoCauToChuc>1</IDCoCauToChuc> <IDPhatTu>16</IDPhatTu> <IDPhongBan>1</IDPhongBan> <IDSoYeuLyLich>1</IDSoYeuLyLich> <InUsed>true</InUsed> <IsChangePassword>17</IsChangePassword> <IsNhanVien>3</IsNhanVien> <KichHoat>true</KichHoat> <LinkAnhDaiDien>sample string 15</LinkAnhDaiDien> <Ma>sample string 2</Ma> <NgaySinh>2025-12-11T20:10:52.8460347+07:00</NgaySinh> <NgonNgu>sample string 11</NgonNgu> <Password>sample string 9</Password> <PhanLoai>1</PhanLoai> <PhapDanh>sample string 5</PhapDanh> <SoDienThoai>sample string 6</SoDienThoai> <UserName>sample string 8</UserName> </DM_NhanVien>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectOfString| Name | Description | Type | Additional 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>