API接口目录
suning.logistics.taskstatusfeedback.add 接收第三方物流状态
¥免费

接收第三方物流状态

公共参数
请求参数
名称 类型 是否必须 示例值 描述
airwayBillNoStringNtest航空主单号
consigneeStringN测试签收人
finishedDateStringN2014-07-10完成日期,格式:yyyy-MM-dd
finishedTimeStringN16:00:00完成时间,格式:HH:mm:ss
flightDateStringN2014-07-10 16:00:00航期,格式:yyyy-MM-dd HH:mm:ss
flightNoStringNtest航班号
logisticExpressIdStringN62000000000000000001苏宁运单号(物流运单号与物流订单号必输其一)
logisticOrderIdStringYSNCH0100000074792苏宁物流订单号(物流运单号与物流订单号必输其一)
logisticStationStringN南京配送中心物流站点
noteStringN备注备注信息
operatorStringN测试作业人员
shipmentCodeStringN18652546354运输包装号
stateStringN1020状态编码
telNumberStringN18652546354联系方式
weightStringN21.01运输包装重量
weightUnitStringNkg重量单位
响应参数
名称 类型 示例值 描述
logisticExpressIdString62000000000000000001苏宁物流运单号
logisticOrderIdStringSNCY0200000008999苏宁物流订单号
msgTextString接收SOP第三方物流信息成功返回文本
msgTypeStringY接收成功标识(若记录成功,则返回S)
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <addLogisticsTaskStatus>
      <logisticStation>南京配送中心</logisticStation>
      <weight>21.01</weight>
      <logisticExpressId>62000000000000000001</logisticExpressId>
      <weightUnit>kg</weightUnit>
      <consignee>测试</consignee>
      <state>1020</state>
      <shipmentCode>18652546354</shipmentCode>
      <operator>测试</operator>
      <logisticOrderId>SNCH0100000074792</logisticOrderId>
      <flightNo>test</flightNo>
      <finishedTime>16:00:00</finishedTime>
      <airwayBillNo>test</airwayBillNo>
      <flightDate>2014-07-10 16:00:00</flightDate>
      <finishedDate>2014-07-10</finishedDate>
      <note>备注</note>
      <telNumber>18652546354</telNumber>
    </addLogisticsTaskStatus>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "addLogisticsTaskStatus": {
        "logisticStation": "南京配送中心",
        "weight": "21.01",
        "logisticExpressId": "62000000000000000001",
        "weightUnit": "kg",
        "consignee": "测试",
        "state": "1020",
        "shipmentCode": "18652546354",
        "operator": "测试",
        "logisticOrderId": "SNCH0100000074792",
        "flightNo": "test",
        "finishedTime": "16:00:00",
        "flightDate": "2014-07-10 16:00:00",
        "airwayBillNo": "test",
        "finishedDate": "2014-07-10",
        "note": "备注",
        "telNumber": "18652546354"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <addLogisticsTaskStatus>
      <logisticOrderId>SNCY0200000008999</logisticOrderId>
      <logisticExpressId>62000000000000000001</logisticExpressId>
      <msgType>Y</msgType>
      <msgText>接收SOP第三方物流信息成功</msgText>
    </addLogisticsTaskStatus>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "addLogisticsTaskStatus": {
        "logisticOrderId": "SNCY0200000008999",
        "logisticExpressId": "62000000000000000001",
        "msgType": "Y",
        "msgText": "接收SOP第三方物流信息成功"
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.logistics.addtaskstatusfeedback.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.lsp 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ

Q:苏宁物流任务作业状态反馈如何使用?

A:通过此接口新增苏宁物流任务作业状态

Q:苏宁物流任务作业状态反馈接口如何使用?

A:通过此接口可向苏宁传输物流任务作业的状态