Function reference
Authentication
Functions for setting up and checking details for connecting with a Survey Solutions server
-
set_credentials()
- Set server credentials
-
show_credentials()
- Show saved server credentials
-
check_credentials()
- Check that server credentials are valid
-
get_workspaces()
- Get list of workspaces
-
get_workspace_details()
- Get details of a single workspace
-
get_workspace_status()
- Get detailed workspace status
-
create_workspace()
- Create a workspace
-
update_workspace()
- Update workspace
-
delete_workspace()
- Delete a workspace
-
disable_workspace()
- Disable a workspace
-
enable_workspace()
- Enable a workspace
-
assign_users_to_workspaces()
- Manager user assignment to a workspace
Questionnaires
Functions for compiling them, getting associated interviews, setting options, and getting their JSON respresentation.
-
get_questionnaires()
- Get all questionnaires
-
get_interviews_for_questionnaire()
- Get list of interviews for questionnaire-version
-
get_questionnaire_document()
- Save JSON representation of the questionnaire
-
set_questionnaire_audio()
- Enable audio recording for questionnaire
-
approve_interview_as_sup()
- Approve interview as supervisor
-
approve_interview_as_hq()
- Approve an interview as headquarters
-
assign_interview_to_int()
- Reassign interview to interviewer
-
assign_interview_to_sup()
- Reassign an interview to a supervisor
-
reject_interview_as_sup()
- Reject an interview as supervisor
-
reject_interview_as_hq()
- Reject an interview as headquarters
-
unapprove_interview()
- Unapprove an interview
-
comment_question()
- Leave a comment on a question
-
get_interviews()
- Get interviews
-
get_interview_stats()
- Get statistics by interview
-
get_interview_history()
- Get interview history
-
get_interview_transcript()
- Get interview transcript
-
delete_interview()
- Delete an interview
-
get_possible_interview_statuses()
- Get possible interview statuses
Assignments
Functions for creating, inspecting, collecting, modifying, and adjusting the audio of assignments
-
get_assignment_details()
- Get details for a single assignment
-
get_assignment_history()
- Get assignment history
-
get_assignments()
- Get all assignments
-
archive_assignment()
- Archive an assignment
-
unarchive_assignment()
- Unarchive an assignment
-
close_assignment()
- Close assignment
-
get_assignment_quantity_setting()
- Returns whether assignment quantity can be changed or not
-
change_assignment_quantity()
- Change assignment quantity
-
reassign_assignment()
- Reassign assignment to another user
-
check_assignment_audio()
- Gets status of audio recording for provided assignment
-
set_assignment_audio()
- Set whether assignment will record audio or not
-
get_supervisors()
- Get list of all supervisors
-
get_interviewers()
- Get list of all interviewers
-
create_user()
- Creates new user with specified role.
-
archive_user()
- Archives interviewer or supervisor with all his interviewers
-
unarchive_user()
- Unarchives single user
-
get_user_action_log()
- Get action log for single user
-
get_user_details()
- Gets detailed info about single user
Export
Functions for exporting data: starting an export job, inquiring about its status, and downloading export files
-
start_export()
- Start export file creation
-
cancel_export()
- Cancel export process
-
get_export_job_details()
- Get detailed information about export process
-
get_export_jobs()
- Get list of export jobs
-
get_export_file()
- Downloads export file.
-
set_global_notice()
- Set the global notice
-
get_global_notice()
- Get the global notice
-
delete_global_notice()
- Delete the global notice