Operation Config Center
  1. PLM提供
Operation Config Center
  • 接口配置化
    • 产品服务交货信息组关联配置
      POST
    • 服务交货信息详情
      POST
    • 供应商接口信息详情
      POST
    • 供应商接口账号详情
      POST
    • 服务接口交货信息关联配置
      POST
  • PLM提供
    • 产品信息查询(Portal)
      POST
    • 产品国家查询(EJF,平台接单)
      POST
    • 产品揽收仓查询(EJF,平台接单)
      POST
    • 产品信息查询(EJF,平台接单)
      POST
    • 产品预报信息取值配置查询
      POST
    • 产品国家策略组配置
      POST
  • 验证引擎
    • 验证规则组查询
      POST
    • 删除验证规则组
      POST
    • 过滤规则提示列表查询
      POST
    • 报错提示语列表查询
      POST
    • 批量删除特殊规则提示
      POST
    • 批量删除报错提示语
      POST
    • 获取可校验的字段列表
      POST
    • 获取验证规则列表
      POST
  • 单号配置获取
    • 服务号段获取
      POST
    • 服务面单获取
      POST
  • 引擎
    • 渲染Liquid模板
      POST
    • 运行流程
      POST
    • 执行决策树
      POST
    • 校验条件
      POST
    • 发送HTTP请求
      POST
    • 解析Excel文件-单元格
      POST
    • 填充Excel文件-单元格
      POST
    • 填充Excel文件-列
      POST
    • 上传Oss文件
      POST
    • 下载Oss文件
      POST
    • 上传S3文件
      POST
    • 下载S3文件
      POST
  • 引擎-配置管理
    • 新增配置
    • 修改配置
    • 通过编码查询配置
    • 查询配置列表
    • 通过编码运行配置
  1. PLM提供

产品国家策略组配置

正式环境
https://occ.yanwentech.com
正式环境
https://occ.yanwentech.com
POST
/gateway/router
(缓存时长:生产环境15min测试环境15min)

请求参数

Header 参数
appKey
string 
系统名称
必需
requestId
string 
必需
请求ID,尽量唯一,日志查询使用
method
string 
必需
product_country_strategy_table.get
Body 参数application/json
product
string 
产品编号
必需
country
string 
国家id
必需
businessType
string 
业务类型
必需
order
object 
自定义请求参数
可选
示例
{
    "product": "847",
    "country": "1",
    "businessType": "1",
    "order": {

    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://occ.yanwentech.com/gateway/router' \
--header 'appKey;' \
--header 'requestId;' \
--header 'method;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "product": "847",
    "country": "1",
    "businessType": "1",
    "order": {

    }
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
请求是否成功
必需
code
integer 
请求状态码
必需
200:请求成功 500:请求异常 0:无数据
message
string 
错误提示
必需
data
object 
配置信息
可选
strategyId
string 
策略组编号
必需
strategyType
string 
策略类型
必需
0 配置 1编号
strategyContent
object 
策略内容
必需
strategyType 为0 时返回配置 , 为1则返回编号
remark
string 
备注
可选
order
object 
请求参数
可选
示例
{
    "success": true,
    "code": 200,
    "message": "操作成功",
    "data": {
        "strategyId": "f30b4aa6-959e-11ef-8993-6805cabbb9c0",
        "strategyType": "0",
        "strategyContent": {
            "key": "2d757355-7b5f-4e30-b5d2-b29ec475e1c0",
            "detail": [
                {
                    "Key": "2d757355-7b5f-4e30-b5d2-b29ec475e1c0",
                    "ColumnId": 2,
                    "IsEmpty": 1,
                    "RangeContent": null,
                    "Filter": null,
                    "Format": "",
                    "Extension": "",
                    "ContentType": null,
                    "Content": null,
                    "YwOperator": "plm_test",
                    "CreateTime": "2024-06-20T14:26:50.556283+08:00",
                    "UpdateTime": "2024-06-20T14:26:50.5562861+08:00",
                    "IsDeleted": 0,
                    "ContentStatus": 2,
                    "ContentMessage": null,
                    "Id": 0
                },
                {
                    "Key": "2d757355-7b5f-4e30-b5d2-b29ec475e1c0",
                    "ColumnId": 1,
                    "IsEmpty": 1,
                    "RangeContent": null,
                    "Filter": null,
                    "Format": "",
                    "Extension": "",
                    "ContentType": null,
                    "Content": null,
                    "YwOperator": "plm_test",
                    "CreateTime": "2024-06-20T14:26:50.556291+08:00",
                    "UpdateTime": "2024-06-20T14:26:50.5562938+08:00",
                    "IsDeleted": 0,
                    "ContentStatus": 2,
                    "ContentMessage": null,
                    "Id": 0
                }
            ]
        },
        "remark": "test->847-1-1",
        "order": {}
    }
}
修改于 2024-12-18 03:20:50
上一页
产品预报信息取值配置查询
下一页
验证规则组查询
Built with