WebService
  1. WebService API
WebService
  • WebService API
    • WebService Example
      POST
    • SOAP Example
      POST
    • SOAP/WSDL Example
      POST
  1. WebService API

SOAP/WSDL Example

Developing
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
https://api.sandbox.ebay.com/wsapi
WebService Usage Tips
INFO
Apidog needs to be upgraded to version 2.1.31 or higher.
1.
Manually set the Header Content-Type value to text/xml; charset=utf-8 or application/soap+xml (depending on the actual situation).
2.
Set the Body format to xml.
3.
The format of the returned response content is XML.

Request

Query Params

Header Params

Body Params application/xml

Example
<?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>

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
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>'

Responses

🟢200Success
application/xml
Body

Example
<?xml version="1.0" encoding="UTF-8"?>
<root/>
Modified at 2024-09-15 01:34:55
Previous
SOAP Example
Built with