A
get
Submit an answer to a non free text question. Records the answer in the db unless preview_mode == 'true'. All parameters except (identifier question_id answer_id text redirect preview_mode) will be recorded as ContextData in the submission.
Path parameters
question_idstringRequired
The question's unique ID.
answer_idstringRequired
The possible answer's unique ID.
Query parameters
identifierstringRequiredExample:
The account's unique ID.
PI-1234567890
textstringOptional
Text of survey response. Required if free text question.
redirectstringOptional
A URL to redirect to after submission.
urlstringOptional
The URL from which the submission was made. If no redirect parameter is provided then this will be used as the redirect URL.
udidstringOptionalExample:
The device's unique ID.
00000000-0000-4000-f000-000000000001
preview_modestringOptionalExample:
If 'true' then nothing will be recorded in the database.
true
Responses
200
Successful response.
text/plain
302
Successful response. Returned if "redirect" parameter is provided.
text/plain
404
Error response.
text/plain
get
GET /q/{question_id}/a/{answer_id} HTTP/1.1
Host: survey.pulseinsights.com
Accept: */*
[
"Thank you!"
]
Last updated
Was this helpful?