文档中心 > API类目 > 新零售供应链API

qimen.alibaba.ascp.dchain.industry.waybill.create (三方快运服务商开单)

三方快运服务商开单

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request Request 必须 请求体
  • └ requestTime
  • String
  • 必须
  • 1659080423659
  • 时间戳
  • receiver
  • ContactStandardDTO
  • 必须
  • 1
  • 收货分拨信息
  • └ address
  • String
  • 必须
  • 广东省深圳市福田区新洲十一街万基商务大厦10楼
  • 详细地址,若有四级行政区划,如镇/街道等信息可拼接至此字段
  • └ county
  • String
  • 可选
  • 福田区
  • └ city
  • String
  • 可选
  • 深圳市
  • └ province
  • String
  • 必须
  • 广东省
  • └ tel
  • String
  • 必须
  • 15088888888
  • 联系电话
  • └ contact
  • String
  • 必须
  • 15088888888
  • 联系人
  • sender
  • ContactStandardDTO
  • 必须
  • 1
  • 发货分拨信息
  • └ address
  • String
  • 必须
  • 广东省深圳市福田区新洲十一街万基商务大厦10楼
  • 详细地址,若有四级行政区划,如镇/街道等信息可拼接至此字段
  • └ county
  • String
  • 可选
  • 福田区
  • └ city
  • String
  • 可选
  • 深圳市
  • └ province
  • String
  • 必须
  • 广东省
  • └ tel
  • String
  • 必须
  • 15088888888
  • 联系电话
  • └ contact
  • String
  • 必须
  • 某某
  • 联系人
  • createBaseInfoStandardDTO
  • CreateBaseInfoStandardDTO
  • 必须
  • 基本信息
  • └ feature
  • String
  • 可选
  • {}
  • 扩展信息
  • └ remark
  • String
  • 可选
  • 备注
  • 备注
  • └ totalVolume
  • String
  • 必须
  • 1
  • 总体积(单位为cm3)
  • └ totalWeight
  • String
  • 必须
  • 1
  • 总重量(单位为kg)
  • └ expressType
  • String
  • 必须
  • 1
  • 物流产品
  • └ orderChannel
  • String
  • 必须
  • 1
  • 渠道
  • └ tradeId
  • String
  • 可选
  • 1
  • 交易单号
  • └ orderId
  • String
  • 必须
  • 1
  • 客户订单号
  • └ routeKey
  • String
  • 必须
  • RAzN8HWJwYcq44AVBh4yf5jr8dASjfigjc1ekic8GxE9VywssZC
  • 路由键
  • └ ownerName
  • String
  • 可选
  • 货主
  • 货主名称
  • └ idempotentKey
  • String
  • 必须
  • 111
  • 幂等键(若幂等键相同,不报错,返回下单相同响应报文)
  • parcelInfoDTOList
  • ParcelInfoStandardDTO []
  • 必须
  • 包裹信息
  • └ waybillType
  • Number
  • 可选
  • 1
  • 包裹类型1:母单 2 :子单
  • └ height
  • String
  • 可选
  • 1
  • 高(cm)
  • └ width
  • String
  • 可选
  • 1
  • 宽(cm)
  • └ length
  • String
  • 可选
  • 1
  • 长(cm)
  • └ name
  • String
  • 必须
  • 货品A
  • 名称
  • └ feature
  • String
  • 可选
  • {}
  • 扩展字段
  • └ volume
  • String
  • 必须
  • 1
  • 包裹体积(cm3)
  • └ weight
  • String
  • 必须
  • 1
  • 包裹重量(kg)
  • └ boxCode
  • String
  • 可选
  • 11
  • 箱号
  • serviceStandardDTO
  • ServiceStandardDTO
  • 可选
  • 服务信息
  • └ feature
  • String
  • 可选
  • {}
  • 扩展信息
  • └ realQuantity
  • Number
  • 可选
  • 1
  • 服务数量
  • └ serviceName
  • String
  • 可选
  • 服务
  • 服务名称
  • └ serviceType
  • String
  • 可选
  • 送装一体
  • 服务类型

