×
Request a Demo

Request a Demo

Look No Further. Get Started Today

 
 

Verification

Survey Management
Location Management
User Management
Device Management

GetResponsesCSV

Definition

Get list of all responses related to a company

https://app.zonkafeedback.com/api/v1/responses

Parameters

Parameter Value Description
Survey
surveyId string ID of the survey to get responses for
locationId string ID of the location to get responses for
startDate date Date from which responses are to be fetched
endDate date Date till which responeses are to be fetched
limit string Specify the number of responses to be fetched. By default it will be 25. Maximum of 500 records can be fetched per request.
answerType string Type of response data to be fetched. Select from ACTUAL and RAW values.

Response Format

{
    "CurrentRecords": 25,
    "TotalRecords": 172,
    "TotalUnreadRecords": "144",
    "ResponseList": [
        {
            "LanguageCode": "en_US",
            "DateOfVisit": "2017-06-12 03:40:57",
            "DateOfVisitGMT": "2017-06-12 07:40:57",
            "CountDueTasks": "1",
            "CountEmailSent": "0",
            "CountNotesAdded": "0",
            "StaffName": "ExampleStaffName",
            "IsRatingFiledId": "15437",
            "DeviceName": "iphone6plus",
            "DeviceFriendlyName": "ExampleDevice",
            "DefaultTags": "Negative",
            "CustomTags": "Cleanliness",
            "RespondentVisitID": "3445",
            "RespondentID": "2855",
            "SurveyID": "1308",
            "CompanyID": "35",
            "CompanyLocationName": "CompanyName- LocationName",
            "LocationID": "106",
            "RespondentName": "ExampleRespondentName",
            "RespondentEmail": "tony@example.com",
            "RespondentMobile": "1234567890",
            "RespondentComments": "Nice Ambience",
            "IsResponseRead": "0",
            "IsResponseResolved": "0",
            "IsResponseUrgent": "0",
            "IsResponseFlagged": "0",
            "IsResponseArchived": "0",
            "ResponseStartTime": "2017-06-12 03:40:49",
            "ResponseStartTimeGMT": "2017-06-12 07:40:49",
            "ResponseFillTime": "2017-06-12 03:40:50",
            "ResponseFillTimeGMT": "2017-06-12 07:40:50",
            "SurveyTitle": "My First Survey",
            "SurveyTagID": "1",
            "StaffID": "59",
            "NPSFieldID": "12342",
            "NPSChoiceID": "12321",
            "NPSChoiceName": "10",
            "CESFieldID": "45367",
            "CESChoiceID": "56372",
            "CESChoiceName": "High",
            "Rating": "25.00",
            "ResponseDetails": [
                {
                    "QuestionId": "15434",
                    "QuestionLabel": "MCQ Question",
                    "Answer": "Button",
                    "ChoiceId": "44103",
                    "OptionId": ""
                },
                {
                    "QuestionId": "15435",
                    "QuestionLabel": "Mobile Number",
                    "Answer": "",
                    "ChoiceId": "",
                    "OptionId": ""
                },
                {
                    "QuestionId": "15436",
                    "QuestionLabel": "Last Name",
                    "Answer": "",
                    "ChoiceId": "",
                    "OptionId": ""
                },
                {
                    "QuestionId": "15437",
                    "QuestionLabel": "Radio Rating Label",
                    "Answer": "Option->Choice 3",
                    "ChoiceId": "44107",
                    "OptionId": "8290"
                }
            ]
        },
add-icon