项目

获取项目详情 分享链接

作者:王怡栋 最后编辑:宋辰轩 于 2024-09-30 15:02:27 浏览量:7667
GET
/projects/id

获取项目详情

请求URL

https://xxx.com/api.php/v1/projects/id

请求头

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

请求响应

名称 类型 必填 描述
id int 项目编号
parent int 所属项目集
model string 项目模型(scrum 敏捷 | waterfall 瀑布)
budget int 项目预算金额
budgetUnit string 预算币种(CNY | USD)
name string 项目名称
code string 项目编号
begin date 计划开始日期
end date 计划结束日期
realBegan date 实际开始日期
realEnd date 实际结束日期
status string 项目状态(wait 未开始 | doing 进行中 | suspend 已挂起 | closed 已关闭)
desc string 项目描述
openedBy 创建人
openedDate datetime 创建时间
PM 项目负责人
acl string 访问控制(open 公开 | private 私有)
whitelist array 白名单

响应示例

{
    "id": 7,
    "project": 0,
    "model": "scrum",
    "type": "project",
    "lifetime": "sprint",
    "budget": "0",
    "budgetUnit": "CNY",
    "attribute": "",
    "percent": 0,
    "milestone": "0",
    "output": "",
    "auth": "extend",
    "parent": 6,
    "path": ",6,7,",
    "grade": 2,
    "name": "企业管理系统",
    "code": "",
    "begin": "2021-06-05",
    "end": "2022-06-04",
    "realBegan": null,
    "realEnd": null,
    "days": 0,
    "status": "doing",
    "subStatus": "",
    "pri": "1",
    "desc": "",
    "version": 0,
    "parentVersion": 0,
    "planDuration": 0,
    "realDuration": 0,
    "openedBy": "admin",
    "openedDate": "2021-04-28T03:22:04Z",
    "openedVersion": "15.0.rc3",
    "lastEditedBy": "admin",
    "lastEditedDate": "2021-04-28T03:22:04Z",
    "closedBy": "",
    "closedDate": null,
    "canceledBy": "",
    "canceledDate": null,
    "PO": "",
    "PM": "projectManager",
    "QD": "",
    "RD": "",
    "team": "",
    "acl": "open",
    "whitelist": ",tester3,admin",
    "order": 35,
    "deleted": false,
    "caseReview": false
}
返回顶部
张淑钧
高级客户经理
13156280939
2082428410
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。