# 说明

获取发布评审日志(评审过程的步骤和说明)

# url

https://api.tapd.cn/launch_forms/get_activity_logs

# 支持格式

JSON/XML(默认JSON格式)

# HTTP请求方式

GET

# 请求数限制

默认返回所有

# 请求参数

字段名 必选 类型及范围 说明 特殊规则
workspace_id integer 项目ID
form_id integer 发布评审ID

# 调用示例及返回结果

# 获取发布评审日志

# curl 使用 Basic Auth 鉴权调用示例

curl -u 'api_user:api_password' 'https://api.tapd.cn/launch_forms/get_activity_logs?workspace_id=10104801&form_id=1010104801079777231'

# 返回结果

{
    "status": 1,
    "data": [
        {
            "LaunchChange": {
                "id": "1010104801083909701",
                "workspace_id": "10104801",
                "type": "signing",
                "form_id": "1010104801079777231",
                "activity_form_id": null,
                "field": "sign",
                "old_value": "signing",
                "new_value": {
                    "comment": "同意 【通过企业微信快速审批】",
                    "result": "sign_agree"
                },
                "created_by": "v_xuanfang",
                "created": "2023-07-13 15:13:34",
                "operation": "sign_agree"
            }
        },
        {
            "LaunchChange": {
                "id": "1010104801083908923",
                "workspace_id": "10104801",
                "type": "auditing",
                "form_id": "1010104801079777231",
                "activity_form_id": "1010104801067750287",
                "field": "项目经理评审",
                "old_value": null,
                "new_value": {
                    "activity": {
                        "id": "1010104801067750287",
                        "comment": "2111",
                        "conclusion": "audit_absolutely",
                        "factors_total_value": 0,
                        "factors_pass_value": 0,
                        "factors_passed_rate": 100,
                        "audited": "2023-07-13  10:41:23",
                        "is_audited": true,
                        "audited_by": "v_xuanfang",
                        "workspace_id": "10104801"
                    },
                    "factor_result": []
                },
                "created_by": "v_xuanfang",
                "created": "2023-07-13 10:41:23",
                "operation": "audit_absolutely"
            }
        },
        {
            "LaunchChange": {
                "id": "1010104801083448609",
                "workspace_id": "10104801",
                "type": "initial",
                "form_id": "1010104801079777231",
                "activity_form_id": null,
                "field": "initialization",
                "old_value": null,
                "new_value": null,
                "created_by": "v_xuanfang",
                "created": "2022-09-08 17:27:34",
                "operation": "initialization"
            }
        }
    ],
    "info": "success"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

# 返回字段说明

字段 说明
id 评审日志记录ID
workspace_id 所属项目ID
type 类型
form_id 评审单ID
activity_form_id 发布评审活动ID
factor_result 评审要素
field 字段名
old_value 变更前
new_value 变更后
created_by 创建人
created 创建时间
operation 流程状态

# factor_result字段说明

字段 说明
评审要素ID 评审结果取值(factor_y:是,factor_n:否,factor_inesstional:不涉及)
上次更新: 2023-10-11 15:52:42