POST api/HenGoiCRM/UpdateHenGoi

Request Information

URI Parameters

None.

Body Parameters

HenGoiInfo
NameDescriptionTypeAdditional 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": "2022-05-23T15:07:41.9814906+07:00",
  "GioGoi": "2022-05-23T15:07:41.9814906+07:00",
  "NhacViecID": 1,
  "NhacViec": {
    "NhacViecID": 1,
    "TenNhacViec": "sample string 2",
    "NgayNhac": "sample string 3",
    "GioNhac": "2022-05-23T15:07:41.9814906+07:00",
    "GhiChu": "sample string 5",
    "SupplierID": "sample string 6",
    "SupplierName": "sample string 7",
    "NgayTao": "2022-05-23T15:07:41.9814906+07:00",
    "NguoiDungID": 9,
    "LoaiNhacViecID": 10,
    "ListChiTiet": [
      {
        "NhacViecChiTietID": 1,
        "NhacViecID": 2,
        "GioNhac": "2022-05-23T15:07:41.9814906+07:00",
        "DaNhac": true
      },
      {
        "NhacViecChiTietID": 1,
        "NhacViecID": 2,
        "GioNhac": "2022-05-23T15:07:41.9814906+07:00",
        "DaNhac": true
      }
    ]
  },
  "NguoiTaoID": 9,
  "NguoiThucHienID": 10,
  "NgayNhap": "2022-05-23T15:07:41.9814906+07:00",
  "NhacDinhKy": true,
  "NhacBangDienThoai": true,
  "DaGoiNhac": true,
  "DaGoiNhacDinhKy": true,
  "DienThoai": "sample string 16",
  "NgayHoanThanh": "2022-05-23T15:07:41.9814906+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
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}