| 应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 是 | 开发者后台申请 | 调试 |
| 第三方企业应用 | 否 | — | — |
| 第三方个人应用 | 否 | — | — |
{
"request": {
"comment_userid": "user123",
"process_instance_id": "88c2f806-316d-4683-ba30-xxxxx",
"text": "测试",
"file": {
"attachments": [
{
"space_id": "22331",
"file_size": "1024",
"file_id": "B1oQixxxx",
"file_name": "打卡证明",
"file_type": "file"
}
],
"photos": [
"https://url1"
]
}
}
}curl --location --request POST 'http://127.0.0.1/topapi/process/instance/comment/add?access_token=6d1bxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"request": {
"comment_userid": "user123",
"process_instance_id": "88c2f806-316d-4683-ba30-xxxxx",
"text": "测试",
"file": {
"attachments": [
{
"space_id": "22331",
"file_size": "1024",
"file_id": "B1oQixxxx",
"file_name": "打卡证明",
"file_type": "file"
}
],
"photos": [
"https://url1"
]
}
}
}'{
"result": true,
"success": true,
"errcode": 0,
"errmsg": "string",
"request_id": "string"
}