响应参数

名称 类型 示例值 描述
response Response 响应
  • data
  • Data
  • 响应内容
  • waybillStandardInfoDTOS
  • WaybillStandardInfoDTO []
  • 运单信息集合
  • └ deliveryService
  • String
  • 派送方式/服务方式
  • 派送方式/服务方式
  • └ fullSectionCode
  • String
  • 全段码三段码
  • 全段码三段码
  • └ routingInfo
  • String
  • 路由信息
  • 路由信息
  • └ transportationMode
  • String
  • 运输方式
  • 运输方式
  • └ destinationPrimaryNode
  • String
  • 目的一级网点
  • 目的一级网点
  • └ destinationDistribution
  • String
  • 目的分拨
  • 目的分拨
  • └ destinationSecondaryNode
  • String
  • 目的二级网点
  • 目的二级网点
  • └ packageType
  • String
  • 包装
  • 包装
  • └ warehouseArea
  • String
  • 库区
  • 库区
  • └ printTime
  • String
  • 1659080423659
  • 1659080423659
  • └ productType
  • String
  • MINI小包
  • 物流产品
  • └ feature
  • String
  • {}
  • 扩展字段
  • └ sendOutlets
  • String
  • 寄件网点
  • 寄件网点
  • └ waybillType
  • Number
  • 1
  • 运单类型1:母单 2 :子单 (母单不为包裹,有多少包裹就需要回传多少子单,若无母单,则随机子单为母单)
  • └ waybillNo
  • String
  • MSF
  • 运单号
  • └ feature
  • String
  • {}
  • 扩展信息
  • └ orderId
  • String
  • 123456
  • 客户订单号
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ responseMsg
  • String
  • 异常
  • 错误信息
  • └ responseCode
  • String
  • 1001
  • 错误码

请求示例

{"request":{"requestTime":"1659080423659","createBaseInfoStandardDTO":{"totalVolume":"1","idempotentKey":"111","feature":"{}","routeKey":"RAzN8HWJwYcq44AVBh4yf5jr8dASjfigjc1ekic8GxE9VywssZC","ownerName":"货主","orderId":"1","expressType":"1","totalWeight":"1","remark":"备注","orderChannel":"1","tradeId":"1"},"receiver":{"address":"广东省深圳市福田区新洲十一街万基商务大厦10楼","province":"广东省","city":"深圳市","contact":"15088888888","county":"福田区","tel":"15088888888"},"sender":{"address":"广东省深圳市福田区新洲十一街万基商务大厦10楼","province":"广东省","city":"深圳市","contact":"某某","county":"福田区","tel":"15088888888"},"serviceStandardDTO":{"serviceType":"送装一体","realQuantity":1,"feature":"{}","serviceName":"服务"},"parcelInfoDTOList":[{"volume":"1","waybillType":1,"feature":"{}","width":"1","length":"1","name":"货品A","weight":"1","height":"1","boxCode":"11"}]}}

响应示例

{
    "response":{
        "data":{
            "waybillStandardInfoDTOS":[
                {
                        "deliveryService":"派送方式\/服务方式",
                        "fullSectionCode":"全段码三段码",
                        "routingInfo":"路由信息",
                        "transportationMode":"运输方式",
                        "destinationPrimaryNode":"目的一级网点",
                        "destinationDistribution":"目的分拨",
                        "destinationSecondaryNode":"目的二级网点",
                        "packageType":"包装",
                        "warehouseArea":"库区",
                        "printTime":"1659080423659",
                        "productType":"MINI小包",
                        "feature":"{}",
                        "sendOutlets":"寄件网点",
                        "waybillType":1,
                        "waybillNo":"MSF"
                }
            ],
            "feature":"{}",
            "orderId":"123456"
        },
        "success":false,
        "responseMsg":"异常",
        "responseCode":"1001"
    }
}

验签示例

{"success":"false","responseCode":"sign-check-failure","responseMsg":"Illegal request"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部