POST api/CongViecCRM/GetListLoaiCongViec

Request Information

URI Parameters

None.

Body Parameters

LoaiCongViecCondition
NameDescriptionTypeAdditional information
ParentID

integer

None.

LoaiCongViecID

integer

None.

TenLoaiCongViec

string

None.

Level

integer

None.

LaDichVu

boolean

None.

DuocChuyenGiaiDoan

boolean

None.

NguoiDungID

integer

None.

Begin

integer

None.

End

integer

None.

TextSearch

string

None.

FromDate

date

None.

ToDate

date

None.

IsHot

integer

None.

IsExportDetail

boolean

None.

ListColumnExport

Collection of ColumnInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentID": 1,
  "LoaiCongViecID": 1,
  "TenLoaiCongViec": "sample string 1",
  "Level": 1,
  "LaDichVu": true,
  "DuocChuyenGiaiDoan": true,
  "NguoiDungID": 1,
  "Begin": 2,
  "End": 3,
  "TextSearch": "sample string 4",
  "FromDate": "2022-05-23T16:31:23.9060716+07:00",
  "ToDate": "2022-05-23T16:31:23.9060716+07:00",
  "IsHot": 5,
  "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": {}
}