POST api/LoaiSanPham/Add

Request Information

URI Parameters

None.

Body Parameters

BE_LoaiSanPham
NameDescriptionTypeAdditional information
id

integer

None.

maLoaiSanPham

string

None.

tenLoaiSanPham

string

None.

maNhomSP

integer

None.

tenNhomSanPham

string

None.

nguoiTao

string

None.

ngayTao

string

None.

nguoiCapNhat

string

None.

ngayCapNhat

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "maLoaiSanPham": "sample string 2",
  "tenLoaiSanPham": "sample string 3",
  "maNhomSP": 4,
  "tenNhomSanPham": "sample string 5",
  "nguoiTao": "sample string 6",
  "ngayTao": "sample string 7",
  "nguoiCapNhat": "sample string 8",
  "ngayCapNhat": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.