Is there any API in TIBCO Data Virtualization that would allow it to extract a target data source's ID?

Is there any API in TIBCO Data Virtualization that would allow it to extract a target data source's ID?

book

Article ID: KB0075266

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions

Description

This KB article explains the process of extracting the data source ID's via the TDV system API's.

Issue/Introduction

Is there any API in TIBCO Data Virtualization that would allow it to extract a target data source's ID?

Resolution

Data source ID's can be extracted by using the system api which is under /services/webservices/system/admin/resource/operations/getResource . Please see below snippet for the sample payload.
<resource:getResource xmlns:resource="http://www.compositesw.com/services/system/admin/resource" xmlns:common="http://www.compositesw.com/services/system/util/common"> 
<resource:path>/shared/dana/ADSCache</resource:path> 
<resource:type>DATA_SOURCE</resource:type> 
<resource:detail>FULL</resource:detail>
</resource:getResource>