POST api/NGUOIDUNGs/DOI_PASS

Request Information

URI Parameters

None.

Body Parameters

Collection of 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
  },
  {
    "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:
<ArrayOfNGUOIDUNG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_AUTHENTICATION.Models">
  <NGUOIDUNG>
    <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>
  <NGUOIDUNG>
    <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>
</ArrayOfNGUOIDUNG>

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

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.

Response 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>