Wats Standard Xml Format (WSXF)

To simplify integration to other 3rd party systems,  we introduce Wats Standard Xml Format (WSXF)

WSXF is used in our public REST api to retrieve the entire test or repair report.

Install converter: https://virinco.zendesk.com/hc/en-us/articles/207424653

General details

The format of the Wats Standard Xml Format is an xml file specified with a xsd schema.

The schema supports multiple reports in one document, but the api will returns one report per call.

The file contains a Reports root element in xml namespace 'http://wats.virinco.com/schemas/WATS/Report/wsxf'. The root element can contain one or more Report elements. See the schema definition for details.

Description & Example

Please see the attached Schema definition and example xml files.

Support for decoded chart data is scheduled for 2016.2 release.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Brian Jacobsen

    How can actually get the report to provide me data from serial number? I get ""The request is invalid. when I type a serial number into ID field below

    http://wats.XXX.XXX/swagger/ui/index#!/Report/Report_Query

    Form:

    Parameters

    Parameter Value Description Parameter Type Data Type
    Id   query string
    DetailLevel   query integer
    IncludeAttachments            true       false      query boolean
    IncludeChartdata            true       false      query boolean
    JSON            true       false      query boolean

    I was expecting to be able to use a serial number, that I know exist in the wats database, since I can with webbrowser type serial number and get the full test report

    Then I want to use the "Try it out" button

     

  • 0
    Avatar
    Øystein Fallo

    Hi Brian,

    Apologies for very slow response to your post here. The Id field is the report-uuid (Guid or unique identifier) of the report. To locate the uuid of a report, you will need to use the Query method like this:

    https://*.skywats.com/api/report/query?$filter=PN eq '001234'

    The query method use OData (odata.org) semantics.

    The response from Query can be used to find the actual uuid (named "Guid" in the response), and then using this id you will be able to extract the entire report.

Please sign in to leave a comment.