Update the value of an embedded data field in a survey response

update_response(surveyId, responseId, embeddedData, resetRecordedDate = TRUE)

Arguments

surveyId

the id of survey to copy

responseId

ID of the response to be deleted

embeddedData

JSON object representing the embedded data fields to set.

resetRecordedDate

Default: true - Sets the recorded date to the current time. If false, the recorded date will be incremented by one millisecond.

Value

A status.

Examples

if (FALSE) update_response("SV_012345678912345", "R_012345678912345", {"EDField": "EDValue"}, FALSE)