1. workflow
Application API
  • V3 (AI-friendly-beta)
    • Overview
    • Field Type Comparison Table
    • Guidelines for Using Filters
    • Error Code
    • application
      • Get application information
    • worksheet
      • Get Worksheet List
      • Create worksheet
      • Get worksheet structure information
      • Update worksheet structure
      • Delete worksheet
      • Get worksheet list
    • worksheet Row Records
      • Create row record
      • Get row record list
      • Batch create row records
      • Batch update row record details
      • Batch delete row records
      • Get row record details
      • Update row record
      • Delete row record
      • Get row record discussions
      • Get row record logs
      • Get row record pivot data
      • Get related records
      • Get record share link
    • option set
      • Get option set list
      • Create option set
      • Edit option set
      • Deactivate option set
    • workflow
      • Get workflow list
        GET
      • Get workflow details
        GET
      • Trigger workflow
        POST
      • Get the list of approval workflow executions by worksheet ID and row ID
        POST
      • Get approval workflow execution detail
        GET
    • role
      • Get role list
      • Create role
      • Get role details
      • Delete role
      • Add role member
      • Remove role member
      • Remove member from all roles
    • public query
      • Find member
      • Find department
      • Get region information
    • knowledge
      • Get list of knowledge bases under an application
      • Knowledge base search
  • V2
    • Filter
    • Development Guide
    • Filter Demo
    • ErrorCode
    • Options Set
      • Add Option Set
      • Get Option Set
      • Edit Option Set
      • Delete Option Set
    • Application Role
      • Get Application Role List GET
      • Create Application Role
      • Delete Application Role
      • Add Application Role Member
      • Remove Application Role Member
      • Exit application
      • Get Role Details
    • worksheet
      • Create Worksheet
      • Get worksheet structure information
      • Get List
      • Create Row Record
      • Batch Create Row Records
      • Get Row Record Details
      • Get row record details
      • Update Row Record Details
      • Batch Update Row Record Details
      • Delete Row Record
      • Get associated record
      • Get Record Share Link
      • Get total row count of worksheet
      • Get Row Record Log
    • app
      • Get Application Information
    • Public Inquiries
      • Get regional Information
    • Get Row Record Discussions
      POST
  • Schemas
    • Sample Schemas
      • option
      • relation
      • Pet
      • Category
      • Tag
    • Schemas
      • Authentication Information
      • obj_base_response
      • Person object
      • obj_field
      • Custom Page
      • obj_filter
      • Application Role
      • obj_record_row
      • obj_record_log
      • obj_record_discussion
      • obj_pivot_meta
      • obj_pivot_dimensions
      • obj_pivot_data
      • obj_process
      • obj_process_detail
      • obj_input
      • obj_output
      • obj_role
      • obj_role_permission
      • obj_user
      • obj_user_desensitized
      • obj_department
      • obj_custom_page
      • obj_optionset
      • obj_filter_children
      • obj_app
    • Base response object
    • memberInfo
    • department_with_path
    • departmentInfo
    • regionInfo
    • process
    • process_detail
    • input
    • output
    • role
    • role_permission
    • custom_page
    • optionset
    • field
    • worksheet
    • filter
    • filter_children
    • record_row
    • discussion
  1. workflow

Get approval workflow execution detail

GET
/v3/app/workflow/{worksheet_id}/rows/{row_id}/approval/{approval_id}
Get detailed information of an approval workflow execution for a given worksheet row.

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.nocoly.com/v3/app/workflow//rows//approval/' \
--header 'HAP-Appkey;' \
--header 'HAP-Sign;'

Responses

🟢200OK
application/json
Returns the approval workflow execution detail on success
Body

