POST api/tai-khoan/doi-mat-khau
Request Information
URI Parameters
None.
Body Parameters
DM_NhanVien_View| Name | Description | Type | Additional information |
|---|---|---|---|
| newPassWord | string |
None. |
|
| TenCoCauToChuc | string |
None. |
|
| MaCoCauToChuc | string |
None. |
|
| Loai | integer |
None. |
|
| IdDoiTuong | integer |
None. |
|
| 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:
{
"newPassWord": "sample string 1",
"tenCoCauToChuc": "sample string 2",
"maCoCauToChuc": "sample string 3",
"loai": 1,
"idDoiTuong": 1,
"id": 4,
"idCoCauToChuc": 1,
"idPhongBan": 1,
"ma": "sample string 5",
"isNhanVien": 6,
"hoVaTen": "sample string 7",
"phapDanh": "sample string 8",
"ngaySinh": "2025-12-11T20:09:09.3169783+07:00",
"soDienThoai": "sample string 9",
"email": "sample string 10",
"userName": "sample string 11",
"password": "sample string 12",
"kichHoat": true,
"hanSuDung": "2025-12-11T20:09:09.3179581+07:00",
"ngonNgu": "sample string 14",
"inUsed": true,
"createdBy": 16,
"createdOn": "2025-12-11T20:09:09.3179581+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:09:09.3184911+07:00",
"idSoYeuLyLich": 1,
"linkAnhDaiDien": "sample string 18",
"idPhatTu": 19,
"isChangePassword": 20,
"phanLoai": 1
}
application/xml, text/xml
Sample:
<DM_NhanVien_View xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>16</CreatedBy> <CreatedOn>2025-12-11T20:09:09.3179581+07:00</CreatedOn> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T20:09:09.3184911+07:00</EditedOn> <Email>sample string 10</Email> <HanSuDung>2025-12-11T20:09:09.3179581+07:00</HanSuDung> <HoVaTen>sample string 7</HoVaTen> <ID>4</ID> <IDCoCauToChuc>1</IDCoCauToChuc> <IDPhatTu>19</IDPhatTu> <IDPhongBan>1</IDPhongBan> <IDSoYeuLyLich>1</IDSoYeuLyLich> <InUsed>true</InUsed> <IsChangePassword>20</IsChangePassword> <IsNhanVien>6</IsNhanVien> <KichHoat>true</KichHoat> <LinkAnhDaiDien>sample string 18</LinkAnhDaiDien> <Ma>sample string 5</Ma> <NgaySinh>2025-12-11T20:09:09.3169783+07:00</NgaySinh> <NgonNgu>sample string 14</NgonNgu> <Password>sample string 12</Password> <PhanLoai>1</PhanLoai> <PhapDanh>sample string 8</PhapDanh> <SoDienThoai>sample string 9</SoDienThoai> <UserName>sample string 11</UserName> <IdDoiTuong>1</IdDoiTuong> <Loai>1</Loai> <MaCoCauToChuc>sample string 3</MaCoCauToChuc> <TenCoCauToChuc>sample string 2</TenCoCauToChuc> <newPassWord>sample string 1</newPassWord> </DM_NhanVien_View>
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>