菜单

列表

基本信息

  • 用途说明:查询任务列表
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_crm/wg_activityListApi?access_token=

请求参数

headers参数

  • 所有的接口必须携带header参数
参数名称 参数示例 是否必填 参数说明
Content-Type application/json true 固定传:application/json
groupName ns-v7g6 true 分组名称,获取授权信息时返回的groupName
accountId 16xxxxxxxxxxxx true 账套ID,获取授权信息时返回的accountId
X-GW-Router-Addr https://tf.jdy.com true IDC域名,获取授权信息时返回的domain

body参数

参数名称 必选 类型 说明
pageindex true number 当前页(默认1)
pagesize true number 每页显示条数(默认10,最大100)
search true String 模糊搜索-任务编号/任务主题/客户名称
sourceid true String 任务来源id
typeid true String 任务类型id
cusid true String 客户id
billstate true String  
activitystatus true String 单据状态-A: '未开始',
        B: '执行中',
        C: '已完成',
        D: '终止'
stime true String 单据日期-开始时间
etime true String 单据日期-结束时间
key true String

任务状态:‘bar_arrange’:我安排的

“bar_wait”:我的待办

“bar_my_done”:我的已办

“bar_my_create”:我创建的

“wg_bar_waitclaim”:待认领的

employeeId true String 登录人员id
actid true String 任务id
wgbilltype true String 默认:1 , 1:crm任务, 2:项目任务,
projectid true String 项目id
sourcetype true String 源单类型
assignor true String 指派人id
executor true String 执行人
importance true String 重要性id
startState true String 开始情况
endState true String 完成情况

请求示例

{
    "sourceid": "",
    "pageindex": 1,
    "pagesize": 10,
    "search": "",
    "typeid": "",
    "cusid": "",
    "billstate": "",
    "activitystatus": "B",
    "stime": "",
    "etime": "",
    "key": "bar_wait",
    "employeeId": "1394084520470297600",
    "actid": "",
    "wgbilltype": "1",
    "projectid": "",
    "sourcetype": "",
    "assignor": "",
    "executor": "",
    "importance": "",
    "startState": "",
    "endState": ""
}

响应示例

{
    "data": {
        "currentPageSize": 10,
        "currentPageIndex": 1,
        "totalPages": 1,
        "count": 2,
        "list": [
            {
                "actId": "2143653835887876096",//任务id
                "actNo": "ACT00001238",//任务编码
                "name": "0205任务2",//任务主题
                "cusId": "1814632358846944256",//客户id
                "cusName": "0629为谷1710",//客户名称
                "actTypeId": "1434158806819947520",//任务类型id
                "actTypeName": "成本评审",//任务类型名称
                "actStartDt": "2025-02-05 16:17:00.0",//计划开始
                "actEndDt": "2025-02-05 16:17:00.0",//计划结束
                "actStatus": "B",//单据状态-A: '未开始',B: '执行中',C: '已完成', D: '终止'
                "actProcess": "2",//完成进度
                "projectId": "",//项目id
                "projectName": "",//项目名称
                "startresult": "已开始(推迟0天)",//开始情况
                "endresult": "未完成(已超期8天)",//完成情况
                "executors": [//执行人
                    {
                        "id": "1394084520470297600",
                        "name": "董素敏"
                    }
                ],
                "colourLabelId": "1812473755486779392",//标签颜色id
                "colourLabelName": "重要任务",//标签颜色名称
                "color": {//标签颜色
                    "color": "red",
                    "id": "1",
                    "category": "1"
                }
            }
        ]
    },
    "errorCode": "success",
    "status": true,
    "success": true
}

分享文章
最近修改: 2025-03-25