JSON versus XML

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

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 JSON format. This is the default for all endpoints.

XML

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

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

Also the POST Order Webhook endpoint supports tXML.

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

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

Last updated