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提供

产品国家查询(EJF,平台接单)

正式环境
https://occ.yanwentech.com
正式环境
https://occ.yanwentech.com
POST
/gateway/router
产品通达国家查询
使用系统:1)EJF,2)平台接单使用;3)portal+CRM+PP(是客户轨迹定制业务,客户按产品国家维度定制轨迹,需要用到这个配置)
请求参数:产品编号(必填)
返回值:国家编号,国家二字码,国家名称,是否允许下单,仓内是否允许录入,是否为推荐产品,是否进行订单预处理,是否进行校验验证,是否支持重派,是否计税费

请求参数

Header 参数
appKey
string 
系统名称
必需
requestId
string 
必需
请求ID,尽量唯一,日志查询使用
method
string 
请求方法
必需
示例值:
product.country.querylist
Body 参数application/json
productNumber
string 
产品编号
必需
示例
{
    "productNumber":"1148"
}

示例代码

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: product.country.querylist' \
--header 'Content-Type: application/json' \
--data-raw '{
    "productNumber":"1148"
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
请求是否成功
必需
true:请求成功; false:请求异常或数据无效或验证报错
code
integer 
请求状态码
必需
200成功;500失败;0无相关配置
message
string 
提示信息
必需
data
array [object {10}] 
产品国家信息
可选
countryId
string 
国家Id
必需
countryCode
string  | null 
国家二字码
可选
countryName
string  | null 
国家名称
可选
allowOrder
boolean 
是否允许下单
必需
true:是 false:否
allowEnter
boolean 
仓内是否允许录入
必需
true:是 false:否
hasRecommend
boolean 
是否为推荐产品
必需
true:是 false:否
orderPretreatment
boolean 
是否进行订单预处理
必需
true:是 false:否
addressVerification
boolean 
是否进行校验验证
必需
true:是 false:否
supportReassignment
boolean 
是否支持重派
必需
true:是 false:否
recordTax
boolean 
是否计税费
必需
true:是 false:否
示例
{
    "success": true,
    "code": 200,
    "message": "操作成功",
    "data": [
        {
            "countryId": "1",
            "countryCode": "AW",
            "countryName": "阿鲁巴",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "2",
            "countryCode": "GL",
            "countryName": "格陵兰岛",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "3",
            "countryCode": "GE",
            "countryName": "格鲁吉亚",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "4",
            "countryCode": "CO",
            "countryName": "哥伦比亚",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "5",
            "countryCode": "GP",
            "countryName": "瓜德罗普",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "6",
            "countryCode": "GU",
            "countryName": "关岛",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "10",
            "countryCode": "CU",
            "countryName": "古巴",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "11",
            "countryCode": "OM",
            "countryName": "阿曼",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "13",
            "countryCode": "GY",
            "countryName": "圭亚那",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "18",
            "countryCode": "HT",
            "countryName": "海地",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "22",
            "countryCode": "AD",
            "countryName": "安道尔",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "24",
            "countryCode": "KR",
            "countryName": "韩国",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "30",
            "countryCode": "NL",
            "countryName": "荷兰",
            "allowOrder": true,
            "allowEnter": false,
            "hasRecommend": false,
            "orderPretreatment": false,
            "addressVerification": false,
            "supportReassignment": false,
            "recordTax": false
        },
        {
            "countryId": "35",
            "countryCode": "
修改于 2024-12-18 03:24:03
上一页
产品信息查询(Portal)
下一页
产品揽收仓查询(EJF,平台接单)
Built with