POST api/HenGoiCRM/UpdateHenGoi
Request Information
URI Parameters
None.
Body Parameters
HenGoiInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| HenGoiID | integer |
None. |
|
| TenHenGoi | string |
None. |
|
| PhuongThuc | integer |
None. |
|
| NoiDung | string |
None. |
|
| HenGoiTrangThaiID | integer |
None. |
|
| MauTrangThai | string |
None. |
|
| NgayGioGoi | date |
None. |
|
| GioGoi | date |
None. |
|
| NhacViecID | integer |
None. |
|
| NhacViec | NhacViecInfo |
None. |
|
| NguoiTaoID | integer |
None. |
|
| NguoiThucHienID | integer |
None. |
|
| NgayNhap | date |
None. |
|
| NhacDinhKy | boolean |
None. |
|
| NhacBangDienThoai | boolean |
None. |
|
| DaGoiNhac | boolean |
None. |
|
| DaGoiNhacDinhKy | boolean |
None. |
|
| DienThoai | string |
None. |
|
| NgayHoanThanh | date |
None. |
|
| KhachHangID | string |
None. |
|
| TenKhachHang | string |
None. |
|
| NguoiDungID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"HenGoiID": 1,
"TenHenGoi": "sample string 2",
"PhuongThuc": 3,
"NoiDung": "sample string 4",
"HenGoiTrangThaiID": 5,
"MauTrangThai": "sample string 6",
"NgayGioGoi": "2025-10-29T10:48:07.1268448+07:00",
"GioGoi": "2025-10-29T10:48:07.1268448+07:00",
"NhacViecID": 1,
"NhacViec": {
"NhacViecID": 1,
"TenNhacViec": "sample string 2",
"NgayNhac": "sample string 3",
"GioNhac": "2025-10-29T10:48:07.1268448+07:00",
"GhiChu": "sample string 5",
"SupplierID": "sample string 6",
"SupplierName": "sample string 7",
"NgayTao": "2025-10-29T10:48:07.1268448+07:00",
"NguoiDungID": 9,
"LoaiNhacViecID": 10,
"ListChiTiet": [
{
"NhacViecChiTietID": 1,
"NhacViecID": 2,
"GioNhac": "2025-10-29T10:48:07.1268448+07:00",
"DaNhac": true
},
{
"NhacViecChiTietID": 1,
"NhacViecID": 2,
"GioNhac": "2025-10-29T10:48:07.1268448+07:00",
"DaNhac": true
}
]
},
"NguoiTaoID": 9,
"NguoiThucHienID": 10,
"NgayNhap": "2025-10-29T10:48:07.1268448+07:00",
"NhacDinhKy": true,
"NhacBangDienThoai": true,
"DaGoiNhac": true,
"DaGoiNhacDinhKy": true,
"DienThoai": "sample string 16",
"NgayHoanThanh": "2025-10-29T10:48:07.1268448+07:00",
"KhachHangID": "sample string 17",
"TenKhachHang": "sample string 18",
"NguoiDungID": 19
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Data": {}
}