查询单个审批流任务对象详细信息
POST
https://open.fxiaoke.com/cgi/crm/v2/data/get
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.fxiaoke.com/cgi/crm/v2/data/get' \
--header 'Content-Type: application/json' \
--data-raw '{
"corpAccessToken": "${corpAccessToken}",
"corpId": "${corpId}",
"currentOpenUserId": "${currentOpenUserId}",
"data": {
"dataObjectApiName": "ApprovalTaskObj",
"objectDataId": "601c0ac699e9140001f6b818"
}
}'
响应示例响应示例
{
"traceId": "E-O.fktest188.1453-87af4ff79c32460e",
"data": {
"workflow_id": "5d7086149da7970001e8c82f",
"last_modify_time": 1612450502161,
"trigger_type": "新建",
"submitter__r": {
"picAddr": "",
"description": "",
"dept": "1000",
"supervisorId": "1006",
"modifyTime": 1591759818876,
"post": "",
"createTime": 1587462141009,
"phone": "",
"name": "蒋小川1",
"nickname": "蒋小川1",
"tenantId": "590163",
"id": "1453",
"email": "",
"status": 0
},
"created_by__r": {
"name": "系统",
"id": "-10000"
},
"object_data_id__r": "文本值",
"owner_department_id": "1000",
"activity_id": "1",
"owner_department": "董事会",
"state": "in_progress",
"submitter__l": [
{
"id": "1453",
"tenantId": "590163",
"name": "蒋小川1",
"picAddr": "",
"email": "",
"nickname": "蒋小川1",
"supervisorId": "1006",
"phone": "",
"description": "",
"status": 0,
"createTime": 1587462141009,
"modifyTime": 1591759818876,
"dept": "1000",
"post": ""
}
],
"candidate_ids": [
"FSUID_0871DA62082216ECE103C16683E2FCDF"
],
"data_own_department__r": {
"deptName": "董事会",
"deptId": "1000",
"parentId": "999999",
"status": 0
},
"timeout_time": "0.00",
"create_time": 1612450502906,
"link_app_type": "0",
"candidate_ids__l": [
{
"id": "1006",
"tenantId": "590163",
"name": "徐超",
"picAddr": "",
"email": "",
"nickname": "徐超",
"phone": "",
"description": "",
"status": 0,
"createTime": 1559271081900,
"modifyTime": 1597335697485,
"dept": "1523",
"post": ""
}
],
"is_tag": false,
"workflow_instance_id__relation_ids": "601c0ac648b46c0001f09d04",
"candidate_ids__r": {
"picAddr": "",
"description": "",
"dept": "1523",
"modifyTime": 1597335697485,
"post": "",
"createTime": 1559271081900,
"phone": "",
"name": "徐超",
"nickname": "徐超",
"tenantId": "590163",
"id": "1006",
"email": "",
"status": 0
},
"version": "2",
"created_by": [
"-10000"
],
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_0871DA62082216ECE103C16683E2FCDF"
],
"teamMemberRole": "4",
"teamMemberRoleList": [
"4"
],
"teamMemberPermissionType": "1"
},
{
"teamMemberEmployee": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"teamMemberRole": "1",
"teamMemberRoleList": [
"1"
],
"teamMemberPermissionType": "1"
}
],
"start_time": 1612450502139,
"data_own_department": [
"1000"
],
"rejected_from": false,
"object_api_name": "AccountObj",
"name": "单人审批(2021-02-04 22:55)",
"_id": "601c0ac699e9140001f6b818",
"remind_latency": "0",
"data_own_department__l": [
{
"parentId": "999999",
"deptId": "1000",
"deptName": "董事会",
"status": 0
}
],
"task_name": "单人审批",
"submitter": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"object_data_id": "601c0ac554fa2100014bcf22",
"duration": "0",
"is_timeout": false,
"is_deleted": false,
"owner__l": [
{
"id": "1453",
"tenantId": "590163",
"name": "蒋小川1",
"picAddr": "",
"email": "",
"nickname": "蒋小川1",
"supervisorId": "1006",
"phone": "",
"description": "",
"status": 0,
"createTime": 1587462141009,
"modifyTime": 1591759818876,
"dept": "1000",
"post": ""
}
],
"relevant_team__r": "徐超,蒋小川1",
"object_api_name__r": "客户",
"owner__r": {
"picAddr": "",
"description": "",
"dept": "1000",
"supervisorId": "1006",
"modifyTime": 1591759818876,
"post": "",
"createTime": 1587462141009,
"phone": "",
"name": "蒋小川1",
"nickname": "蒋小川1",
"tenantId": "590163",
"id": "1453",
"email": "",
"status": 0
},
"owner": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"last_modified_time": 1612450502906,
"remind_status": false,
"life_status": "normal",
"last_modified_by__l": [
{
"id": "-10000",
"name": "系统"
}
],
"created_by__l": [
{
"id": "-10000",
"name": "系统"
}
],
"workflow_instance_id__r": "客户新建编辑审批流(2021-02-04 22:55)",
"last_modified_by": [
"-10000"
],
"record_type": "default__c",
"last_modified_by__r": {
"name": "系统",
"id": "-10000"
},
"workflow_instance_id": "601c0ac648b46c0001f09d04",
"opinions": [],
"source_workflow_id": "apprV3MGWUWHWK__crmappr",
"task_type": "single"
},
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
请求参数
Body 参数application/json