PUT api/NV_ToaThuoc/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

NV_ToaThuoc
NameDescriptionTypeAdditional information
RefID

globally unique identifier

None.

RefID_NV_HoSoKhachHang

globally unique identifier

None.

NgayGio

date

None.

ChanDoan

string

None.

UserID_NguoiTao

globally unique identifier

None.

GhiChu

string

None.

MaCongTy

string

None.

UserID_Bacsi

globally unique identifier

None.

SID

integer

None.

NV_ToaThuoc_CT

Collection of NV_ToaThuoc_CT

None.

Request Formats

application/json, text/json

Sample:
{
  "RefID": "1eb5815e-270d-4a13-a146-3a49ca7143db",
  "RefID_NV_HoSoKhachHang": "6b9152e3-5919-45b1-a5f5-2350e5bd5be9",
  "NgayGio": "2026-03-02T17:10:43.2847028+07:00",
  "ChanDoan": "sample string 2",
  "UserID_NguoiTao": "676552e1-0032-4f62-8c52-31dea1f49e96",
  "GhiChu": "sample string 3",
  "MaCongTy": "sample string 4",
  "UserID_Bacsi": "73408f8d-92c4-48f8-bd53-2b3881e391a1",
  "SID": 5,
  "NV_ToaThuoc_CT": [
    {
      "RefID": "6e057fe3-7fad-4344-8dce-cd75a911ddd9",
      "RefID_NVToaThuoc": "ad5e19c1-4c4d-4f25-b75d-a34e740bb672",
      "RefID_DMHangHoa_DichVu": "c1c49c39-0bab-4f8d-ab8b-07e508a61113",
      "SoLuong": 1.0,
      "CachDung": "sample string 2",
      "STT": 3
    },
    {
      "RefID": "6e057fe3-7fad-4344-8dce-cd75a911ddd9",
      "RefID_NVToaThuoc": "ad5e19c1-4c4d-4f25-b75d-a34e740bb672",
      "RefID_DMHangHoa_DichVu": "c1c49c39-0bab-4f8d-ab8b-07e508a61113",
      "SoLuong": 1.0,
      "CachDung": "sample string 2",
      "STT": 3
    }
  ]
}

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

Response Information

Resource Description

None.