DataApiClient
- Last UpdatedJun 24, 2025
- 1 minute read
- Engineering
- Integration Service 4.0
- Integrators
The advantage of having this client is to create a common client irrespective of product category. Client can internally pick specific client based on the data source name passed to it by using this client consumer can create clients for following categories only Engineering, ERM, SQL, Excel, Oracle, ETAP, Others (Electrical, P & ID, Instrumentation)
DataApiClient(string host, AuthenticationType authType, int waitingTimeInMinutesForLiveData, string connectToken, CancellationTokenSource hubCancellationToken)
Usage of above DataApiClient methods
string Url = "https://machineName:XXXX/";
CancellationTokenSource cancelToken = new CancellationTokenSource();
var dataapiClient = new DataApiClient(host: Url, authType: AuthenticationType.NTLM, waitingTimeInMinutesForLiveData:3, connectToken: string.Empty, hubCancellationToken: cancelToken);