POST AdvCampaign/LogisticsInfo
返回物流信息
Request Information
URI Parameters
None.
Body Parameters
物流参数
LogisticsInfoPars| Name | Description | Type | Additional information |
|---|---|---|---|
| logisticsNum |
物流订单号 |
string |
None. |
| logisticsType |
物流类型 shentong = 0,zhongtong = 1,yuantong = 2,zhaijisong = 3,ems = 4, shunfeng = 5,tiantian = 6,yunda = 7,quanfengkuaidi = 8, youshuwuliu = 9,rufengda = 10,youzhengguonei = 11,Other = 12 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"logisticsNum": "sample string 1",
"logisticsType": 2
},
"msg": null
}
application/xml, text/xml
Sample:
<LogisticsInfoPars xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter"> <logisticsNum>sample string 1</logisticsNum> <logisticsType>2</logisticsType> </LogisticsInfoPars>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
返回物流信息
LogisticsResult| Name | Description | Type | Additional information |
|---|---|---|---|
| message |
无意义,请忽略 |
string |
None. |
| nu |
物流单号 |
string |
None. |
| ischeck |
无意义,请忽略 |
string |
None. |
| condition |
无意义,请忽略 |
string |
None. |
| com |
物流公司编号 |
string |
None. |
| status |
查询结果状态(0无结果,1查询成功,2接口异常) |
string |
None. |
| state |
快递当前状态(0在途,1揽件,2疑难,3签收,4退签,5派件,6退回) |
string |
None. |
| data |
明细数据 |
Collection of LogisticsQueryDetail |
None. |
| logistics_name |
其他名称 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"message": "sample string 1",
"nu": "sample string 2",
"ischeck": "sample string 3",
"condition": "sample string 4",
"com": "sample string 5",
"status": "sample string 6",
"state": "sample string 7",
"data": [
{
"time": "sample string 1",
"ftime": "sample string 2",
"context": "sample string 3"
},
{
"time": "sample string 1",
"ftime": "sample string 2",
"context": "sample string 3"
}
],
"logistics_name": "sample string 8"
},
"msg": null
}
application/xml, text/xml
Sample:
<LogisticsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Result">
<com>sample string 5</com>
<condition>sample string 4</condition>
<data>
<LogisticsQueryDetail>
<context>sample string 3</context>
<ftime>sample string 2</ftime>
<time>sample string 1</time>
</LogisticsQueryDetail>
<LogisticsQueryDetail>
<context>sample string 3</context>
<ftime>sample string 2</ftime>
<time>sample string 1</time>
</LogisticsQueryDetail>
</data>
<ischeck>sample string 3</ischeck>
<logistics_name>sample string 8</logistics_name>
<message>sample string 1</message>
<nu>sample string 2</nu>
<state>sample string 7</state>
<status>sample string 6</status>
</LogisticsResult>