POST city/v3/EventFlowWeb/EventFlowNodeAddOrUpdate
保存事件处置流程结点v2.0.0.2
Request
URI Params
None.
Body Params
EventFlowNodeWebModel字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Id |
事件流程结点id |
integer |
None. |
EventFlowId |
事件处置流程 |
integer |
None. |
NodeName |
流程结点名称 |
string |
None. |
EventFlowOrgType |
流程结点单位类型 |
EventFlowOrgType |
None. |
DesignatedOrgIds |
限定单位(当流程结点单位类型为限定单位时生效) |
Collection of string |
None. |
Roles |
流程结点对应的职责任务+系统岗位 |
Collection of EventFlowNodeRoleWebModel |
None. |
ESControls |
流程结点在不同状态下的控制 |
Collection of EventFlowNodeEventStatusWebModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "1", "EventFlowId": "2", "NodeName": "sample string 3", "EventFlowOrgType": 0, "DesignatedOrgIds": [ "sample string 1", "sample string 2" ], "Roles": [ { "DutyId": "1", "DutyName": "sample string 2", "PositionId": "3", "PositionName": "sample string 4" }, { "DutyId": "1", "DutyName": "sample string 2", "PositionId": "3", "PositionName": "sample string 4" } ], "ESControls": [ { "ES": 0, "ESDesc": "sample string 1", "OTs": [ { "OperationType": 0, "OperationTypeDesc": "sample string 1", "IsCheck": true, "NextEventFlowNodeId": "3", "NextEventFlowNodeES": 0 }, { "OperationType": 0, "OperationTypeDesc": "sample string 1", "IsCheck": true, "NextEventFlowNodeId": "3", "NextEventFlowNodeES": 0 } ] }, { "ES": 0, "ESDesc": "sample string 1", "OTs": [ { "OperationType": 0, "OperationTypeDesc": "sample string 1", "IsCheck": true, "NextEventFlowNodeId": "3", "NextEventFlowNodeES": 0 }, { "OperationType": 0, "OperationTypeDesc": "sample string 1", "IsCheck": true, "NextEventFlowNodeId": "3", "NextEventFlowNodeES": 0 } ] } ] }
application/x-www-form-urlencoded
Sample:
Response
APIResult字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
ErrCode |
错误代码,因功能而异 |
integer |
None. |
Msg |
返回信息 |
string |
None. |
SeqId |
请求序列 |
integer |
None. |
InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{ "Ret": 1, "ErrCode": 2, "Msg": "sample string 3", "SeqId": 4, "InfoMsg": "sample string 5" }