Tradecloud API v2 manual
  • Introduction
    • Welcome
      • Checklist
      • Support
    • API
      • Rules
      • Requests
      • JSON versus XML
      • Environments
      • Standards
      • Compatibility
      • Tools
        • Swagger UI
        • Postman
        • .NET SDK
      • Webhook versus polling
        • Polling usage
        • Polling echo
      • Delivery schedule
    • Security
      • Security overview
      • Authentication
      • Authorization
      • Encryption
      • Document storage
  • Guide
    • 1. Getting an Account
    • 2. Sending your first order
      • Option A: Sending a Delivery Schedule per order line
      • Option B: Sending a Single Delivery per order line
  • Processes
    • Forecasts
      • Issue a new forecast
      • Issue a new Slimstock forecast
    • Orders
      • Buyer order process
        • Issue a new order
          • Delivery schedule
          • Indicators
          • No delivery expected
          • Propose when accepted
          • Attach a document to an order
          • Choose attach document API
        • Update an existing order
        • Receive an order response
          • Download a document attached to an order response
          • Single delivery order response
        • Receive goods
        • Complete an order
        • Reopen an order
        • Cancel an order
      • Supplier order process
        • Receive an order
          • Download a document attached to an order
          • Single delivery order
        • Send order response
          • Attach a document to an order response
        • Reopen an order
        • Cancel an order
    • Shipments
      • Supplier shipment process
        • Send despatch advice
      • Buyer shipment process
        • Receive a shipment event
          • Download a document attached to a shipment
Powered by GitBook
On this page
  • JSON
  • XML
  1. Introduction
  2. API

JSON versus XML

Choose between JSON and XML in the `api-connector` and `order-webhook-connector`

PreviousRequestsNextEnvironments

Last updated 5 months ago

The Tradecloud API by default supports a proprietary JSON format, but for some API endpoints a proprietary XML format is supported.

JSON

The Tradecloud API by default supports a proprietary Tradecloud . This is the default for all endpoints.

XML

The Tradecloud API supports a proprietary Tradecloud , called tXML, which is a 1-on-1 translation of the proprietary JSON format:

  • and

  • endpoints support tXML.

You can see an XML example by selecting "application/xml" in the "Parameter content type" dropdown, under the "Example Value" in above API specifications:

You can see an XML example by selecting "application/xml" in the "Parameter content type" dropdown, under the "Example Value" in above API specification:

Also the endpoint supports tXML.

Let know if you need tXML support for additional API endpoints.

Order Webhook
support
Send order
Send single delivery order
JSON format
XML format
Select order API XML content type
Select order webhook XML content type