POST api/DANG_NHAP

Request Information

URI Parameters

None.

Body Parameters

DANG_NHAP
NameDescriptionTypeAdditional information
ID

integer

None.

MATKHAU

string

None.

NHANVIEN_ID

string

None.

BAUCHON_ID

integer

None.

TRANGTHAI

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MATKHAU": "sample string 2",
  "NHANVIEN_ID": "sample string 3",
  "BAUCHON_ID": 1,
  "TRANGTHAI": true
}

application/xml, text/xml

Sample:
<DANG_NHAP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <BAUCHON_ID>1</BAUCHON_ID>
  <ID>1</ID>
  <MATKHAU>sample string 2</MATKHAU>
  <NHANVIEN_ID>sample string 3</NHANVIEN_ID>
  <TRANGTHAI>true</TRANGTHAI>
</DANG_NHAP>

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

Response Information

Resource Description

DANG_NHAP
NameDescriptionTypeAdditional information
ID

integer

None.

MATKHAU

string

None.

NHANVIEN_ID

string

None.

BAUCHON_ID

integer

None.

TRANGTHAI

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MATKHAU": "sample string 2",
  "NHANVIEN_ID": "sample string 3",
  "BAUCHON_ID": 1,
  "TRANGTHAI": true
}

application/xml, text/xml

Sample:
<DANG_NHAP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <BAUCHON_ID>1</BAUCHON_ID>
  <ID>1</ID>
  <MATKHAU>sample string 2</MATKHAU>
  <NHANVIEN_ID>sample string 3</NHANVIEN_ID>
  <TRANGTHAI>true</TRANGTHAI>
</DANG_NHAP>