久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

有大佬知道這種接口文件怎么使用嗎?

瀏覽:129日期:2022-06-05 09:32:00

問題描述

1.接口說明

授權 ID 與授權賬號聯系寶通達業務獲取

請求地址:http://open.btdair.com:8099/LogisticsService.svc?

wsdl 請求方式:POST

Header 中包含:

Content-Type: text/xml; charset=utf-8

SOAPAction: "http://tempuri.org/ILogisticsService/方法名"

錯誤示例:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body> <s:Fault> <faultcode>s:Client</faultcode> <faultstring xml:lang="zh-CN">錯誤消息</faultstring> <detail>

<FaultMessage xmlns="http://schemas.datacontract.org/2004/07/JSON.Logistics.Emmis.Entity"

xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Message>錯誤消息</Message> <Type>消息格式(Normal:普通;Unlicensed:無效授權)</Type>

</FaultMessage>

</detail>

</s:Fault>

</s:Body>

</s:Envelope> 2.驗證用戶是否有效

方法名:Verify

提交數據: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body> <Verify xmlns="http://tempuri.org/"> <clientId>授權ID</clientId> <clientAccount>授權名稱</clientAccount>

</Verify>

</s:Body>

</s:Envelope>

返回數據(錯誤請參考最上方錯誤示例): <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body> <VerifyResponse xmlns="http://tempuri.org/"> <VerifyResult>true|false</VerifyResult>

</VerifyResponse>

</s:Body>

</s:Envelope>

3.獲取物流方式

方法名:GetLogisticsWay

提交數據: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetLogisticsWay xmlns="http://tempuri.org/"/>

</s:Body>

</s:Envelope>

返回數據(錯誤請參考最上方錯誤示例): <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body> <GetLogisticsWayResponse xmlns="http://tempuri.org/">

<GetLogisticsWayResult xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"

xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <a:string>渠道,例:xianggangDHL普貨</a:string> <a:string>FedEx</a:string> <a:string>瑞典掛號</a:string> <a:string>新加坡平郵</a:string>

</GetLogisticsWayResult>

</GetLogisticsWayResponse>

</s:Body>

</s:Envelope>

問題解答

回答1:

這個API接口應該很好搞 可以***Q 895163012幫你解決

相關文章:
主站蜘蛛池模板: 佛学| 孙吴县| 舟山市| 泽普县| 礼泉县| 桦川县| 丹凤县| 郁南县| 桑植县| 吴堡县| 潜江市| 深州市| 张家口市| 佛山市| 昔阳县| 四会市| 河北省| 嘉定区| 康乐县| 许昌市| 化德县| 南江县| 平利县| 论坛| 朝阳市| 东源县| 乐山市| 沙田区| 清水河县| 阿勒泰市| 土默特右旗| 镇安县| 眉山市| 永定县| 固镇县| 大丰市| 邯郸市| 循化| 旺苍县| 吴江市| 万荣县|