Reject interview using the appropriate set of rejection API calls
Source:R/workflow.R
reject_interview.Rd
Reject interview using the appropriate set of rejection API calls
Usage
reject_interview(
interview__id,
interview__status,
reject_comment,
statuses_to_reject = c(100, 120),
reject_hq_approved = TRUE,
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, 130).
- reject_comment
Character. Comment to post upon rejection
- statuses_to_reject
Numeric vector. Supports values in set c(100, 120, 130).
- reject_hq_approved
Boolean. Flag that determines whether HeadquartersApproved assignments will be rejected or not. Default behavior is to reject.
- 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