POST api/BAU_CHON

Request Information

URI Parameters

None.

Body Parameters

NGUOIDUNG
NameDescriptionTypeAdditional information
MA_ND

string

None.

TEN_ND

string

None.

MATKHAU

string

None.

DONVI_ID

integer

None.

TRANGTHAI

boolean

None.

CHUCVU_ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MA_ND": "sample string 1",
  "TEN_ND": "sample string 2",
  "MATKHAU": "sample string 3",
  "DONVI_ID": 1,
  "TRANGTHAI": true,
  "CHUCVU_ID": 1
}

application/xml, text/xml

Sample:
<NGUOIDUNG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <CHUCVU_ID>1</CHUCVU_ID>
  <DONVI_ID>1</DONVI_ID>
  <MATKHAU>sample string 3</MATKHAU>
  <MA_ND>sample string 1</MA_ND>
  <TEN_ND>sample string 2</TEN_ND>
  <TRANGTHAI>true</TRANGTHAI>
</NGUOIDUNG>

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

Response Information

Resource Description

BAU_CHON
NameDescriptionTypeAdditional information
ID

integer

None.

MA_BAUCHON

string

None.

TEN_BAUCHON

string

None.

MO_TA

string

None.

TIME_BATDAU

date

None.

TIME_KETTHUC

date

None.

TRANG_THAI

boolean

None.

MA_NV

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MA_BAUCHON": "sample string 2",
  "TEN_BAUCHON": "sample string 3",
  "MO_TA": "sample string 4",
  "TIME_BATDAU": "2025-01-11T16:56:30.1337808+07:00",
  "TIME_KETTHUC": "2025-01-11T16:56:30.1337808+07:00",
  "TRANG_THAI": true,
  "MA_NV": "sample string 5"
}

application/xml, text/xml

Sample:
<BAU_CHON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <ID>1</ID>
  <MA_BAUCHON>sample string 2</MA_BAUCHON>
  <MA_NV>sample string 5</MA_NV>
  <MO_TA>sample string 4</MO_TA>
  <TEN_BAUCHON>sample string 3</TEN_BAUCHON>
  <TIME_BATDAU>2025-01-11T16:56:30.1337808+07:00</TIME_BATDAU>
  <TIME_KETTHUC>2025-01-11T16:56:30.1337808+07:00</TIME_KETTHUC>
  <TRANG_THAI>true</TRANG_THAI>
</BAU_CHON>