Survey Solutions API call for workspace
suso_getWorkspace.Rd
suso_getWorkspace
allows you to get the list of workspaces, information about individual workspace names
as well as workspace statuses. Workspaces as well as Workspaces information can only be accessed, if credentials
are eligible. For more details please read https://docs.mysurvey.solutions/headquarters/accounts/workspaces/
Usage
suso_getWorkspace(
server = suso_get_api_key("susoServer"),
apiUser = suso_get_api_key("susoUser"),
apiPass = suso_get_api_key("susoPass"),
token = NULL,
workspace = NULL,
status = FALSE
)
Arguments
- server
Survey Solutions server address
- apiUser
Survey Solutions API user
- apiPass
Survey Solutions API password
- token
If Survey Solutions server token is provided apiUser and apiPass will be ignored
- workspace
If workspace name is provide requests are made regarding this specific workspace
- status
if status is TRUE worskpace must be not NULL and status information about the specific workspace is requested
Examples
if (FALSE) {
# This assumes, that suso_PwCheck(workspace = "myworkspace") was
# sucessful
# shows all workspaces in the system AND the user has access to
suso_createWorkspace(
workspace = "myworkspace",
status = F)
# shows details for specific workspace myworkspace
suso_createWorkspace(
workspace = "myworkspace",
status = F)
}