Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
// Run the template producing a task key
var export = WebRequest.Create($"{RestUrl}/reporttemplates/{ReportTemplateKey}/run");
export.Method = "PUT";
export.Headers.Add("x-sti-SessionKey", sessionKey);
export.Headers.Add("x-sti-DestinationItemKey", pdfFileItemKey);
var taskKey = GetResponseJson(export).Value<string>("ResultTaskKey");
// Poll the task status
var statusReq = WebRequest.Create($"{RestUrl}/task/{taskKey}");
statusReq.Headers.Add("x-sti-SessionKey", sessionKey);
var status = GetResponseJson(statusReq).Value<JObject>("ResultStatus");
// status["IsRunning"], status["IsFinished"], status["IsError"] ..."));ResultTaskKey — the export runs asynchronously and returns a task key instead of blocking./task/{taskKey} → ResultStatus — poll for IsWaiting/IsRunning/IsFinished/IsError.