I'm getting a warning while building my asp.net project that V1APIConnector is deprecated and requesting me to use VersionOneAPIConnector.
Using the new VersionOneAPIConnector I had to do the following to get a child projects:
- build a string (ex: https://abc.org/V1/rest-1.v1/Data/Scope?where=Scope.Name='FOO'&sel=Children.Name) for the data we require and then pass it on to GetData method.
- read the returned stream and then create an xml.
- Read the xml to extract the required data.
Retrieving data using V1APIconnector was much simpler.
- create a IMetaModel and services instance
- query the appropriate assettype (GetAssetType method) and the attributes (getAttributedefinition)
Is the above approach still valid using VersionOneAPIConnector?
If yes do we have any example on how to get the childprojects of a project?
Thanks