POST api/DM_HangHoa_DichVu

Request Information

URI Parameters

None.

Body Parameters

DM_HangHoa_DichVu
NameDescriptionTypeAdditional information
RefID

globally unique identifier

None.

Ma

string

None.

Ten

string

None.

Gia

decimal number

None.

SoThangBaoHanh

integer

None.

RefID_DM_Nhom

globally unique identifier

None.

RefID_DM_DonVi

globally unique identifier

None.

GhiChu

string

None.

SuDung

boolean

None.

MaCongTy

string

None.

RefID_DM_PhanLoai

globally unique identifier

None.

TieuHao

boolean

None.

ThueVAT

decimal number

None.

ThueTNCN

decimal number

None.

NganhNghe

string

None.

ShowAll

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RefID": "8e1fbdb8-bb45-4e95-b4cf-f1355292e7e7",
  "Ma": "sample string 2",
  "Ten": "sample string 3",
  "Gia": 4.0,
  "SoThangBaoHanh": 1,
  "RefID_DM_Nhom": "30e38956-6132-40ac-b9ae-cfb96de53192",
  "RefID_DM_DonVi": "a252105a-a0ec-45a7-a827-36fdfb180e2b",
  "GhiChu": "sample string 5",
  "SuDung": true,
  "MaCongTy": "sample string 6",
  "RefID_DM_PhanLoai": "12ff36a1-9a83-4a67-9f76-e5ab8f9bd6ba",
  "TieuHao": true,
  "ThueVAT": 1.0,
  "ThueTNCN": 1.0,
  "NganhNghe": "sample string 8",
  "ShowAll": true
}

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

Response Information

Resource Description

DM_HangHoa_DichVu
NameDescriptionTypeAdditional information
RefID

globally unique identifier

None.

Ma

string

None.

Ten

string

None.

Gia

decimal number

None.

SoThangBaoHanh

integer

None.

RefID_DM_Nhom

globally unique identifier

None.

RefID_DM_DonVi

globally unique identifier

None.

GhiChu

string

None.

SuDung

boolean

None.

MaCongTy

string

None.

RefID_DM_PhanLoai

globally unique identifier

None.

TieuHao

boolean

None.

ThueVAT

decimal number

None.

ThueTNCN

decimal number

None.

NganhNghe

string

None.

ShowAll

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "RefID": "ec247698-5596-4ef8-aace-4654ea63c9eb",
  "Ma": "sample string 2",
  "Ten": "sample string 3",
  "Gia": 4.0,
  "SoThangBaoHanh": 1,
  "RefID_DM_Nhom": "b791237a-47dd-49f5-b627-dfd6b4999bc0",
  "RefID_DM_DonVi": "2a0d10b0-f120-4dfc-897d-3af111834762",
  "GhiChu": "sample string 5",
  "SuDung": true,
  "MaCongTy": "sample string 6",
  "RefID_DM_PhanLoai": "fc386073-4ee9-4924-8588-d1ab75f33195",
  "TieuHao": true,
  "ThueVAT": 1.0,
  "ThueTNCN": 1.0,
  "NganhNghe": "sample string 8",
  "ShowAll": true
}