You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.9 KiB
61 lines
1.9 KiB
meta {
|
|
name: 保存冲突处理拉群规则
|
|
type: http
|
|
seq: 4
|
|
tags: [
|
|
generated
|
|
]
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/api/rule/project-rule/conflict-pull/save
|
|
body: formUrlEncoded
|
|
auth: inherit
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
conflictPull.rows[0].rowKey: ALL_PARTIES
|
|
conflictPull.rows[0].pullRule: 自动拉入
|
|
conflictPull.rows[0].required: 1
|
|
conflictPull.autoTriggerMultiParty: 1
|
|
conflictPull.autoTriggerRemote: 1
|
|
}
|
|
|
|
docs {
|
|
# 保存冲突处理拉群规则
|
|
`POST /api/rule/project-rule/conflict-pull/save`
|
|
保存区块③冲突处理拉群规则(5 行 + 2 触发条件复选,全量覆盖;行列表不能为空,rowKey 必填且不重复,复选仅 0/1、不传视为未勾选)。
|
|
|
|
## 请求参数
|
|
|
|
| 参数 | 类型 | 必填 | 默认 | 说明 |
|
|
| --- | --- | --- | --- | --- |
|
|
| conflictPull.rows[0].rowKey | string | 是 | - | 规则行键(固定骨架:ALL_PARTIES/FILING_CLERK/DEPT_LEADERS/REMOTE_CONTACT/VP_MARKETING) |
|
|
| conflictPull.rows[0].pullRule | string | 否 | - | 拉入规则(自由文案,如「自动拉入」「条件触发拉入」) |
|
|
| conflictPull.rows[0].required | int | 否 | - | 是否必须:1是 0否 |
|
|
| conflictPull.autoTriggerMultiParty | int | 否 | 0 | ≥2 方冲突自动触发:1勾选 0未勾选(仅 0/1) |
|
|
| conflictPull.autoTriggerRemote | int | 否 | 0 | 异地报备自动触发:1勾选 0未勾选(仅 0/1) |
|
|
|
|
## 请求示例
|
|
|
|
请求头:Authorization: Bearer {{token}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
POST /api/rule/project-rule/conflict-pull/save
|
|
conflictPull.rows[0].rowKey=ALL_PARTIES&conflictPull.rows[0].pullRule=自动拉入&conflictPull.rows[0].required=1&conflictPull.autoTriggerMultiParty=1&conflictPull.autoTriggerRemote=1
|
|
|
|
## 响应 data 结构
|
|
|
|
null
|
|
|
|
## 响应示例
|
|
|
|
```json
|
|
{
|
|
"code": 0,
|
|
"success": true,
|
|
"message": "success",
|
|
"data": null
|
|
}
|
|
```
|
|
}
|
|
|