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

WebService: Number To Words

POST
https://www.dataaccess.com/webservicesserver/NumberConversion.wso
Convert the ubiNum in the request to a word in the response.
This service is provided by DataAccess; you can use the "try it out" feature to access the API.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.dataaccess.com/webservicesserver/NumberConversion.wso' \
--header 'Content-Type: text/xml; charset=utf-8' \
--data-raw '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/">
            <ubiNum>500</ubiNum>
        </NumberToWords>
    </soap:Body>
</soap:Envelope>'
Response Response Example
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope>
  <soap:Body>
    <m:NumberToWordsResponse>
      <m:NumberToWordsResult>string</m:NumberToWordsResult>
    </m:NumberToWordsResponse>
  </soap:Body>
</soap:Envelope>

Request

Header Params
Content-Type
string 
optional
Example:
text/xml; charset=utf-8
Body Params application/xml
soap:Body
object 
required
NumberToWords
object 
required
Examples

Responses

🟢200Success
application/xml
Body
soap:Body
object 
required
m:NumberToWordsResponse
object 
required
Modified at 2025-03-25 07:59:54
Previous
Example: WebService
Next
SOAP: Add integers
Built with