简要描述:

  • 创建任务

请求域名:

  • https://dev8.yunzmall.com/business/1/

请求URL:

POST/plugin/project-manager/task/create

参数:

参数名 是否必须 类型 说明
staff_uid int 员工ID(负责人)
project_id int 项目ID
name string 任务名称
parent_id int 父级任务ID(新建子任务必传)
desc text 任务描述
work_group_id int 任务工作台分组ID
work_sort int 工作台分组排序
start_time string 任务开始时间
deadline_time string 任务截止时间
status int 任务状态
priority int 任务优先级
type int 任务类型,0表示没有,1设计,2开发,3测试,4缺陷

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "任务创建成功",
    "data": []
}

错误时返回:

{
  "result": 0,
  "msg": "任务创建失败!",
  "data": []
}

data参数说明:模块分组

参数名 类型 说明

备注:

  • 更多返回错误代码请看首页的错误代码描述