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.

Request Formats

application/json, text/json

Sample:
{
  "RefID": "4c2b6155-e0ba-473c-a350-c26cdce76f54",
  "Ma": "sample string 2",
  "Ten": "sample string 3",
  "Gia": 4.0,
  "SoThangBaoHanh": 1,
  "RefID_DM_Nhom": "4b8a59cc-0209-4075-b841-51f807b5f66b",
  "RefID_DM_DonVi": "9aa8440d-fbfe-4fc0-8cb9-e6e8be96594b",
  "GhiChu": "sample string 5",
  "SuDung": true,
  "MaCongTy": "sample string 6",
  "RefID_DM_PhanLoai": "a1abf4e2-f4ee-4a20-b0c7-c1649d210096"
}

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.

Response Formats

application/json, text/json

Sample:
{
  "RefID": "b1ec442c-148d-45eb-8075-aa2b966b1e20",
  "Ma": "sample string 2",
  "Ten": "sample string 3",
  "Gia": 4.0,
  "SoThangBaoHanh": 1,
  "RefID_DM_Nhom": "c31fbbb9-2e39-4edb-a397-9173cc12e7f5",
  "RefID_DM_DonVi": "e356b4bf-e105-4801-84cf-897bc0d12004",
  "GhiChu": "sample string 5",
  "SuDung": true,
  "MaCongTy": "sample string 6",
  "RefID_DM_PhanLoai": "513b9502-57b5-4daa-af5c-4102ca524792"
}