电子面单使用云签增值服务时,传参需增加以下参数:
1、在下单时,param层级下多加一个参数 "fileUrl",对应的值为云签文件上传接口返回的fileId
2、德邦还需要设置needBack=1,param层增加addService参数, "addService":"{\"backnum\":{\"value\":\"电子云签\"}}",backnum表示回单服务,value表示具体的回单形式。另外需要在orderId传入上传文件成功响应的orderId字段
请求参数示例:
{
"type": "",
"partnerId": "*****",
"partnerKey": "",
"code": "",
"kuaidicom": "debangkuaidi",
"recMan": {
"name": "张三",
"mobile": "159****912",
"printAddr": "深圳南山区金蝶软件园b栋",
"company": ""
},
"sendMan": {
"name": "李四",
"mobile": "159*****912",
"printAddr": "深圳南山区金蝶软件园b栋"
},
"cargo": "test",
"weight": "",
"payType": "CONSIGNEE",
"expType": "标准快递",
"remark": "测试下单,请勿发货",
"needBack":"1",
"addService":"{\"backnum\":{\"value\":\"电子云签\"}}",
"orderId": "01732870368200FDzAJD",
"fileUrl": "3725563646228405255"
}