Skip to contents

Approve interviews using the appropriate set of API calls

Usage

approve_interview(
  interview__id,
  interview__status,
  approve_comment,
  statuses_to_approve = c(120),
  server = Sys.getenv("SUSO_SERVER"),
  workspace = Sys.getenv("SUSO_WORKSPACE"),
  user = Sys.getenv("SUSO_USER"),
  password = Sys.getenv("SUSO_PASSWORD")
)

Arguments

interview__id

Character. GUID for interview found in interview__id.

interview__status

Numeric. Supports values in set c(100, 120).

approve_comment

Character. Comment to post upon rejection

statuses_to_approve

Numeric vector. Supports values in set c(100, 120).

server

Full server web address (e.g., https://demo.mysurvey.solutions, https://my.domain)

workspace

Character. Name of the workspace whose questionnaires and associated interviews to get.

user

API user name

password

API password