GET JSON Template

GET https://rest.webropolsurveys.com/api/v1/surveys/{{SurveyId}}/getJSONExampleForImportRecipientJSONWithDemData

Get a template of survey content. Returns JSON response of survey demographic data and questions.

Question options can be fetched with /questionOptions request. See documentation for more information.

Surveys id {{surveyId}} is guid that you can find out by listing surveys with GET /surveys. Example of guid eabb5f9a-1af5-487a-814d-4cc7be76e460.

NOTE
This request is only to help sending demographic data by using JSON.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

"{\n    \"AllowDuplicates\": true,\n    \"IsSubmit\": false,\n    \"Recipients\": [\n        {\n            \"Email\": \"\",\n            \"Mobile\": \"\",\n            \"FirstName\": \"\",\n            \"LastName\": \"\",\n            \"1:1:Question 1\": \"\",\n            \"2:1:Question 2\": \"\"\n        }\n    ]\n}\n};\n}\n\n"