获取项目集详情 分享链接

最后编辑:禅道软件 于 2022-03-17 14:59:18
GET
/programs/:id

获取项目集详情

请求头

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

请求响应

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

响应示例

{
    "id": 14,
    "project": 0,
    "model": "",
    "type": "program",
    "lifetime": "",
    "budget": "11111",
    "budgetUnit": "CNY",
    "attribute": "",
    "percent": 0,
    "milestone": "0",
    "output": "",
    "auth": "",
    "parent": 0,
    "path": ",14,",
    "grade": 1,
    "name": "测试项目集",
    "code": "",
    "begin": "2021-11-26",
    "end": "2021-12-26",
    "realBegan": null,
    "realEnd": null,
    "days": 0,
    "status": "wait",
    "subStatus": "",
    "pri": "1",
    "desc": "",
    "version": 0,
    "parentVersion": 0,
    "planDuration": 0,
    "realDuration": 0,
    "openedBy": {
        "id": 1,
        "account": "admin",
        "avatar": "",
        "realname": "管理员"
    },
    "openedDate": "2021-11-26T10:05:51Z",
    "openedVersion": "",
    "lastEditedBy": "",
    "lastEditedDate": null,
    "closedBy": null,
    "closedDate": null,
    "canceledBy": null,
    "canceledDate": null,
    "PO": null,
    "PM": {
        "id": 1,
        "account": "admin",
        "avatar": "",
        "realname": "管理员"
    },
    "QD": null,
    "RD": null,
    "team": "",
    "acl": "private",
    "whitelist": [],
    "order": 70,
    "deleted": false
}
王怡栋 2616