Using HTTP APIs to retrieve multiple pieces of meta-information for indexed data simultaneously

Updated Sep 18, 2023

Reported In

Software

  • SystemLink
  • SystemLink TDM DataFinder Module

Issue Details

I created a DataFinder instance using the SystemLink TDM DataFinder Module. I want to perform a search on the data registered in this DataFinder instance and programmatically obtain property information such as the name, comment, author, date and time of the data in the search results. Which HTTP API should I use?

Solution

Data search and read for DataFinder instance uses POST​/ods​/{conI}​/data-read of Data Navigator Data Service. You can check how to open SwaggerUI below in this document .
DataNavigatorDataService.png

In SwaggerUI, enter Body as shown below, enter ConI, and execute to obtain the property value specified as Response Body.
dataread.png

These HTTP APIs can also be executed in LabVIEW, Python, etc. If you use LabVIEW, it will be as follows.
GetProperties.png