项目

创建项目 分享链接

作者:王怡栋 浏览量:7752
POST
/projects

创建项目

请求头

名称类型必填描述
TokenString认证凭证Token

请求体

名称类型必填描述
namestring项目名称
begindate计划开始日期
enddate计划结束日期
productsarray关联产品,比如 [1, 2],不能为空。
codestring项目编号
modelstring项目模型,默认为scrum
parentint所属项目集,默认为0

请求示例

{
    "name": "test",
    "code": "test",
    "begin": "2021-01-01",
    "end": "2022-01-01",
    "products": [1]
}

请求响应

名称类型必填描述
idint项目编号
modelstring项目模型(scrum 敏捷 | waterfall 瀑布)
budgetint预算金额
budgetUnitstring预算币种(CNY | USD)
parentint所属项目集
namestring项目名称
codestring项目代号
begindate计划开始日期
enddate计划结束日期
realBegandate实际开始日期
realEnddate实际结束日期
openedBy创建人
openedDatedatetime创建时间

响应示例

{
    "id": 9,
    "model": "scrum",
    "type": "project",
    "lifetime": "",
    "budget": "0",
    "budgetUnit": "CNY",
    "attribute": "",
    "percent": 0,
    "milestone": "0",
    "output": "",
    "auth": "",
    "parent": 0,
    "path": ",9,",
    "grade": 1,
    "name": "test",
    "code": "test",
    "begin": "2021-01-01",
    "end": "2022-01-01",
    "realBegan": "0000-00-00",
    "realEnd": "0000-00-00",
    "days": 0,
    "status": "wait",
    "subStatus": "",
    "pri": "1",
    "desc": "",
    "version": 0,
    "parentVersion": 0,
    "planDuration": 0,
    "realDuration": 0,
    "openedBy": "admin",
    "openedDate": "2021-11-25T09:12:30Z",
    "openedVersion": "",
    "lastEditedBy": "admin",
    "lastEditedDate": "2021-11-25T09:12:30Z",
    "closedBy": "",
    "closedDate": null,
    "canceledBy": "",
    "canceledDate": null,
    "PO": "",
    "PM": "",
    "QD": "",
    "RD": "",
    "team": "test",
    "acl": "private",
    "whitelist": ",",
    "order": 45,
    "deleted": "0"
}
返回顶部
杨苗
高级客户经理
13165050229
2692096539
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。