I am trying to create assignments with pre-filled data from out existing data. I want to be able to do this through API.
I tried using the SurveySolutionsAPI package’s Suso_createASS() function:
suso_createASS( df = df, server = suso_get_api_key("susoServer"), apiUser = suso_get_api_key("susoUser"), apiPass = suso_get_api_key("susoPass"), workspace = "xxxx", QUID = "xxxxxxxx", version = 8 )
I get this error:
 "Pb06" Error in suso_createASS(df = df, server = suso_get_api_key("susoServer"), : Bad Request (HTTP 400). Failed to Assignment creation failed.
Other functions in the package work just fine. What should I be looking for to correct this error?
Also, the data frame (
df) doesn’t have the
ResponsibleName variables after running the function.