POST api/DM_ToaThuocMau
Request Information
URI Parameters
None.
Body Parameters
DM_ToaThuocMau| Name | Description | Type | Additional information |
|---|---|---|---|
| RefID | globally unique identifier |
None. |
|
| Ten | string |
None. |
|
| ChanDoan | string |
None. |
|
| GhiChu | string |
None. |
|
| SuDung | boolean |
None. |
|
| MaCongTy | string |
None. |
|
| DM_ToaThuocMau_CT | Collection of DM_ToaThuocMau_CT |
None. |
Request Formats
application/json, text/json
Sample:
{
"RefID": "a15515bd-78ab-4aab-b224-48a080cfc2ab",
"Ten": "sample string 2",
"ChanDoan": "sample string 3",
"GhiChu": "sample string 4",
"SuDung": true,
"MaCongTy": "sample string 5",
"DM_ToaThuocMau_CT": [
{
"RefID": "98afd4f1-85d1-442b-8404-c63bca033ee2",
"RefID_DMToaThuocMau": "a1d908ae-3fe0-4777-9516-7db346e5bf18",
"RefID_DMHangHoa": "9944a7d8-09ea-4980-929e-2fac9c2a1f3b",
"SoLuong": 1.0,
"CachDung": "sample string 2",
"STT": 1
},
{
"RefID": "98afd4f1-85d1-442b-8404-c63bca033ee2",
"RefID_DMToaThuocMau": "a1d908ae-3fe0-4777-9516-7db346e5bf18",
"RefID_DMHangHoa": "9944a7d8-09ea-4980-929e-2fac9c2a1f3b",
"SoLuong": 1.0,
"CachDung": "sample string 2",
"STT": 1
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DM_ToaThuocMau| Name | Description | Type | Additional information |
|---|---|---|---|
| RefID | globally unique identifier |
None. |
|
| Ten | string |
None. |
|
| ChanDoan | string |
None. |
|
| GhiChu | string |
None. |
|
| SuDung | boolean |
None. |
|
| MaCongTy | string |
None. |
|
| DM_ToaThuocMau_CT | Collection of DM_ToaThuocMau_CT |
None. |
Response Formats
application/json, text/json
Sample:
{
"RefID": "62f7459d-2163-479e-8538-1e95911badef",
"Ten": "sample string 2",
"ChanDoan": "sample string 3",
"GhiChu": "sample string 4",
"SuDung": true,
"MaCongTy": "sample string 5",
"DM_ToaThuocMau_CT": [
{
"RefID": "ced4257d-9244-42cb-924c-84216987590f",
"RefID_DMToaThuocMau": "055bc8ed-0447-4835-947e-7c61b89447dd",
"RefID_DMHangHoa": "1bb607bd-5e16-4f1a-9686-e3f3eacd2101",
"SoLuong": 1.0,
"CachDung": "sample string 2",
"STT": 1
},
{
"RefID": "ced4257d-9244-42cb-924c-84216987590f",
"RefID_DMToaThuocMau": "055bc8ed-0447-4835-947e-7c61b89447dd",
"RefID_DMHangHoa": "1bb607bd-5e16-4f1a-9686-e3f3eacd2101",
"SoLuong": 1.0,
"CachDung": "sample string 2",
"STT": 1
}
]
}