To simplify integration to other 3rd party systems, we introduce Wats Standard Xml Format (WSXF).
You can GET WSXF files directly from the server using the REST API.
You can POST WSXF files directly to the server using the REST API. For more information, see https://support.virinco.com/hc/en-us/articles/360013383500-Post-WSXF
When you install the WATS Client, a folder named “WatsStandardXMLFormat” is created at C:\ProgramData\Virinco\WATS. If a file using the WSXF Format is saved to the directory, the WATS Client will automatically read and import the file into WATS.
Documentation
Please see the attached documentation documents below.
General details
Wats Standard Xml Format supports two report types:
Unit under test (UUT)
Unit under repair (UUR)
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 only accepts 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.
Comments
2 comments
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
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
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.