VincentRoy

Web api is there a way to obtain asset database by name or path - Example please

Discussion created by VincentRoy on Dec 12, 2019
Latest reply on Dec 16, 2019 by VincentRoy

In pi web API we see that we can call search AssetDatabase by name  with 

piwebapi/search/sources?name=af:myname

... as related in this document  GetSources GET search/sources 

 

im trying to use the name attributes and it always return empty array

but i got the assetDatabase name and path showing  when i access the assetdatabase complete list with

 piwebapi/search/sources

 

Is there something worng in my call

 

 

More Details -----

In fact im trying to get the assetdatabase webid when a tag is drag and drop  in pivision extensibility symbol

 

Thanks for the help

Outcomes