Create Response with File Attachments Request
response objectrequired
values objectrequired
values is a set of key-value pairs corresponding to question-answer pairs. There can also be key-value pairs representing meta data for the response such as startDate or userLanguage.
The method by which the survey was distributed to respondents
How long it took for the respondent to finish the survey in seconds
The point in time when the survey response was finished
If the respondent finished and submitted the survey, the value will be 1, otherwise it will be 0
The approximate location of the respondent at the time the survey was taken
The approximate location of the respondent at the time the survey was taken
How far the respondent has progressed through the survey as a percentage
The point in time when the survey response was started
The language of the respondent
values is a set of key-value pairs corresponding to question-answer pairs. There can also be key-value pairs representing meta data for the response such as startDate or userLanguage.
fileMapping objectrequired
The QuestionID of the file upload question to map file1 to
QID1The QuestionID of the file upload question to map file2 to
QID2The QuestionID of the file upload question to map file3 to
QID3The QuestionID of the file upload question to map file4 to
QID4The QuestionID of the file upload question to map file5 to
QID5Possible values: <= 5242880 characters
Possible values: <= 5242880 characters
Possible values: <= 5242880 characters
Possible values: <= 5242880 characters
Possible values: <= 5242880 characters
{
"response": {
"values": {
"distributionChannel": "string",
"duration": 0,
"endDate": "2024-07-29T15:51:28.071Z",
"finished": 0,
"locationLatitude": "string",
"locationLongitude": "string",
"progress": 0,
"startDate": "2024-07-29T15:51:28.071Z",
"userLanguage": "string"
}
},
"fileMapping": {
"file1": "QID1",
"file2": "QID2",
"file3": "QID3",
"file4": "QID4",
"file5": "QID5"
},
"file1": "string",
"file2": "string",
"file3": "string",
"file4": "string",
"file5": "string"
}