get_assignment_quantity_setting: Returns whether assignment quantity can be changed or not

View source: R/assignments.R

get_assignment_quantity_settingR Documentation

Returns whether assignment quantity can be changed or not

Description

Wrapper for GET ​/api​/v1​/assignments​/{id}​/assignmentQuantitySettings endpoint

Usage

get_assignment_quantity_setting(
  id,
  server = Sys.getenv("SUSO_SERVER"),
  workspace = Sys.getenv("SUSO_WORKSPACE"),
  user = Sys.getenv("SUSO_USER"),
  password = Sys.getenv("SUSO_PASSWORD")
)

Arguments

id

Assignment ID

server

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

workspace

Character. Name of the workspace whose assginment quantity to get. In workspace list, value of NAME, not DISPLAY NAME, for the target workspace.

user

API user name

password

API password

Value

Data frame with id and CanChangeQuantity columns


arthur-shaw/susoapi documentation built on Feb. 10, 2023, 7:47 p.m.