PUT api/QuanLySinhVien/CapNhatThongTinSinhVien?maSinhVien={maSinhVien}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
maSinhVien

string

Required

Body Parameters

SinhVienModel
NameDescriptionTypeAdditional information
maSinhVien

integer

None.

tenSinhVien

string

None.

loaiSinhVien

string

None.

diemRenLuyen

integer

None.

email

string

None.

soDienThoai

string

None.

Request Formats

application/json, text/json

Sample:
{
  "maSinhVien": 1,
  "tenSinhVien": "sample string 2",
  "loaiSinhVien": "sample string 3",
  "diemRenLuyen": 1,
  "email": "sample string 4",
  "soDienThoai": "sample string 5"
}

application/xml, text/xml

Sample:
<SinhVienModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CinimaServer.Models.dbSinhVien">
  <diemRenLuyen>1</diemRenLuyen>
  <email>sample string 4</email>
  <loaiSinhVien>sample string 3</loaiSinhVien>
  <maSinhVien>1</maSinhVien>
  <soDienThoai>sample string 5</soDienThoai>
  <tenSinhVien>sample string 2</tenSinhVien>
</SinhVienModel>

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 'SinhVienModel'.

Response Information

Resource Description

None.