项目集

获取项目集列表 分享链接

作者:王怡栋 最后编辑:宋辰轩 于 2024-08-13 10:34:12 浏览量:9060
GET
/programs

获取项目集列表

请求URL

https://xxx.com/api.php/v1/programs

请求头

名称 类型 必填 描述
Token String 访问凭证Token

请求参数

名称 类型 必填 描述
order String 排序,默认order_asc;排序字段+下划线+asc/desc

请求响应

名称 类型 必填 描述
programs array 项目集列表
  ∟  id int 项目集ID
  ∟  name string 项目集名称
  ∟  budget int 预算金额
  ∟  budgetUnit string 预算币种(CNY/USD)
  ∟  begin date 预计开始日期
  ∟  end date 预计结束日期
  ∟  realBegan date 实际开始日期
  ∟  realEnd date 实际结束日期
  ∟  parent int 父项目集,顶层项目集的parent为0
  ∟  openedBy 由谁创建
  ∟  openedDate datetime 创建时间
  ∟  PM 项目集负责人
  ∟  progress int 进度

响应示例

{
    "programs": [
        {
            "id": 6,
            "project": 0,
            "model": "",
            "type": "program",
            "lifetime": "sprint",
            "budget": "0",
            "budgetUnit": "CNY",
            "attribute": "",
            "percent": 0,
            "milestone": "0",
            "output": "",
            "auth": "",
            "parent": 0,
            "path": ",6,",
            "grade": 1,
            "name": "企业管理",
            "code": "",
            "begin": "2021-06-05",
            "end": "2022-06-04",
            "realBegan": "2021-12-01",
            "realEnd": "2021-12-01",
            "days": 0,
            "status": "doing",
            "subStatus": "",
            "pri": "1",
            "desc": "",
            "version": 0,
            "parentVersion": 0,
            "planDuration": 0,
            "realDuration": 0,
            "openedBy": {
                "id": 1,
                "account": "admin",
                "avatar": "",
                "realname": "管理员"
            },
            "openedDate": "2021-04-28T03:22:04Z",
            "openedVersion": "15.0.rc3",
            "lastEditedBy": "",
            "lastEditedDate": "2021-11-30T16:00:00Z",
            "closedBy": null,
            "closedDate": "2021-11-30T16:00:00Z",
            "canceledBy": null,
            "canceledDate": "2021-11-30T16:00:00Z",
            "PO": null,
            "PM": {
                "id": 1,
                "account": "admin",
                "avatar": "",
                "realname": "管理员"
            },
            "QD": null,
            "RD": null,
            "team": "企业管理",
            "acl": "open",
            "whitelist": ",",
            "order": 30,
            "deleted": false,
            "progress": 0
        }
    ]
}
返回顶部
刘璐
高级客户经理
18562550650
2845263372
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。