Operation Config Center
  1. 接口配置化
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. 接口配置化

产品服务交货信息组关联配置

正式环境
https://occ.yanwentech.com
正式环境
https://occ.yanwentech.com
POST
/gateway/router
查询产品服务交货信息组关联配置信息,计划给对外接口使用
缓存2分钟

请求参数

Header 参数
appKey
string 
系统名称
必需
requestId
string 
必需
请求ID,尽量唯一,日志查询使用
method
string 
必需
示例值:
supplier.interface_delivery.get
Body 参数application/json
productCode
string 
产品编号
必需
serviceCode
string 
服务编号
必需
epHandoverPlace
string 
EP交接地(地点编号)
必需
orderData
object 
订单结构
必需
示例
{
	"productCode": "158",
	"serviceCode": "8908316",
	"epHandoverPlace": "201116",
	"orderData": {
		"OrderNo": "testuspbz202404230002",
		"CustomerOrderNo": "testuspbz202404230002",
		"CustomerCode": "100000",
		"RoutingCode": "",
		"Express": {
			"TotalWeight": 2030,
			"SupplierWeight": 2040,
			"WeightUnit": "g",
			"TotalValue": 29.2,
			"TotalPiece": 1,
			"ExpressLength": 0,
			"ExpressWidth": 0,
			"ExpressHigh": 0,
			"CurrencyCode": "USD",
			"CurrencyId": 1,
			"ReceiveDate": "2024-04-23",
			"OutWarehouse": "03",
			"PickupWarehouse": "03",
			"SortCode": "",
			"WrapType": 0,
			"IsReassignment": 0,
			"RouteLevelProperty": "P10"
		},
		"Receiver": {
			"ReceiverName": "LEFEVRE sebastien",
			"ReceiverCompany": "",
			"ReceiverPhone": "0685716183",
			"ReceiverMobile": "0685716183",
			"ReceiverEmail": "",
			"ReceiverAddress1": "28 OCCIDENTAL CT",
			"ReceiverAddress2": "",
			"ReceiverZipCode": "27520-5426",
			"ReceiverCity": "CLAYTON",
			"ReceiverState": "NC",
			"ReceiverTaxId": "",
			"ReceiverCountryCode": "US",
			"ReceiverCountryEn": "America"
		},
		"Goods": [
			{
				"ChineseName": "喷粉器",
				"EnglishName": "duster",
				"HSCode": "630710",
				"DeclaredValue": 29.2,
				"DeclaredWeight": 501,
				"DeclaredItemCount": 1,
				"MoreGoodsName": ""
			}
		],
		"Shipper": {
			"ShipperTaxId": ""
		}
	}
}

示例代码

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: supplier.interface_delivery.get' \
--header 'Content-Type: application/json' \
--data-raw '{
	"productCode": "158",
	"serviceCode": "8908316",
	"epHandoverPlace": "201116",
	"orderData": {
		"OrderNo": "testuspbz202404230002",
		"CustomerOrderNo": "testuspbz202404230002",
		"CustomerCode": "100000",
		"RoutingCode": "",
		"Express": {
			"TotalWeight": 2030,
			"SupplierWeight": 2040,
			"WeightUnit": "g",
			"TotalValue": 29.2,
			"TotalPiece": 1,
			"ExpressLength": 0,
			"ExpressWidth": 0,
			"ExpressHigh": 0,
			"CurrencyCode": "USD",
			"CurrencyId": 1,
			"ReceiveDate": "2024-04-23",
			"OutWarehouse": "03",
			"PickupWarehouse": "03",
			"SortCode": "",
			"WrapType": 0,
			"IsReassignment": 0,
			"RouteLevelProperty": "P10"
		},
		"Receiver": {
			"ReceiverName": "LEFEVRE sebastien",
			"ReceiverCompany": "",
			"ReceiverPhone": "0685716183",
			"ReceiverMobile": "0685716183",
			"ReceiverEmail": "",
			"ReceiverAddress1": "28 OCCIDENTAL CT",
			"ReceiverAddress2": "",
			"ReceiverZipCode": "27520-5426",
			"ReceiverCity": "CLAYTON",
			"ReceiverState": "NC",
			"ReceiverTaxId": "",
			"ReceiverCountryCode": "US",
			"ReceiverCountryEn": "America"
		},
		"Goods": [
			{
				"ChineseName": "喷粉器",
				"EnglishName": "duster",
				"HSCode": "630710",
				"DeclaredValue": 29.2,
				"DeclaredWeight": 501,
				"DeclaredItemCount": 1,
				"MoreGoodsName": ""
			}
		],
		"Shipper": {
			"ShipperTaxId": ""
		}
	}
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
请求是否成功
必需
true:请求成功; false:请求异常或数据无效或验证报错
code
integer 
必需
200成功;500失败;0无相关配置
message
string 
错误提示
必需
data
object 
必需
productCode
string 
产品编号
必需
serviceCode
string 
服务编号
必需
epHandoverPlace
string 
EP交接地(地点编号)
必需
specialRule
string  | null 
特殊规则
可选
暂不使用
deliveryCode
string 
交货信息编号
可选
apiAccountCode
string 
接口账号编号
可选
apiConfigGroup
array [object {2}] 
接口配置组
可选
示例
{
    "success": true,
    "code": 200,
    "message": "操作成功",
    "data": {
        "productCode": "202204180009996",
        "serviceCode": "5168308",
        "epHandoverPlace": "200844",
        "specialRule": "",
        "deliveryCode": "AD16904291757430056",
        "apiAccountCode": "AC0001",
        "apiConfigGroup": [
            {
                "code": "I0001",
                "type": "lm.order.create"
            },
            {
                "code": "I0002",
                "type": "lm.order.create"
            },
            {
                "code": "I0003",
                "type": "lm.order.query"
            }
        ]
    }
}
修改于 2024-05-29 09:00:33
下一页
服务交货信息详情
Built with