POST api/HenGapCRM/UpdateHenGap

Request Information

URI Parameters

None.

Body Parameters

HenGapInfo
NameDescriptionTypeAdditional information
RowNumber

decimal number

None.

HenGapID

integer

None.

TenHenGap

string

None.

NoiDung

string

None.

HenGapTrangThaiID

integer

None.

MauTrangThai

string

None.

DiaDiem

string

None.

ToaDoX

string

None.

ToaDoY

string

None.

NgayBatDau

date

None.

NgayKetThuc

date

None.

NgayHetHan

date

None.

NgayHoanThanh

date

None.

NhacViecID

integer

None.

NhacViec

NhacViecInfo

None.

NguoiTaoID

integer

None.

NgayNhap

date

None.

ListPhanLuongHenGap

Collection of PhanLuongHenGapInfo

None.

ListNguoiLienHe

Collection of HenGapCoNguoiLienHeInfo

None.

ListKhachHang

Collection of HenGapCoKhachHangInfo

None.

NhacDinhKy

boolean

None.

NhacBangDienThoai

boolean

None.

DaGoiNhac

boolean

None.

DaGoiNhacDinhKy

boolean

None.

DienThoai

string

None.

NguoiDungID

integer

None.

KhachHangID

string

None.

TenKhachHang

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RowNumber": 1.1,
  "HenGapID": 2,
  "TenHenGap": "sample string 3",
  "NoiDung": "sample string 4",
  "HenGapTrangThaiID": 5,
  "MauTrangThai": "sample string 6",
  "DiaDiem": "sample string 7",
  "ToaDoX": "sample string 8",
  "ToaDoY": "sample string 9",
  "NgayBatDau": "2022-05-23T15:38:34.1299765+07:00",
  "NgayKetThuc": "2022-05-23T15:38:34.1299765+07:00",
  "NgayHetHan": "2022-05-23T15:38:34.1299765+07:00",
  "NgayHoanThanh": "2022-05-23T15:38:34.1299765+07:00",
  "NhacViecID": 1,
  "NhacViec": {
    "NhacViecID": 1,
    "TenNhacViec": "sample string 2",
    "NgayNhac": "sample string 3",
    "GioNhac": "2022-05-23T15:38:34.1299765+07:00",
    "GhiChu": "sample string 5",
    "SupplierID": "sample string 6",
    "SupplierName": "sample string 7",
    "NgayTao": "2022-05-23T15:38:34.1299765+07:00",
    "NguoiDungID": 9,
    "LoaiNhacViecID": 10,
    "ListChiTiet": [
      {
        "NhacViecChiTietID": 1,
        "NhacViecID": 2,
        "GioNhac": "2022-05-23T15:38:34.1299765+07:00",
        "DaNhac": true
      },
      {
        "NhacViecChiTietID": 1,
        "NhacViecID": 2,
        "GioNhac": "2022-05-23T15:38:34.1299765+07:00",
        "DaNhac": true
      }
    ]
  },
  "NguoiTaoID": 11,
  "NgayNhap": "2022-05-23T15:38:34.1299765+07:00",
  "ListPhanLuongHenGap": [
    {
      "HenGapID": 1,
      "NguoiDungID": 2,
      "HenGapDamNhiemID": 3,
      "Doc": true,
      "NgayDoc": "2022-05-23T15:38:34.1299765+07:00",
      "TrangThai": 4,
      "CanPhucDap": true,
      "NgayPhucDap": "2022-05-23T15:38:34.1299765+07:00",
      "HoTen": "sample string 6",
      "Hinh": "sample string 7",
      "TenDangNhap": "sample string 8",
      "TenHenGapDamNhiem": "sample string 9"
    },
    {
      "HenGapID": 1,
      "NguoiDungID": 2,
      "HenGapDamNhiemID": 3,
      "Doc": true,
      "NgayDoc": "2022-05-23T15:38:34.1299765+07:00",
      "TrangThai": 4,
      "CanPhucDap": true,
      "NgayPhucDap": "2022-05-23T15:38:34.1299765+07:00",
      "HoTen": "sample string 6",
      "Hinh": "sample string 7",
      "TenDangNhap": "sample string 8",
      "TenHenGapDamNhiem": "sample string 9"
    }
  ],
  "ListNguoiLienHe": [
    {
      "HenGapID": 1,
      "NguoiLienHeID": 2,
      "TenNguoiLienHe": "sample string 3"
    },
    {
      "HenGapID": 1,
      "NguoiLienHeID": 2,
      "TenNguoiLienHe": "sample string 3"
    }
  ],
  "ListKhachHang": [
    {
      "HenGapID": 1,
      "SupplierID": "sample string 2",
      "SupplierName": "sample string 3"
    },
    {
      "HenGapID": 1,
      "SupplierID": "sample string 2",
      "SupplierName": "sample string 3"
    }
  ],
  "NhacDinhKy": true,
  "NhacBangDienThoai": true,
  "DaGoiNhac": true,
  "DaGoiNhacDinhKy": true,
  "DienThoai": "sample string 17",
  "NguoiDungID": 18,
  "KhachHangID": "sample string 19",
  "TenKhachHang": "sample string 20"
}

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": {}
}