Example
{
    "success": true,
    "data": {
        "companyId": "78e6b44e-10ab-443c-9030-de66e0067f30",
        "works": [
            {
                "instanceId": "69bce862a937e243ac9e9c38",
                "workId": "69bce862a937e243ac9e9c40",
                "workItems": [
                    {
                        "workId": "69bce862a937e243ac9e9c40",
                        "workItemId": "69bce862a937e243ac9e9c41",
                        "type": 0,
                        "workItemAccount": {
                            "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208",
                            "fullName": "大强",
                            "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png",
                            "status": 1,
                            "isOwner": null,
                            "fullname": "大强"
                        },
                        "receiveTime": "2026-03-20T14:25:38.000Z",
                        "viewTime": null,
                        "operationType": 9,
                        "operationTime": "2026-03-20T14:25:38.000Z",
                        "dueTime": null,
                        "executeTime": null,
                        "updateTime": null,
                        "workItemLog": null,
                        "countersign": null,
                        "countersignComplete": null,
                        "opinion": "",
                        "opinionType": null,
                        "signature": null,
                        "logIds": null,
                        "principal": null,
                        "administrator": null,
                        "fileIds": null,
                        "files": null
                    }
                ],
                "flowNode": {
                    "name": "流程发起节点",
                    "appId": "",
                    "appType": 9,
                    "selectNodeId": "",
                    "selectNodeObj": {
                        "nodeId": "",
                        "nodeName": "",
                        "appId": "",
                        "appName": "",
                        "appType": -1,
                        "appTypeName": "",
                        "nodeTypeId": -1,
                        "countersign": false,
                        "actionId": ""
                    },
                    "formulaMap": {},
                    "id": "643766f9818a042e6c0f18a4",
                    "type": 0,
                    "triggerId": "64376661818a042e6c0f1587",
                    "triggerField": "",
                    "triggerFields": [],
                    "child": false,
                    "batchType": -1,
                    "passBatchType": -1,
                    "overruleBatchType": -1,
                    "auth": {
                        "passTypeList": [],
                        "overruleTypeList": []
                    },
                    "encrypt": false,
                    "callBackType": -1,
                    "nextId": "",
                    "flowIds": [],
                    "flows": []
                },
                "app": {
                    "iconColor": "",
                    "iconName": "",
                    "id": null,
                    "name": "",
                    "entityName": "",
                    "describe": null,
                    "chargeId": null,
                    "type": 0,
                    "otherApkName": "",
                    "otherApkId": ""
                },
                "countersign": null,
                "countersignType": null,
                "signType": null,
                "condition": null,
                "multipleLevelType": 0,
                "multipleLevel": -1,
                "sort": 1,
                "assigned": true,
                "allowUrge": false,
                "urgeTime": null,
                "debugEventDump": null,
                "allowTaskRevokeBackNodeId": null,
                "explain": null,
                "explainMap": null
            },
            {
                "instanceId": "69bce862a937e243ac9e9c38",
                "workId": "69bce862a937e243ac9e9c44",
                "workItems": [
                    {
                        "workId": "69bce862a937e243ac9e9c44",
                        "workItemId": "69bce862a937e243ac9e9c45",
                        "type": 4,
                        "workItemAccount": {
                            "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208",
                            "fullName": "大强",
                            "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png",
                            "status": 1,
                            "isOwner": null,
                            "fullname": "大强"
                        },
                        "receiveTime": "2026-03-20T14:25:38.000Z",
                        "viewTime": "2026-03-20T14:25:56.000Z",
                        "operationType": 0,
                        "operationTime": null,
                        "dueTime": null,
                        "executeTime": null,
                        "updateTime": null,
                        "workItemLog": {
                            "content": null,
                            "createDate": "2026-03-20T14:25:56.000Z",
                            "action": 3,
                            "actionTarget": null,
                            "actionTargetName": null,
                            "fields": null
                        },
                        "countersign": null,
                        "countersignComplete": null,
                        "opinion": null,
                        "opinionType": null,
                        "signature": null,
                        "logIds": null,
                        "principal": null,
                        "administrator": null,
                        "fileIds": null,
                        "files": null
                    }
                ],
                "flowNode": {
                    "name": "审批1",
                    "appId": "",
                    "appType": 9,
                    "selectNodeId": "",
                    "selectNodeObj": {
                        "nodeId": "",
                        "nodeName": "",
                        "appId": "",
                        "appName": "",
                        "appType": -1,
                        "appTypeName": "",
                        "nodeTypeId": -1,
                        "countersign": false,
                        "actionId": ""
                    },
                    "formulaMap": {},
                    "id": "64376702818a042e6c0f18ff",
                    "type": 4,
                    "triggerField": "",
                    "triggerFields": [],
                    "formProperties": [],
                    "child": false,
                    "batchType": -1,
                    "passBatchType": -1,
                    "overruleBatchType": -1,
                    "auth": {
                        "passTypeList": [],
                        "overruleTypeList": []
                    },
                    "encrypt": false,
                    "callBackType": -1,
                    "nextId": "",
                    "flowIds": [],
                    "flows": []
                },
                "app": {
                    "iconColor": "",
                    "iconName": "",
                    "id": null,
                    "name": "",
                    "entityName": "",
                    "describe": null,
                    "chargeId": null,
                    "type": 0,
                    "otherApkName": "",
                    "otherApkId": ""
                },
                "countersign": false,
                "countersignType": null,
                "signType": null,
                "condition": null,
                "multipleLevelType": 0,
                "multipleLevel": -1,
                "sort": 1,
                "assigned": true,
                "allowUrge": false,
                "urgeTime": null,
                "debugEventDump": null,
                "allowTaskRevokeBackNodeId": null,
                "explain": null,
                "explainMap": null
            }
        ],
        "currentWork": null,
        "currentWorkItem": {
            "workId": "69bce862a937e243ac9e9c44",
            "workItemId": "69bce862a937e243ac9e9c45",
            "type": 4,
            "workItemAccount": {
                "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208",
                "fullName": "大强",
                "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png",
                "status": 1,
                "isOwner": null,
                "fullname": "大强"
            },
            "receiveTime": "2026-03-20T14:25:38.000Z",
            "viewTime": "2026-03-20T14:25:56.000Z",
            "operationType": 0,
            "operationTime": null,
            "dueTime": null,
            "executeTime": null,
            "updateTime": null,
            "workItemLog": {
                "content": "已查看",
                "createDate": "2026-03-20T14:25:56.000Z",
                "action": 3,
                "actionTarget": null,
                "actionTargetName": null,
                "fields": [
                    {
                        "id": "field_1",
                        "name": "合同金额",
                        "fromValue": "100",
                        "toValue": "120"
                    }
                ]
            },
            "countersign": false,
            "countersignComplete": false,
            "opinion": "同意",
            "opinionType": 0,
            "signature": {
                "bucket": 1,
                "key": "signature/demo.png",
                "server": "https://file.example.com",
                "authType": 0
            },
            "logIds": [
                "log_1"
            ],
            "principal": null,
            "administrator": null,
            "fileIds": [
                "file_1"
            ],
            "files": [
                {
                    "attachmentType": 1,
                    "fromType": 0,
                    "fileID": "file_1",
                    "sourceID": "source_1",
                    "commentID": "",
                    "docVersionID": "",
                    "accountId": "d0e9f1d7-ed3d-4284-8d12-77c74313f208",
                    "createUserName": "大强",
                    "createUserAvatar": "https://dn-mdpic.mingdao.com/UserAvatar/default9.png",
                    "originalFilename": "approval.pdf",
                    "ext": "pdf",
                    "filesize": 1024,
                    "appID": "app_1",
                    "createTime": "2026-03-20T14:25:56.000Z",
                    "updateTime": "2026-03-20T14:25:56.000Z",
                    "allowDown": "1",
                    "fileRealPath": "/files/approval.pdf",
                    "thumbnailName": "",
                    "thumbnailPath": "",
                    "middleName": "",
                    "middlePath": "",
                    "largeThumbnailName": "",
                    "largeThumbnailPath": "",
                    "filename": "approval.pdf",
                    "filepath": "/files/approval.pdf",
                    "privateDownloadUrl": "https://file.example.com/private/approval.pdf",
                    "viewUrl": "https://file.example.com/view/approval.pdf",
                    "previewUrl": "https://file.example.com/preview/approval.pdf",
                    "downloadUrl": "https://file.example.com/download/approval.pdf"
                }
            ]
        },
        "operationTypeList": [
            [
                4,
                5,
                12
            ]
        ],
        "operationUserRange": {
            "4": [
                "user",
                "department"
            ]
        },
        "opinionTemplate": {
            "inputType": 1,
            "opinions": {
                "pass": [
                    {
                        "selected": true,
                        "value": "同意"
                    }
                ]
            }
        },
        "title": "2",
        "ownerAccount": {
            "accountId": "owner_1",
            "fullName": "拥有者",
            "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default1.png",
            "status": 1,
            "isOwner": true,
            "fullname": "拥有者"
        },
        "createAccount": {
            "accountId": "creator_1",
            "fullName": "创建者",
            "avatar": "https://dn-mdpic.mingdao.com/UserAvatar/default2.png",
            "status": 1,
            "isOwner": false,
            "fullname": "创建者"
        },
        "createDate": "2026-03-20T14:20:00.000Z",
        "processName": "发起审批",
        "processId": "6437681a818a042e6c0f20a5",
        "parentId": "643766f9818a042e6c0f18a7",
        "isApproval": true,
        "flowNode": {
            "name": "审批节点",
            "desc": "当前审批节点",
            "alias": "approve_node",
            "appId": "",
            "appType": 1,
            "selectNodeId": "",
            "selectNodeObj": {
                "nodeId": "",
                "nodeName": "",
                "appId": "",
                "appName": "",
                "appType": -1,
                "appTypeName": "",
                "nodeTypeId": -1,
                "countersign": false,
                "actionId": ""
            },
            "formulaMap": {},
            "id": "node_1",
            "type": -1,
            "isCallBack": false,
            "signatureType": 0,
            "allowTransfer": false,
            "allowForward": false,
            "allowSign": false,
            "auth": {
                "passTypeList": [],
                "overruleTypeList": []
            },
            "encrypt": false,
            "allowUploadAttachment": true,
            "ignoreRequired": false
        },
        "backFlowNodes": [],
        "callBackNodeType": null,
        "app": {
            "id": "apk_1",
            "name": "审批应用",
            "describe": "用于合同审批",
            "icon": "worksheet",
            "iconColor": "#4CAF50",
            "iconUrl": "https://dn-mdpic.mingdao.com/icon.png"
        },
        "instanceType": 1,
        "btnMap": null,
        "status": 1,
        "currentWorkIds": [
            "69bce862a937e243ac9e9c44"
        ],
        "signOperationType": null,
        "allowTaskRevokeBackNodeId": null,
        "printList": [],
        "disabledPrint": false,
        "recordTitle": null
    }
}
Modified at 2026-03-30 07:15:12
Previous
Get the list of approval workflow executions by worksheet ID and row ID
Next
Get role list
Built with