- 开发前必读
- ERP
- NXLINK
- OA
- 人事考勤
- 2号人事
- 企查查
- 企业信息
- 短信
- 事件管理
查询流程信息
开发中
POST
/oa/workflow/getWorkflowRequest
最后修改时间:2024-03-30 06:18:49
请求参数
Header 参数
X-App-Id
string
AppKey
示例值:
Xhu2RFcz
X-Timestamp
string
可选
示例值:
1546823354563
X-Sequence-No
string
可选
示例值:
uuid-8989842222221111322
X-Signature
string
签名
示例值:
BCEdyH0nMsyGS8yw
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
requestId
string
流程请求ID
createWorkNo
string
请求ID创建人工号
示例
{
"requestId": "188220",
"createWorkNo": "NX7226"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/oa/workflow/getWorkflowRequest' \
--header 'X-App-Id: Xhu2RFcz' \
--header 'X-Timestamp: 1546823354563' \
--header 'X-Sequence-No: uuid-8989842222221111322' \
--header 'X-Signature: BCEdyH0nMsyGS8yw' \
--header 'Content-Type: application/json' \
--data-raw '{
"requestId": "188220",
"createWorkNo": "NX7226"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
null
必需
msg
string
必需
requestId
null
必需
示例
{
"code": 200,
"data": {
"canEdit": true,
"canView": true,
"createTime": "2019-12-31 14:51:13",
"creatorId": "2978",
"creatorName": "xf01",
"currentNodeId": "3976",
"currentNodeName": "审批3",
"forwardButtonName": "转发",
"lastOperateTime": "2019-12-31 14:51:13",
"lastOperatorName": "",
"messageType": "0",
"mustInputRemark": true,
"needAffirmance": false,
"rejectButtonName": "",
"remark": "",
"requestId": "3038137",
"requestLevel": "1",
"requestName": "test-002",
"status": "出口1",
"subbackButtonName": "批准",
"submitButtonName": "",
"subnobackButtonName": "",
"workflowBaseInfo": {
"workflowId": "781",
"workflowName": "JHY-自由加签",
"workflowTypeId": "167",
"workflowTypeName": "JHY-测试流程"
},
"workflowDetailTableInfos": [
{
"tableDBName": "formtable_main_1356_dt1",
"tableFieldName": [
"单行文本",
"多人力",
"下拉框"
],
"tableTitle": "",
"workflowRequestTableRecords": [
{
"recordOrder": 87,
"workflowRequestTableFields": [
{
"browserurl": "",
"edit": true,
"fieldDBType": "varchar(100)",
"fieldFormName": "field40119_0",
"fieldHtmlType": "1",
"fieldId": "40119",
"fieldName": "dhwb",
"fieldOrder": 0,
"fieldShowName": "单行文本",
"fieldShowValue": "第一行",
"fieldType": "1",
"fieldValue": "第一行",
"filedHtmlShow": "<table style=\"width:100%;\"><tr><td style=\"width:99%;white-space:normal;\" align=\"left\"><input type=\"text\" name=\"field40119_0\" id=\"dhwb\" value=\"第一行\" onChange=\"checkLength('field40119_0',100, '单行文本', '文本长度不能超过', '1个中文字符等于3个长度');\"/></td></tr></table>",
"mand": false,
"selectnames": [],
"selectvalues": [],
"view": true
}
]
},
{
"recordOrder": 88,
"workflowRequestTableFields": [
{
"browserurl": "",
"edit": true,
"fieldDBType": "varchar(100)",
"fieldFormName": "field40119_0",
"fieldHtmlType": "1",
"fieldId": "40119",
"fieldName": "dhwb",
"fieldOrder": 0,
"fieldShowName": "单行文本",
"fieldShowValue": "第2行",
"fieldType": "1",
"fieldValue": "第2行",
"filedHtmlShow": "<table style=\"width:100%;\"><tr><td style=\"width:99%;white-space:normal;\" align=\"left\"><input type=\"text\" name=\"field40119_0\" id=\"dhwb\" value=\"第2行\" onChange=\"checkLength('field40119_0',100, '单行文本', '文本长度不能超过', '1个中文字符等于3个长度');\"/></td></tr></table>",
"mand": false,
"selectnames": [],
"selectvalues": [],
"view": true
}
]
}
]
}
],
"workflowHtmlShow": [
null,
null
],
"workflowHtmlTemplete": [
null,
null
],
"workflowMainTableInfo": {
"requestRecords": [
{
"recordOrder": 0,
"workflowRequestTableFields": [
{
"edit": true,
"fieldDBType": "",
"fieldFormName": "requestname",
"fieldHtmlType": "1",
"fieldId": "-1",
"fieldName": "requestname",
"fieldOrder": -1,
"fieldShowName": "标题",
"fieldShowValue": "test-002",
"fieldType": "",
"fieldValue": "test-002",
"filedHtmlShow": "<table style=\"width:100%;\"><tr><td style=\"width:99%;white-space:normal;\" align=\"left\"><input type=\"text\" name=\"requestname\" id=\"requestname\" value=\"test-002\" /></td><td><span id=\"requestname_ismandspan\" class=\"ismand\">!</span><input type=\"hidden\" id=\"ismandfield\" name=\"ismandfield\" value=\"requestname\"/></td></tr></table>",
"mand": true,
"view": true
}
]
}
],
"tableDBName": "formtable_main_1356"
},
"workflowRequestLogs": [
{
"annexDocHtmls": "",
"id": "922",
"nodeId": "3974",
"nodeName": "创建1",
"operateDate": "2019-12-31",
"operateTime": "14:51:13",
"operateType": "提交",
"operatorDept": "xf-部门0",
"operatorId": "2978",
"operatorName": "xf01",
"receivedPersons": "xf01,xf02",
"remark": "意见内容",
"signDocHtmls": "",
"signWorkFlowHtmls": ""
}
]
},
"msg": "",
"requestId": null
}
修改于 2024-03-30 06:18:49