SOAP/WSDL示例
开发中
云端 Mock
云端 Mock
POST
https://api.sandbox.ebay.com/wsapi
1.
2.1.31
及以上版本2.
Content-Type
的值为application/soap+xml
或 text/xml; charset=utf-8
(根据实际情况来)3.
xml
4.
XML
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sandbox.ebay.com/wsapi?siteid=0&routing=beta &callname=GeteBayOfficialTime&client=java&version=423&appid=INDEPENDENV14L9185124FNLW855JL' \
--header 'Content-Type: application/soap+xml' \
--data-raw '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ebl:RequesterCredentials soapenv:mustUnderstand="0" xmlns:ebl="urn:ebay:apis:eBLBaseComponents">
<ebl:eBayAuthToken xmlns:ebl="urn:ebay:apis:eBLBaseComponents">token</ebl:eBayAuthToken>
</ebl:RequesterCredentials>
</soapenv:Header>
<soapenv:Body>
<GeteBayOfficialTimeRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<DetailLevel>ReturnAll</DetailLevel>
<Version>423</Version>
</GeteBayOfficialTimeRequest>
</soapenv:Body>
</soapenv:Envelope>'
响应示例响应示例
<?xml version="1.0" encoding="UTF-8"?>
<root/>
请求参数
Query 参数
siteid
string
必需
示例值:
0
routing
string
必需
示例值:
beta
callname
string
必需
示例值:
GeteBayOfficialTime
client
string
必需
示例值:
java
version
string
必需
示例值:
423
appid
string
必需
示例值:
INDEPENDENV14L9185124FNLW855JL
Header 参数
Content-Type
string
必需
示例值:
application/soap+xml
Body 参数application/xml
返回响应
修改于 2022-08-25 08:54:30