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.
 
 
 
 
 

53 lines
940 B

meta {
name: 复制推送规则
type: http
seq: 5
tags: [
generated
]
}
post {
url: {{baseUrl}}/api/rule/opp-push-rule/copy
body: formUrlEncoded
auth: inherit
}
body:form-urlencoded {
id: 8001
}
docs {
# 复制推送规则
`POST /api/rule/opp-push-rule/copy`
复制规则(独立新规则:新编码 + V1.0 草稿,推送配置随复制)。
## 请求参数
| 参数 | 类型 | 必填 | 默认 | 说明 |
| --- | --- | --- | --- | --- |
| id | string | 是 | - | 版本行 ID(任意版本均可作复制源) |
## 请求示例
请求头:Authorization: Bearer {{token}}
Content-Type: application/x-www-form-urlencoded
POST /api/rule/opp-push-rule/copy
id=8001
## 响应 data 结构
string — 新规则版本行 ID(Long 序列化为 string)
## 响应示例
```json
{
"code": 0,
"success": true,
"message": "success",
"data": "8002"
}
```
}