Build API Docs with Apidog
  1. Example: WebService
Build API Docs with Apidog
  • Overview
  • REST API Documentations
    • Basics
      • API-Design First Approach
      • Specify an endpoint
      • Components
      • Common parameters
      • Global parameters
      • Schemas
        • Overview
        • Create a new schema
        • Build a schema
        • Generate Schemas from JSON etc.
    • Advanced features
      • Custom endpoint fields
      • Endpoint status
      • Appearance of parameter lists
      • Endpoint unique idenfication
    • Example: Pet Store
      • Get user info
      • Find pet by ID
      • Add a new pet to the store
      • Update an existing pet
      • Deletes a pet
      • Finds Pets by status
  • SOAP API Documentations
    • How to Use Apidog to Write SOAP API Documentation
    • Example: WebService
      • WebService: Number To Words
        POST
      • SOAP: Add integers
        POST
      • SOAP/WSDL: Ebay
        POST
    • Example: Mastercard
      • Purchase Request
      • Submit a purchase request
  • GraphQL Documentation
    • How to Write GraphQL API Documentation Using Apidog
    • Example: Github
      • Introduction to GraphQL
      • Queries
      • Public schema
  • WebSocket Documentations
    • How to Use Apidog to Write WebSocket API Documentation
    • Example: Coinbase
      • Overview
      • Channel
  • SSE API Documentations
    • Example: Anthropic
      • Streaming Messages
      • Messages
  • gRPC API Documentations
    • How to Use Apidog for gRPC API Documentation and Testing
    • Example: Proto Documentation
      • Protocol Documentation
  1. Example: WebService

SOAP/WSDL: Ebay

POST
https://api.sandbox.ebay.com/wsapi
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>'
Response Response Example
<?xml version="1.0" encoding="UTF-8"?>
<root/>

Request

Query Params
siteid
string 
required
Example:
0
routing
string 
required
Example:
beta
callname
string 
required
Example:
GeteBayOfficialTime
client
string 
required
Example:
java
version
string 
required
Example:
423
appid
string 
required
Example:
INDEPENDENV14L9185124FNLW855JL
Header Params
Content-Type
string 
required
Example:
application/soap+xml
Body Params application/xml
object {0}
Examples

Responses

🟢200Success
application/xml
Body
object {0}
Modified at 2025-03-25 08:00:02
Previous
SOAP: Add integers
Next
Example: Mastercard
Built with