Monday, April 7, 2014

Product Release: Survey API Enhancements Coming Soon


Coming Soon: Survey Analytics API Enhancements

Estimated Time: 2 Weeks


Please note that is a Technical Product Update. More details will be available in the Help files for this feature when its rolled out completely.

There are Server-side API's the Survey Analytics Team will be releasing in approximately 2 weeks for customers to start using them.


NEW     SurveyStatistics

Benefit : This will allow our customers to get access to aggregated Survey report data through an API which will enable them to use / show that data either within their own application or use that data for further analytics within their enterprise.


Parameters
NameTypeDescription
API KeyStringThe account API Key
surveyIdStringSurvey Id
startTimedateTime.iso8601Start Time
endTimedateTime.iso8601End Time
Return
TypeDescription
Response JSONThe JSON string which contains aggregated Survey Report Statistics. The format of this will be published later

The example format of the JSON Response String is here :
Response JSON
{
  "response": {


   "viewedCount": 0,
   "dropOutCount": 0,
    "startedCount": 3,
    "SurveyStatistics": [
      {
        "questionID": 17598511,
        "questionText": "What types of credit cards do you have (Select all that apply)?",
        "answers": [
          {
            "index": 1,
            "percent": "33",
            "count": 1,
            "answerText": "Visa"
          },
          {
            "index": 2,
            "percent": "33",
            "count": 1,
            "answerText": "Mastercard"
          },
          {
            "index": 3,
            "percent": "0%",
            "count": 0,
            "answerText": "American Express"
          },
          {
            "index": 4,
            "percent": "33",
            "count": 1,
            "answerText": "Discover"
          },
          {
            "index": 5,
            "percent": "0",
            "count": 0,
            "answerText": "Diners Club"
          }
        ]
      }
 ],
    "terminatedCount": 0,
    "completionRate": "100%",
    "averageTimeInSeconds": 0,
    "completeCount": 3
  },
  "status": {
    "message": "OK",
    "id": 200,
    "method": "surveyanalytics.survey.surveyStatistics",
    "serverUTC": 1395652400644,
    "url": "/a/api/surveyanalytics.survey.surveyStatistics",
    "apiKey": "54520ead-31fc-4a95-b479-d181fea0d1fe"
  }
}


   


Related Posts Plugin for WordPress, Blogger...
iframe {max-width:100%;} .embed{ width: 100%; }