PUT api/QuanLyNhanVienApi/CapNhatThongTinNhanVien?maNhanVien={maNhanVien}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
maNhanVien

string

Required

Body Parameters

NhanVien
NameDescriptionTypeAdditional information
maNhanVien

integer

None.

tenNhanVien

string

None.

chucVu

string

None.

heSoChucVu

integer

None.

luongCoBan

decimal number

None.

soGioLamTrongThang

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "maNhanVien": 1,
  "tenNhanVien": "sample string 2",
  "chucVu": "sample string 3",
  "heSoChucVu": 1,
  "luongCoBan": 1.0,
  "soGioLamTrongThang": 1.0
}

application/xml, text/xml

Sample:
<NhanVien xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CinimaServer.Models.QLNV">
  <chucVu>sample string 3</chucVu>
  <heSoChucVu>1</heSoChucVu>
  <luongCoBan>1</luongCoBan>
  <maNhanVien>1</maNhanVien>
  <soGioLamTrongThang>1</soGioLamTrongThang>
  <tenNhanVien>sample string 2</tenNhanVien>
</NhanVien>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NhanVien'.

Response Information

Resource Description

None.