ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
>[info] 获取单个审批实例详情 调用本接口获取单个审批实例详情。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/obtains-the-details-of-a-single-approval-instance-pop) ***** * 代码: ~~~ $processInstanceId = 'c8CQKMOcSci3qAB7A0HZpg01411672216362'; $res = OA::getInstance($processInstanceId); echo $res; ~~~ * 返回: ``` { "result": { "attachedProcessInstanceIds": [], "businessId": "202212281632000428566", "title": "王乾顺提交的通用审批", "originatorDeptId": "-1", "operationRecords": [ { "date": "2022-12-28T16:32Z", "result": "NONE", "type": "START_PROCESS_INSTANCE", "userId": "manager3451" } ], "formComponentValues": [ { "componentType": "TextField", "name": "申请内容", "id": "申请内容", "value": "test" }, { "componentType": "TextareaField", "name": "审批详情", "id": "审批详情", "value": "test" } ], "result": "", "bizAction": "NONE", "createTime": "2022-12-28T16:32Z", "originatorUserId": "manager3451", "tasks": [ { "result": "NONE", "activityId": "90ba_3JYt", "pcUrl": "aflow.dingtalk.com?procInsId=c8CQKMOcSci3qAB7A0HZpg01411672216362&taskId=77720225575&businessId=202212281632000428566", "createTime": "2022-12-28T16:32Z", "mobileUrl": "aflow.dingtalk.com?procInsId=c8CQKMOcSci3qAB7A0HZpg01411672216362&taskId=77720225575&businessId=202212281632000428566", "userId": "manager3451", "taskId": 77720225575, "status": "RUNNING" } ], "originatorDeptName": "开发测试团队", "status": "RUNNING" }, "success": true } ```