GET api/v1/Order/GetLogisticInfo?orderId={orderId}
请求信息(Request)
URI 参数
名称 | 描述 | 类型 | 备注 |
---|---|---|---|
orderId |
订单id |
integer |
Required |
Body 参数
None.
响应信息(Response)
资源描述
RequestResultOfLogisticInfo名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | LogisticInfo |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Data": { "Success": true, "Message": "sample string 2", "Status": 0, "StatusText": "未知", "ShipperCode": "sample string 3", "LogisticCode": "sample string 4", "Traces": [ { "AcceptTime": "2025-05-04T17:35:02.5276557+08:00", "AcceptStation": "sample string 2", "Remark": "sample string 3" }, { "AcceptTime": "2025-05-04T17:35:02.5276557+08:00", "AcceptStation": "sample string 2", "Remark": "sample string 3" } ], "OrderInfo": { "ID": 1, "Title": "sample string 2", "FirstImage": "sample string 3", "GoodsCount": 4, "ShipmentType": 0, "ShipmentDate": "2025-05-04T17:35:02.5276557+08:00", "ShipmentDsc": "sample string 5", "ExpressCompany": "sample string 6", "ExpressCompanyCode": "sample string 7", "LogisticsNumber": "sample string 8" } }, "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResultOfLogisticInfo6NgmDdgv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 2</Message> <Status>1</Status> <Total>3</Total> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <d2p1:LogisticCode>sample string 4</d2p1:LogisticCode> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:OrderInfo> <d2p1:ExpressCompany>sample string 6</d2p1:ExpressCompany> <d2p1:ExpressCompanyCode>sample string 7</d2p1:ExpressCompanyCode> <d2p1:FirstImage>sample string 3</d2p1:FirstImage> <d2p1:GoodsCount>4</d2p1:GoodsCount> <d2p1:ID>1</d2p1:ID> <d2p1:LogisticsNumber>sample string 8</d2p1:LogisticsNumber> <d2p1:ShipmentDate>2025-05-04T17:35:02.5276557+08:00</d2p1:ShipmentDate> <d2p1:ShipmentDsc>sample string 5</d2p1:ShipmentDsc> <d2p1:ShipmentType>None</d2p1:ShipmentType> <d2p1:Title>sample string 2</d2p1:Title> </d2p1:OrderInfo> <d2p1:ShipperCode>sample string 3</d2p1:ShipperCode> <d2p1:Status>Unknown</d2p1:Status> <d2p1:Success>true</d2p1:Success> <d2p1:Traces> <d2p1:LogisticTrace> <d2p1:AcceptStation>sample string 2</d2p1:AcceptStation> <d2p1:AcceptTime>2025-05-04T17:35:02.5276557+08:00</d2p1:AcceptTime> <d2p1:Remark>sample string 3</d2p1:Remark> </d2p1:LogisticTrace> <d2p1:LogisticTrace> <d2p1:AcceptStation>sample string 2</d2p1:AcceptStation> <d2p1:AcceptTime>2025-05-04T17:35:02.5276557+08:00</d2p1:AcceptTime> <d2p1:Remark>sample string 3</d2p1:Remark> </d2p1:LogisticTrace> </d2p1:Traces> </Data> </RequestResultOfLogisticInfo6NgmDdgv>