- 通用接口
- 高级查询
- 发票信息
- 操作按钮
- 单据列表
- 单据视图
- 新建/编辑/保存
- 登陆接口POST
- 获取未回款或者开票金额GET
- 获取短信验证码GET
- 注册企业POST
- 关联工商信息GET
- PC端-使用
- 手机端-使用
- 表单设置
- 特殊接口
- 日周月报相关
- 在线帮助
- 工具-设置
- 统计图表
- 地图单据
- 点评、评论
- 列表特殊接口
- 视图特殊接口
- 工资相关
- 公式相关
- 外呼接口
- 序列号批次号相关
- 领取奖励
- 工商信息
- 日历数据
- 快递100第三方平台授权
- 分佣相关
- 客服系统
- 锁库接口
- 商城客户端
- 支付接口
- 协同办公专用
- (线上)阶段推进器
- 设置取消到货提醒
- 共享读写人保存
- 新版客户合并关键字查询
- 获取客户合并信息
- 推进历史保存
- 获取个人信息
- 客户视图下面得共享读写和阶段(供应商时是种类)
- 客户视图阶段或者供应商种类保存
- 获取员工列表
- 工单获取员工列表
- 新版客户合并
- 新版客户合并保存
- 项目推进获取
- 保存代办跟进主题模板的分类
- 删除代办跟进主题的分类
- pdf预览返回地址
- 获取关联合同或者采购单默认
- 获取产品历史价格
- 保存tree结构数据
- 登录相关
- 飞书和企业微信对接
- 特殊列表
- 10.24 - 10.28周更新迭代
- 工单
- 在线外部工单
- PC端其它细节优化2
- 日历格式
- 第一周1.2
- 供应商收款账户信息
- 第五周1.4
- 标签设置
- 微信通讯录导入
- 出、入库单优化
- 外呼电话
- 第七周1.1
- 第三方接口
- 电子面单相关接口
- 智能统计数据
- 系统设置
- 工作台
- 批量编 辑
- 客户
- test-测试分组
- 办公
- 24.2.4考核
- 阶段推进器优化
- 营销管理
- 24.4.1
- 内部协同办公jzsoft
- 销售
- 24.4.3
- 24.5.11
- 24.6.3
- 24.9.2
- 审核草稿箱
- 提醒助手
- V8验证规则
- 商城联系调整相关
- 内部协同办公
- 外链表单
- 金智对外API
- 新版API说明
- 微信公众平台
- 百度营销
- 微信好友
- 企业微信会话存档
- 客户定制
- 未命名接口GET
- 上传图片POST
- 岗位角色设置保存POST
- 未命名接口POST
获取营销数据
开发中
POST
/api/MarketMange/getMarketMangeData
最后修改时间:2024-04-23 11:48:39
责任人:未设置
请求参数
Body 参数application/json
src_msgid
string
单据id
src_formKey
string
表单id
cpid
string
产品id
customerId
string
客户id
listId
string
列表明细ID
示例
{
"src_msgid": "string",
"src_formKey": "string",
"cpid": "string",
"customerId": "string",
"listId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/MarketMange/getMarketMangeData' \
--header 'Content-Type: application/json' \
--data-raw '{
"src_msgid": "string",
"src_formKey": "string",
"cpid": "string",
"customerId": "string",
"listId": "string"
}'
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
失败的提示
result
object
必需
productInfo
object
必需
priceHeadList
array [object {2}]
价格字段列表
priceDataList
array [object {5}]
必需
priceDiffHeadList
array [object {2}]
必需
priceDiffDataList
array [object {6}]
必需
{ dataIndex: 'price', title: '价格', },
{ dataIndex: 'type', title: '类型', },
{ dataIndex: 'name', title: '主题', },
{ dataIndex: 'rule', title: '规则说明', },
],不返回则前端默认用这些,如果还要显示别的,会根据服务端返回的为准,返回要保留这4个dataIndex
giftDataList
array [object {5}]
赠品数据
priceLimitDataList
array [object {5}]
限价列表
giftHeadList
array [object {2}]
必需
priceLimitHeadList
array [object {2}]
必需
{ dataIndex: 'price', title: '警戒线', },
{ dataIndex: 'type', title: '类型', },
{ dataIndex: 'name', title: '方案名称', },
{ dataIndex: 'rule', title: '说明', },
],返回则以返回的为准
示例
{"errcode":0,"errmsg":"", "result": { "productInfo": { "cpname": "产品名称/规格/型号", "cpno": "编号123456789", "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, "priceHeadList": [ { "title": "价格1", "dataIndex": "price1" }, { "title": "价格2", "dataIndex": "price2" }, { "title": "价格3", "dataIndex": "price3" }, { "title": "价格4", "dataIndex": "price4" }, { "title": "价格5", "dataIndex": "price5" } ], "priceDataList": [ { "price1": 11, "price2": 12, "price3": 13, "price4": 14, "price5": 15 } ], "priceDiffHeadList": [ { "dataIndex": "price", "title": "价格" }, { "dataIndex": "type", "title": "类型" }, { "dataIndex": "name", "title": "主题" }, { "dataIndex": "rule", "title": "规则说明" } ], "priceDiffDataList": [ { "key": 0, "price": "100", "type": "商品-差异化价格", "name": "价格方案0", "rule": "" }, { "key": 1, "price": "101", "type": "商品-差异化价格", "name": "价格方案1", "rule": "" }, { "key": 2, "price": "102", "type": "商品分类-差异化价格", "name": "价格方案2", "rule": "" }, { "key": 3, "price": "103", "type": "商品分类-差异化价格", "name": "价格方案3", "rule": "" }, { "key": 4, "price": "104", "type": "商品分类-差异化价格", "name": "价格方案4", "rule": "" }, { "key": 5, "price": "", "type": "数量阶梯-差异化价格", "name": "价格方案5", "rule": [ { "minCount": 100, "maxCount": 200, "description": "数量100-200,打8折,折扣价格¥180.00", "price": 180 }, { "minCount": 201, "maxCount": 300, "description": "数量201-300,打7折,折扣价格¥170.00", "price": 170 }, { "minCount": 301, "maxCount": 400, "description": "数量301-400,打6折,折扣价格¥160.00", "price": 160 }, { "minCount": 401, "maxCount": 500, "description": "数量401-500,打5折,折扣价格¥150.00", "price": 150 } ] }, { "key": 6, "price": "106", "type": "商品分类-差异化价格", "name": "价格方案6", "rule": "" }, { "key": 7, "price": "107", "type": "商品分类-差异化价格", "name": "价格方案7", "rule": "" } ], "giftDataList": [ { "key": 0, "type": "买赠0", "name": "买赠方案0", "rule": [ { "minCount": 100, "maxCount": 200, "description": "数量100-200,赠送以下赠品", "price": 180, "key": "0_1", "giftList": [ { "cpid": { "label": "产品1130", "value": 1130 }, "cpcount": 1, "cpunit": { "label": "个", "value": "个" } } ] }, { "minCount": 201, "maxCount": 300, "description": "数量201-300,赠送以下赠品", "price": 170, "key": "0_2", "giftList": [ { "cpid": { "label": "产品1130", "value": 1130 }, "cpcount": 1, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 301, "maxCount": 400, "description": "数量301-400,赠送以下赠品", "price": 160, "key": "0_3", "giftList": [ { "cpid": { "label": "产品1130", "value": 1130 }, "cpcount": 1, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 401, "maxCount": 500, "description": "数量401-500,赠送以下赠品", "price": 150, "key": "0_4", "giftList": [ { "cpid": { "label": "产品1130", "value": 1130 }, "cpcount": 1, "cpunit": { "label": "个", "value": "个" } } ] } ] }, { "key": 1, "type": "买赠1", "name": "买赠方案1", "rule": [ { "minCount": 100, "maxCount": 200, "description": "数量100-200,赠送以下赠品", "price": 180, "key": "1_1", "giftList": [ { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" } } ] }, { "minCount": 201, "maxCount": 300, "description": "数量201-300,赠送以下赠品", "price": 170, "key": "1_2", "giftList": [ { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 301, "maxCount": 400, "description": "数量301-400,赠送以下赠品", "price": 160, "key": "1_3", "giftList": [ { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 401, "maxCount": 500, "description": "数量401-500,赠送以下赠品", "price": 150, "key": "1_4", "giftList": [ { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1131", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" } } ] } ] }, { "key": 2, "type": "买赠2", "name": "买赠方案2", "rule": [ { "minCount": 100, "maxCount": 200, "description": "数量100-200,赠送以下赠品", "price": 180, "key": "2_1", "giftList": [ { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" } } ] }, { "minCount": 201, "maxCount": 300, "description": "数量201-300,赠送以下赠品", "price": 170, "key": "2_2", "giftList": [ { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 301, "maxCount": 400, "description": "数量301-400,赠送以下赠品", "price": 160, "key": "2_3", "giftList": [ { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 401, "maxCount": 500, "description": "数量401-500,赠送以下赠品", "price": 150, "key": "2_4", "giftList": [ { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1132", "value": 1132 }, "cpcount": 3, "cpunit": { "label": "个", "value": "个" } } ] } ] }, { "key": 3, "type": "买赠3", "name": "买赠方案3", "rule": [ { "minCount": 100, "maxCount": 200, "description": "数量100-200,赠送以下赠品", "price": 180, "key": "3_1", "giftList": [ { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } } ] }, { "minCount": 201, "maxCount": 300, "description": "数量201-300,赠送以下赠品", "price": 170, "key": "3_2", "giftList": [ { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 301, "maxCount": 400, "description": "数量301-400,赠送以下赠品", "price": 160, "key": "3_3", "giftList": [ { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 401, "maxCount": 500, "description": "数量401-500,赠送以下赠品", "price": 150, "key": "3_4", "giftList": [ { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1133", "value": 1133 }, "cpcount": 4, "cpunit": { "label": "个", "value": "个" } } ] } ] }, { "key": 4, "type": "买赠4", "name": "买赠方案4", "rule": [ { "minCount": 100, "maxCount": 200, "description": "数量100-200,赠送以下赠品", "price": 180, "key": "4_1", "giftList": [ { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } } ] }, { "minCount": 201, "maxCount": 300, "description": "数量201-300,赠送以下赠品", "price": 170, "key": "4_2", "giftList": [ { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 301, "maxCount": 400, "description": "数量301-400,赠送以下赠品", "price": 160, "key": "4_3", "giftList": [ { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] }, { "minCount": 401, "maxCount": 500, "description": "数量401-500,赠送以下赠品", "price": 150, "key": "4_4", "giftList": [ { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } }, { "cpid": { "label": "产品1134", "value": 1134 }, "cpcount": 5, "cpunit": { "label": "个", "value": "个" } } ] } ] }, { "key": 6, "type": "买赠-叠加", "name": "买赠叠加方案1", "rule": [ { "loopCount": 80, "description": "数量每满80,赠送以下赠品", "key": "50", "giftList": [ { "cpid": { "label": "产品11300", "value": 1130 }, "cpcount": 1, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" }, { "cpid": { "label": "产品11301", "value": 1131 }, "cpcount": 2, "cpunit": { "label": "个", "value": "个" }, "cpimg": "http://10.10.8.2:777/pro/api/FileOp/GetFile?url=upload/91269/product/img_181_17126286270317.png" } ] } ] } ], "priceLimitDataList": [ { "key": 0, "price": "100", "type": "商品-限价预警", "name": "限价预警0", "rule": "限价预警规则0" }, { "key": 1, "price": "101", "type": "商品-限价预警", "name": "限价预警1", "rule": "限价预警规则1" }, { "key": 2, "price": "102", "type": "商品分类-限价预警", "name": "限价预警2", "rule": "限价预警规则2" }, { "key": 3, "price": "103", "type": "商品分类-限价预警", "name": "限价预警3", "rule": "限价预警规则3" }, { "key": 4, "price": "104", "type": "商品分类-限价预警", "name": "限价预警4", "rule": "限价预警规则4" } ], "giftHeadList": [ { "dataIndex": "type", "title": "类型" }, { "dataIndex": "name", "title": "方案名称" }, { "dataIndex": "rule", "title": "规则说明" } ], "priceLimitHeadList": [ { "dataIndex": "price", "title": "警戒线" }, { "dataIndex": "type", "title": "类型" }, { "dataIndex": "name", "title": "方案名称" }, { "dataIndex": "rule", "title": "说明" } ] } }