POST api/nhanvien/CapNhatNhanVien
Cập nhật nhân viên bên bán hàng trc rồi mới cập nhật bên Hrm
Request Information
URI Parameters
None.
Body Parameters
NhanVienModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdNV | string |
None. |
|
| MaNV | string |
None. |
|
| HoLot | string |
None. |
|
| Ten | string |
None. |
|
| GioiTinh | integer |
None. |
|
| NgaySinh | string |
None. |
|
| SoCMND | string |
None. |
|
| PhoneNumber | string |
None. |
|
| NgayCap | string |
None. |
|
| NoiCap | string |
None. |
|
| DiaChi | string |
None. |
|
| IdQH | string |
None. |
|
| TenQH | string |
None. |
|
| IdCho | string |
None. |
|
| TenCho | string |
None. |
|
| IdCV | string |
None. |
|
| TenCV | string |
None. |
|
| IdPB | string |
None. |
|
| TenPB | string |
None. |
|
| IdTT | string |
None. |
|
| HoTen | string |
None. |
|
| QuanLySap | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdNV": "sample string 1",
"MaNV": "sample string 2",
"HoLot": "sample string 3",
"Ten": "sample string 4",
"GioiTinh": 5,
"NgaySinh": "sample string 6",
"SoCMND": "sample string 7",
"PhoneNumber": "sample string 8",
"NgayCap": "sample string 9",
"NoiCap": "sample string 10",
"DiaChi": "sample string 11",
"IdQH": "sample string 12",
"TenQH": "sample string 13",
"IdCho": "sample string 14",
"TenCho": "sample string 15",
"IdCV": "sample string 16",
"TenCV": "sample string 17",
"IdPB": "sample string 18",
"TenPB": "sample string 19",
"IdTT": "sample string 20",
"HoTen": "sample string 21",
"QuanLySap": true
}
application/xml, text/xml
Sample:
<NhanVienModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <DiaChi>sample string 11</DiaChi> <GioiTinh>5</GioiTinh> <HoLot>sample string 3</HoLot> <HoTen>sample string 21</HoTen> <IdCV>sample string 16</IdCV> <IdCho>sample string 14</IdCho> <IdNV>sample string 1</IdNV> <IdPB>sample string 18</IdPB> <IdQH>sample string 12</IdQH> <IdTT>sample string 20</IdTT> <MaNV>sample string 2</MaNV> <NgayCap>sample string 9</NgayCap> <NgaySinh>sample string 6</NgaySinh> <NoiCap>sample string 10</NoiCap> <PhoneNumber>sample string 8</PhoneNumber> <QuanLySap>true</QuanLySap> <SoCMND>sample string 7</SoCMND> <Ten>sample string 4</Ten> <TenCV>sample string 17</TenCV> <TenCho>sample string 15</TenCho> <TenPB>sample string 19</TenPB> <TenQH>sample string 13</TenQH> </NhanVienModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | Object |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {},
"error": {
"message": "sample string 1",
"code": "sample string 2"
}
}
application/xml, text/xml
Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<data />
<error>
<code>sample string 2</code>
<message>sample string 1</message>
</error>
<page />
<status>1</status>
</BaseModelOfanyType>