POST api/KETQUA_BAUCHON

Request Information

URI Parameters

None.

Body Parameters

Collection of KETQUA_BAUCHON
NameDescriptionTypeAdditional information
ID

integer

None.

MA_NV

string

None.

BAUCHON_ID

integer

None.

CAUHOI_ID

integer

None.

LUACHON_ID

integer

None.

LUACHON_ND

string

None.

NGAY_CN

string

None.

JSON

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "MA_NV": "sample string 2",
    "BAUCHON_ID": 1,
    "CAUHOI_ID": 1,
    "LUACHON_ID": 1,
    "LUACHON_ND": "sample string 3",
    "NGAY_CN": "sample string 4",
    "JSON": "sample string 5"
  },
  {
    "ID": 1,
    "MA_NV": "sample string 2",
    "BAUCHON_ID": 1,
    "CAUHOI_ID": 1,
    "LUACHON_ID": 1,
    "LUACHON_ND": "sample string 3",
    "NGAY_CN": "sample string 4",
    "JSON": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKETQUA_BAUCHON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <KETQUA_BAUCHON>
    <BAUCHON_ID>1</BAUCHON_ID>
    <CAUHOI_ID>1</CAUHOI_ID>
    <ID>1</ID>
    <JSON>sample string 5</JSON>
    <LUACHON_ID>1</LUACHON_ID>
    <LUACHON_ND>sample string 3</LUACHON_ND>
    <MA_NV>sample string 2</MA_NV>
    <NGAY_CN>sample string 4</NGAY_CN>
  </KETQUA_BAUCHON>
  <KETQUA_BAUCHON>
    <BAUCHON_ID>1</BAUCHON_ID>
    <CAUHOI_ID>1</CAUHOI_ID>
    <ID>1</ID>
    <JSON>sample string 5</JSON>
    <LUACHON_ID>1</LUACHON_ID>
    <LUACHON_ND>sample string 3</LUACHON_ND>
    <MA_NV>sample string 2</MA_NV>
    <NGAY_CN>sample string 4</NGAY_CN>
  </KETQUA_BAUCHON>
</ArrayOfKETQUA_BAUCHON>

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 'List`1'.

Response Information

Resource Description

KETQUA_BAUCHON
NameDescriptionTypeAdditional information
ID

integer

None.

MA_NV

string

None.

BAUCHON_ID

integer

None.

CAUHOI_ID

integer

None.

LUACHON_ID

integer

None.

LUACHON_ND

string

None.

NGAY_CN

string

None.

JSON

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MA_NV": "sample string 2",
  "BAUCHON_ID": 1,
  "CAUHOI_ID": 1,
  "LUACHON_ID": 1,
  "LUACHON_ND": "sample string 3",
  "NGAY_CN": "sample string 4",
  "JSON": "sample string 5"
}

application/xml, text/xml

Sample:
<KETQUA_BAUCHON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <BAUCHON_ID>1</BAUCHON_ID>
  <CAUHOI_ID>1</CAUHOI_ID>
  <ID>1</ID>
  <JSON>sample string 5</JSON>
  <LUACHON_ID>1</LUACHON_ID>
  <LUACHON_ND>sample string 3</LUACHON_ND>
  <MA_NV>sample string 2</MA_NV>
  <NGAY_CN>sample string 4</NGAY_CN>
</KETQUA_BAUCHON>