Skip to main content
Skip table of contents

Troubleshooting with Echo

These resources are intended to aid when developing against Vidispine or when troubleshooting.

XML and JSON

Echo

PUT /APInoauth/debug/echo

Returns the provided XML in the Vidispine schema as either XML or JSON.

Use it to verify that XML is valid and parsed properly, or to convert from XML to JSON for example.

Accepts:

  • application/xml – Any XML in the Vidispine schema.

Produces:

  • application/xml, application/json – The input as XML or JSON.

Example

ABAP
PUT /APInoauth/debug/echo
Accept: application/json
XML
<ItemSearchDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <text>test</text>
</ItemSearchDocument>
CODE
200 OK
JSON
{
  "text": [
    {
      "value": "foo"
    }
  ]
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.