The MET/CONNECT API allows users to develop integrations with the MET/CONNECT database and access procedure results. This article will provide a quick way to verify that your API service is returning data as expected.
The simplest way to verify your API service is to query the list of results for a single Asset. To do this, visit the URL defined by:
- <serverurl> parameter is the URL, including the port number, where your MET/CONNECT API is running. This can be found in IIS on the computer running the service. The default port number for the API is 6381.
- <dutAssetId> parameter needs to be an asset that has been used in a MET/CAL procedure while using MET/CONNECT
- <authtoken> parameter is the Authentication Token defined during the installation of MET/CONNECT, it is saved in a text file on that server's desktop for future reference
The response to this query will be a JSON formatted list of the calibration runs against that asset record. We recommend using a browser add-on for making JSON data more viewer-friendly. The expected response looks like this:
If you receive a similar response, your API is returning data as expected. Specific data queries can be verified in this same manner using the documentation provided in the Help folder of your MET/CONNECT shared directory. From here, you may develop your own API connector or work with one of our integration partners.
If you do not receive a similar JSON response, contact firstname.lastname@example.org for assistance.