POST api/KhachHangCRM/GetListKhachHang

Request Information

URI Parameters

None.

Body Parameters

KhachHangCondition
NameDescriptionTypeAdditional information
FromDateCall

date

None.

ToDateCall

date

None.

FromDateCreate

date

None.

ToDateCreate

date

None.

FromDate

date

None.

ToDate

date

None.

NguoiDungID

integer

None.

ListNhomKhachHang

string

None.

ListTrangThai

string

None.

ListLinhVuc

string

None.

ListDanhGia

string

None.

ListDoiTuong

string

None.

ListDoiThu

string

None.

ListChienDichAutoCallID

string

None.

ListNguoiDungID

string

None.

LaDaNghe

boolean

None.

LaKhongNghe

boolean

None.

LaBamPhim

boolean

None.

LineBam

string

None.

ListLine

string

None.

DaGoi

integer

None.

DaTuDongGoi

boolean

None.

TrangThaiKhongXacDinh

boolean

None.

LaChonNhieuDK

boolean

None.

SoLanChamSoc

integer

None.

SoLanChamSocDau

string

None.

KhachHangID

string

None.

TiemNang

boolean

None.

ListKhachHangNo

string

None.

ChuKyLayHang

integer

None.

CoCKLayHang

boolean

None.

Begin

integer

None.

End

integer

None.

TextSearch

string

None.

IsHot

integer

None.

IsExportDetail

boolean

None.

ListColumnExport

Collection of ColumnInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDateCall": "2025-05-24T05:11:10.4643726+07:00",
  "ToDateCall": "2025-05-24T05:11:10.4643726+07:00",
  "FromDateCreate": "2025-05-24T05:11:10.4643726+07:00",
  "ToDateCreate": "2025-05-24T05:11:10.4643726+07:00",
  "FromDate": "2025-05-24T05:11:10.4643726+07:00",
  "ToDate": "2025-05-24T05:11:10.4643726+07:00",
  "NguoiDungID": 1,
  "ListNhomKhachHang": "sample string 1",
  "ListTrangThai": "sample string 2",
  "ListLinhVuc": "sample string 3",
  "ListDanhGia": "sample string 4",
  "ListDoiTuong": "sample string 5",
  "ListDoiThu": "sample string 6",
  "ListChienDichAutoCallID": "sample string 7",
  "ListNguoiDungID": "sample string 8",
  "LaDaNghe": true,
  "LaKhongNghe": true,
  "LaBamPhim": true,
  "LineBam": "sample string 9",
  "ListLine": "sample string 10",
  "DaGoi": 11,
  "DaTuDongGoi": true,
  "TrangThaiKhongXacDinh": true,
  "LaChonNhieuDK": true,
  "SoLanChamSoc": 1,
  "SoLanChamSocDau": "sample string 12",
  "KhachHangID": "sample string 13",
  "TiemNang": true,
  "ListKhachHangNo": "sample string 14",
  "ChuKyLayHang": 1,
  "CoCKLayHang": true,
  "Begin": 15,
  "End": 16,
  "TextSearch": "sample string 17",
  "IsHot": 18,
  "IsExportDetail": true,
  "ListSort": [
    {
      "Field": "sample string 1",
      "DisplayName": "sample string 2",
      "TypeSort": 0
    },
    {
      "Field": "sample string 1",
      "DisplayName": "sample string 2",
      "TypeSort": 0
    }
  ],
  "DicColumnExport": {
    "sample string 1": {
      "Position": 1,
      "Display": "sample string 2",
      "Field": "sample string 3",
      "Width": 4,
      "SortType": 0
    },
    "sample string 2": {
      "Position": 1,
      "Display": "sample string 2",
      "Field": "sample string 3",
      "Width": 4,
      "SortType": 0
    }
  },
  "ListColumnExport": [
    {
      "Position": 1,
      "Display": "sample string 2",
      "Field": "sample string 3",
      "Width": 4,
      "SortType": 0
    },
    {
      "Position": 1,
      "Display": "sample string 2",
      "Field": "sample string 3",
      "Width": 4,
      "SortType": 0
    }
  ],
  "ListFilter": [
    {
      "Field": "sample string 1",
      "FieldParameter": "samplestring1",
      "Sql": "sample string 2",
      "ListField": [
        "sample string 1",
        "sample string 2"
      ],
      "Value": "sample string 3",
      "DataType": 4,
      "Operator": 5,
      "IsAnd": true
    },
    {
      "Field": "sample string 1",
      "FieldParameter": "samplestring1",
      "Sql": "sample string 2",
      "ListField": [
        "sample string 1",
        "sample string 2"
      ],
      "Value": "sample string 3",
      "DataType": 4,
      "Operator": 5,
      "IsAnd": true
    }
  ]
}

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