Latest updates

This commit is contained in:
2025-05-24 19:35:29 +01:00
parent 3eb2bb0491
commit 9d6c761d15
33 changed files with 6979 additions and 112 deletions

View File

@@ -1,11 +1,15 @@
<?php
// Set up constants:
$apiToken="nCqnPnrt9HplICvOWhratTIrwkxqe7pILQ524GJG";
$apiToken="GZjoFiLmb2j62s8AHmMWKN25BZjGBhsU5ez4cwjn";
//$apiToken="nCqnPnrt9HplICvOWhratTIrwkxqe7pILQ524GJG";
$dataCenter = "fra1"; // Example: "us-east-1"
$surveyId = "SV_3pyZVUNpxXm1PZI"; //Survey ID
$urveyId ="SV_bmiHoSHYWIgGM3I"; //Survey ID
$surveyId = "SV_cAstEvm4ZrPaqGi"; //Framework
$surveyId = "SV_3pyZVUNpxXm1PZI"; //Template 2nd April
$surveyId ="SV_eKy96PPsL4JVZSC"; //Tullis Russell
//$surveyId = "SV_bmiHoSHYWIgGM3I"; //Survey ID
$surveyId = "SV_bD838sNKZEmi6Tc"; //Template 15 May 2025
$surveyId = "SV_cwKjMqAqGxImjMG"; //
// API endpoint URLs
$exportUrl = "https://$dataCenter.qualtrics.com/API/v3/surveys/$surveyId/export-responses";
@@ -31,6 +35,7 @@ if (!$response) {
}
$exportData = json_decode($response, true);
echo $response;
$progressId = $exportData['result']['progressId'];
// Step 2: Check Export Status