...
Codeblock | ||||
---|---|---|---|---|
| ||||
public string GetReportId(string sesionidsessionid){ var client = new RestClient(this.serverUrl + "/congree/api/Linguistic/Reporting/v1/Sessions/" + sessionid); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer " + this.token); IRestResponse response = client.Execute(request); var result = JObject.Parse(response.Content); return result["ReportId"]; } |
...
The returned ReportId can now be used to create a link to this report. The pattern is the following:
<https | http>://<your host>/CongreeControlCenter/reports/details?id=<reportid>