Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Integration Service

Basic Usage

  • Last UpdatedJun 24, 2025
  • 1 minute read

Creating a DataAPI client for Engineering

var engineeringDataClient = DataApiClientFactory.CreateDataApiClient<EngineeringHttpClient>(client, host);

var engineeringResult = await engineeringDataClient.GetDataSources("");

foreach (var item in engineeringResult)

{

Console.WriteLine($"Engineering Datasource.Name: {item.Name}");

}

The above code provides an example of how the Engineering data can be fetch from Data API.

By creating an HttpClient to retrieve the data. Creating an HttpClient and pass it as parameter to the method CreateDataApiClient of DataApiClientFactory.

The factory method CreateDataApiClient<T> is a generic method that expect the ProductCategory as type parameter.

For example, to create HttpClient for Engineering

var engineeringClient = DataApiClientFactory.CreateDataApiClient<EngineeringHttpClient>(client, host);

The value of host parameter is the URL where the DataAPI is being hosted.

Related Links
TitleResults for “How to create a CRG?”Also Available in