(Sample code) Retrieve report URL
In this example, we would like to retrieve all the reports URL’s across all the project for one specific user.
First, we need to call GetDataSourceMappingTable() to get the ID of the “Students” datasource. This ID is returned in the “SourceID” parameter (e.g. “Data1”).
Then, we need to call GetAllProjectMetaData() to get the IDs of every single project in Blue. This ID is returned in the “ProjectID” parameter (e.g. “00000-00000-00000-00000”).
srvRef.APIKeyHeader apiKey = new srvRef.APIKeyHeader();
apiKey.Value = "00000000-0000-0000-0000-000000000000";
Finally, we will iterate through the resulting task data and generate a list of URL links.
Back to top