Creates a preview qif from a referenced element (ques/info/goto) without logic, stores it and finally creates a DC test url for internal testing
Retrieves a Survey Object structure
Path Parameters
projectId string required
surveyId string required
elementId string required
application/*+json
application/json
application/json-patch+json
text/json
Request Body
previewThemeId string nullable
Request Body
previewThemeId string nullable
Request Body
previewThemeId string nullable
Request Body
previewThemeId string nullable
Responses
- 200
Success
POST /projects/:projectId/surveys/:surveyId/elements/:elementId/preview
Request
Request
curl / cURL
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
python / requests
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
go / native
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
nodejs / axios
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
ruby / Net::HTTP
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
csharp / RestSharp
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
php / cURL
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
java / OkHttp
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'
powershell / RestMethod
curl -L -X POST 'https://api.walr.com/su/projects/:projectId/surveys/:surveyId/elements/:elementId/preview' \
-H 'Content-Type: application/*+json' \
--data-raw '{
"previewThemeId": "string"
}'