Here is c# code that works//step 1 - Start the export [ steps are followed as per Qualtrics guidelines for V3 API] try { var httpWebRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url); httpWebRequest.Headers["X-API-TOKEN"] = api_Token; httpWebRequest.ContentType = "application/json"; httpWebRequest.Method = "POST"; httpWebRequest.ServicePoint.Expect100Continue = false; System.IO.StreamWriter streamWriter = null; System.IO.StreamReader streamReader = null; using (streamWriter = new System.IO.StreamWriter(httpWebRequest.GetRequestStream())) { jsonInput = String.Format(@"{{ ""format"": ""xml"",""useLabels"":{0},""filterId"":""{1}""}}", useLabels.ToLowerInvariant(), surveyFilter); // filter is created in Qualtrics survey and used here streamWriter.Write(jsonInput);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.