View source: R/questionnaires.R
set_questionnaire_audio | R Documentation |
Sets audio recording enabled setting for provided questionnaire. Wrapper of POST /api/v1/questionnaires/{id}/{version}/recordAudio
endpoint
set_questionnaire_audio(
qnr_id,
qnr_version,
enable,
server = Sys.getenv("SUSO_SERVER"),
workspace = Sys.getenv("SUSO_WORKSPACE"),
user = Sys.getenv("SUSO_USER"),
password = Sys.getenv("SUSO_PASSWORD")
)
qnr_id |
Character. Questionnaire ID. GUID from server. |
qnr_version |
Numeric. Questionnaire version number. |
enable |
Logical. Whether to enable. Values: c(TRUE, FALSE) |
server |
Character. Full server web address (e.g., |
workspace |
Character. Name of the workspace whose questionnaire audio settings to change. In workspace list, value of |
user |
Character. API user name |
password |
Character. API password |
TRUE/FALSE depending on whether operation succeeded or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.