修改项目集 分享链接

作者:王怡栋 最后编辑:禅道软件 于 2022-03-17 15:08:25 浏览量:3869
PUT
/programs/:id

修改项目集

请求头

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

请求体

名称类型必填描述
namestring项目名称
parentstring父项目集,0表示没有父项目集
PMstring项目负责人
budgetint预算金额
budgetUnitstring预算币种(CNY | USD)
descstring项目集描述
begindate预计开始日期
enddate预计结束日期
aclstring访问控制(open 公开 | private 私有)
whitelistarray白名单

请求示例

{
    "name": "项目集",
    "PM": "admin"
}

请求响应

名称类型必填描述
idint
namestring项目名称
budgetint预算金额
budgetUnitstring预算币种(CNY | USD)
parentint父项目集
begindate计划开始日期
enddate计划结束日期
realBegandate实际开始日期
realEnddate实际结束日期
descstring项目集描述
openedBy创建人
openedDatestring创建时间
PM负责人
aclstring访问控制(open 公开 | private 私有)
whitelistarray白名单

响应示例

{
    "id": 12,
    "project": 0,
    "model": "",
    "type": "program",
    "lifetime": "",
    "budget": "",
    "budgetUnit": "CNY",
    "attribute": "",
    "percent": 0,
    "milestone": "0",
    "output": "",
    "auth": "extend",
    "parent": 0,
    "path": ",12,",
    "grade": 1,
    "name": "项目集",
    "code": "tt",
    "begin": "2021-11-26",
    "end": "2021-12-26",
    "realBegan": "0000-00-00",
    "realEnd": "0000-00-00",
    "days": 21,
    "status": "wait",
    "subStatus": "",
    "pri": "1",
    "desc": "",
    "version": 0,
    "parentVersion": 0,
    "planDuration": 0,
    "realDuration": 0,
    "openedBy": "admin",
    "openedDate": "2021-11-26T02:27:15Z",
    "openedVersion": "",
    "lastEditedBy": "admin",
    "lastEditedDate": "2021-11-26T02:33:18Z",
    "closedBy": "",
    "closedDate": null,
    "canceledBy": "",
    "canceledDate": null,
    "PO": "",
    "PM": "admin",
    "QD": "",
    "RD": "",
    "team": "修改项目",
    "acl": "private",
    "whitelist": ",",
    "order": 60,
    "deleted": "0"
}