1、新增电子面单接口

输入参数

字段 类型 长度 是否必填 参数说明 备注
companyId String 12 公司ID 即为华宇分配给贵公司的company_id
contractNo String 30 客户订单号 即为贵公司内部订单号
departureCode String 4 华宇公司编号 联系发货地公司,即可得到该编号
sendCustomerNo String 20 客户编号 华宇分配给贵公司的客户编号
transportType String 20 运输类型 10000000000000000001 定日达 30000000000000000001 经济快运
departure String 10 出发部门 联系发货地公司,即可得到该数据。 例如:N上海P0
sendCompany String 50 发货人单位名称
sendContacts String 10 发货人联系人
sendProvinceName String 10 发货人省
sendCityName String 20 发货人市
sendCountyName String 20 发货人区县
sendAddress String 200 发货人地址
sendAreaCode String 12 发货人联系电话区号
sendTelephone String 12 发货人联系电话
sendMobilePhone String 11 发货人手机号
receiveCompany String 20 收货人单位名称
receiveContacts String 50 收货人联系人
receiveProvinceName String 10 收货人省
receiveCityName String 20 收货人市
receiveCountyName String 20 收货人区县
receiveAddress String 200 收货人地址
receiveAreaCode String 12 收货人联系电话区号
receiveTelephone String 12 收货人联系电话
receiveMobilePhone String 11 收货人手机号
goodsName String 20 货物名称
packingGoods String 50 货物包装
piece Integer 3 件数
volume BigDecimal 3 体积
weight BigDecimal 3 重量
insuredValue BigDecimal 5 保价金额
deliveryMethod String 8 到货服务方式 枚举值(DELIVERY:送货上门;PICKUPSELF:客户自提)
pickUpService boolean 1 是否上门提货
remarks String 50 其他约定

输出参数(ElectronicWaybillVO实体)

字段 类型 长度 是否必填 参数说明 备注
barcode Double 条码编号
contractNo Double 客户物流订单号(物流编号)
deliveryMethod String 200 到货服务方式
departure String 200 出发部门
destination String 200 到达部门
goodsName String 200 货物名称
insuredValue String 200 保价金额
packingGoods String 200 包装方式
partNumber String 200 件号 即为在每一票运单上对应的一件产品的唯一标示
pickUpService String 200 是否上门提货
piece String 200 件数
receiveAddress String 200 收货人地址
receiveCityName String 200 收货人市
receiveCompany String 200 收货人单位名称
receiveContacts String 200 收货人联系人
receiveCountyName String 200 收货人区县
receiveProvinceName String 200 收货人省
receiveTelephone String 200 收货人联系电话
remarks String 200 其他约定
sendAddress String 200 发货人地址
sendAreaCode String 200 发货人联系电话区号
sendCityName String 200 发货人市
sendCompany String 200 发货人单位名称
sendContacts String 200 发货人联系人
sendCountyName String 200 发货人区县
sendCustomerNo String 200 客户编号
sendProvinceName String 200 发货人省
sendTelephone String 200 发货人联系电话
transportType String 200 运输类型
volume BigDecimal 200 体积
weight BigDecimal 200 重量
waybillNo String 200 运单编号

输入参数示例(ElectronicWaybillModel实体)

{

"companyId": "KHID",

"contractNo": "N123456789",

"departureCode": "9486",

"sendCustomerNo": "000000",

"transportType": "30000000000000000001",

"departure": "N济南8",

"sendCompany": "天地华宇物流有限公司",

"sendContacts": "华宇",

"sendProvinceName": "上海",

"sendCityName":"上海",

"sendCountyName": "闵行区",

"sendAddress": "华漕镇华翔路2239号",

"sendAreaCode": "0200",

"sendTelephone": "",

"sendMobilePhone": "13700000000",

"receiveCompany": "天地华宇物流有限公司",

"receiveContacts": "华宇",

"receiveProvinceName": "北京",

"receiveCityName": "北京",

"receiveCountyName": "海淀区",

"receiveAddress": "宝盛北里",

"receiveTelephone": "",

"receiveMobilePhone": "13700000000",

"goodsName": "货物",

"packingGoods": "",

"piece": 2,

"volume": "0.8",

"weight": "280",

"insuredValue":"10000",

"deliveryMethod": "DELIVERY",

"pickUpService": true,

"remarks": "客户公司的测试数据"

}

输出参数示例(ElectronicWaybillVO实体)

{
"result": [
{

"barcode": "101H025015600017",

"waybillNo": "H0250156",

"partNumber": "01H02501560001",

"contractNo": "N123456789",

"departureCode": "9486",

"sendCustomerNo": "000000",

"transportType": "30000000000000000001",

"departure": "N济南8",

"sendCompany": "天地华宇物流有限公司",

"sendContacts": "华宇",

"sendProvinceName": "上海",

"sendCityName":"上海",

"sendCountyName": "闵行区",

"sendAddress": "华漕镇华翔路2239号",

"sendAreaCode": "0200",

"sendTelephone": "",

"sendMobilePhone": "13700000000",

"receiveCompany": "天地华宇物流有限公司",

"receiveContacts": "华宇",

"receiveProvinceName": "北京",

"receiveCityName": "北京",

"receiveCountyName": "海淀区",

"receiveAddress": "宝盛北里",

"receiveTelephone": "",

"receiveMobilePhone": "13700000000",

"goodsName": "货物",

"packingGoods": "",

"piece": 2,

"volume": "0.8",

"weight": "280",

"insuredValue":"10000",

"deliveryMethod": "DELIVERY",

"pickUpService": true,

"remarks": "客户公司的测试数据"

},
{

"barcode": "101H025015600017",

"waybillNo": "H0250156",

"partNumber": "01H02501560001",

"contractNo": "N123456789",

"departureCode": "9486",

"sendCustomerNo": "000000",

"transportType": "30000000000000000001",

"departure": "N济南8",

"sendCompany": "天地华宇物流有限公司",

"sendContacts": "华宇",

"sendProvinceName": "上海",

"sendCityName":"上海",

"sendCountyName": "闵行区",

"sendAddress": "华漕镇华翔路2239号",

"sendAreaCode": "0200",

"sendTelephone": "",

"sendMobilePhone": "13700000000",

"receiveCompany": "天地华宇物流有限公司",

"receiveContacts": "华宇",

"receiveProvinceName": "北京",

"receiveCityName": "北京",

"receiveCountyName": "海淀区",

"receiveAddress": "宝盛北里",

"receiveTelephone": "",

"receiveMobilePhone": "13700000000",

"goodsName": "货物",

"packingGoods": "",

"piece": 2,

"volume": "0.8",

"weight": "280",

"insuredValue":"10000",

"deliveryMethod": "DELIVERY",

"pickUpService": true,

"remarks": "客户公司的测试数据"

},

],

"errcode": "1000",

"errmsg": "成功"

}

2、撤销电子面单接口

输入参数

字段 类型 长度 是否必填 参数说明 备注
companyId String 200 公司ID 即为华宇分配给贵公司的company_id
contractNo String 20 客户订单号 即为贵公司内部订单号

输出参数(ResBaseVo实体)

字段 类型 长度 是否必填 参数说明 备注
errcode String 20 错误编码
errmsg String 200 错误消息
result T 请求结果 泛型
输入参数示例:
{

"companyId": "KHBH",

"contractNo": "N123456789"

}
输出参数示例:
{

"errcode": "1000",

"errmsg": "成功"

"result": "删除成功"

}