curl --location --request POST '/open_api/work_item/finished/batch_query' \
--header 'X-PLUGIN-TOKEN: {{plugin_token}}' \
--header 'X-USER-KEY: {{user_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"project_key": "",
"work_item_id": 0,
"node_ids": [""]
}'
{
"err_code": 0,
"err_msg": "",
"err": {},
"data": {
"project_key": "64fe8d784adf35b81ee6dd50", //空间key
"work_item_id": "80317000", //实例ID
"finished_infos": [ // 评审信息
{
"node_id": "start_0",
"summary_mode": "calculation", // 汇总模式,calculation汇总计算,independence独立填写
"opinion": {
"finished_opinion_result": "意见", // 汇总意见
"owners_finished_opinion_result": [ // 人员意见
{
"owner": "7325343738828423187", // 用户user_key
"finished_opinion_result": "意见" // 意见
}
]
},
"conclusion": {
"finished_conclusion_result": { // 汇总结论
"key": "7542934863176113",
"label": "未通过",
"origin_label": "未通过"
},
"owners_finished_conclusion_result": [ // 人员结论
{
"owner": "7325343738828423187", // 用户user_key
"finished_conclusion_result": { // 结论
"key": "7542934863176113",
"label": "未通过",
"origin_label": "未通过"
}
}
]
}
}
]
}
}