Name | Type | Optional? | Description |
---|---|---|---|
uniqueId | Long | false | Unique ID for this test run. Must be unique per student and test. |
parameters | Map<String,String> | false | Generic parameter map. Keys and values are both strings. This is currently only used to filter the return values. Only the given keys are returned by the method, except some system return values, which are alwys returned. |
Type: | Map<String,String> |
---|---|
Key | Description |
datetimepattern | Pattern to parse datetimes |
onyxStartup | Datetime of ONYX system startup |
lastAccess | Datetime of last user action |
lastSaved | Datetime of latest export |
state | Users current state
|
resultsBase64 | results.zip, file contents Base64 encoded |
error | Only set in case of errors, will deliver detailled error message. |
Name | Type | Optional? | Description |
---|---|---|---|
uniqueId | String | false | Unique ID for this test run. Must be unique per student and test. |
contentPackage | byte[] | false | Contains the content package (test.zip file). The files contents must be transmitted as byte array without any escaping. |
language | String | false | Users language for display. One of "de", "en". |
templateId | String | false | ONYX template ID. This is lecacy stuff and also contains all display parameters. |
serviceName | String | false | Name of the system using ONYX. Must be configured in ONYX to be able to use it. |
allowShowSolution | boolean | false | Test flow parameter: May student see the correct solutions after entering the answers? |
parameters | Map<String,String> | true | Additional parameters. See registerStudent documentation. |
Type: | HashMap<String,String> |
---|---|
Key | Description |
run | true if successful, false otherwise |
blocked | Execution result. Less than 0 in case of error, larger than 0 in case of success. |
Name | Type | Optional? | Description |
---|---|---|---|
parameters | Map<String,String> | false | Generic parameter map. Keys and values are both strings. This is currently only used to filter the return values. Only the given keys are returned by the method, except some system return values, which are alwys returned. |
Type: | Map<String,String> |
---|---|
Key | Description |
version | ONYX version |
build | ONYX build date |
Name | Type | Optional? | Description |
---|---|---|---|
uniqueIds | List | false | List of user IDs |
message | String | false | Message to display |
parameters | Map<String,String> | false | Additional parameters (currently ignored) |
Type: | Boolean |
---|---|
Key | Description |
success | True if message was displayed. |
Name | Type | Optional? | Description |
---|---|---|---|
uniqueId | Long | false | Unique ID for this test run. Must be unique per student and test. |
parameters | Map<String,String> | false | Generic parameter map. Keys and values are both strings. This is currently only used to filter the return values. Only the given keys are returned by the method, except some system return values, which are alwys returned. |
Type: | Map<String,String> |
---|---|
Key | Description |
lastAccess | Datetime of last user action |
datetimepattern | Pattern to parse datetimes |
inactivityPeriodMs | Milliseconds to wait until users are marked as inactive |
onyxStartup | Datetime of ONYX system startup |
error | Only set in case of errors, will deliver detailled error message. |
Name | Type | Optional? | Description |
---|---|---|---|
testSessionId | Long | false | Unique ID for this test. |
providerId | String | false | Name of the system using ONYX. Must be configured in ONYX to be able to use it. |
contentPackage | byte[] | false | Contains the content package (test.zip file). The files contents must be transmitted as byte array without any escaping. |
parameters | Map<String,String> | false | Additional parameters.
|
Type: | Long |
---|---|
Key | Description |
resultCode | Result code. 42 is OK, lower than zero or greater than 42 is error. |
Name | Type | Optional? | Description |
---|---|---|---|
testSessionId | Long | false | Unique ID for the test as registered using registerTest. |
studentId | Long | false | Unique identifier of the student in that test session. |
payload | byte[] | true | Contains the users former results as file (results.zip file). The files contents must be transmitted as byte array without any escaping. |
parameters | Map<String,String> | false | Additional parameters.
|
Type: | Long |
---|---|
Key | Description |
resultCode | Result code. 42 is OK, lower than zero or greater than 42 is error. |
Name | Type | Optional? | Description |
---|---|---|---|
version | Integer | false | API version (currently 3) |
userId | String | false | Users ID |
optionalRole | Integer | true | Users role (assessor, tutor, student) |
secretToShare | String | false | Shared secret as agreed before. |
optionalUserLastName | String | true | Users first name for display |
optionalUserFirstName | String | true | Users last name for display |
additionalParams | HashMap<String,String> | false | Additional parameters
|
Type: | String |
---|---|
Key | Description |
reporterSessionId | Reporter session ID, LMS can use this to render IFrame URL |
Name | Type | Optional? | Description |
---|---|---|---|
version | Integer | false | API version (currently 3) |
sessionId | String | false | Reporter session ID |
secretToShare | String | false | Shared secret as agreed before. |
students | List | false | |
optionalContentPackage | byte[] | true | Contains the content package (test.zip file). The files contents must be transmitted as byte array without any escaping. |
additionalParams | HashMap<String,String> | false | Additional parameters.
|
Type: | String |
---|---|
Key | Description |
result | Normal mode: URL to reporter GUI to show the requested view (may be an error page). CSV mode: Base64 encoded CSV file content. |
Name | Type | Optional? | Description |
---|---|---|---|
version | Integer | false | API version (currently 3) |
sessionId | String | false | Reporter session ID |
secretToShare | String | false | Shared secret as agreed before. |
additionalParams | HashMap<String,String> | false | Additional parameters. Currently ignored. |
Type: | Boolean |
---|---|
Key | Description |
success | Resulting state |
Name | Type | Optional? | Description |
---|---|---|---|
version | Integer | false | API version (currently 3) |
sessionId | String | false | Reporter session ID |
secretToShare | String | false | Shared secret as agreed before. |
requestedValues | HashMap<String,String> | false | Filter map. Only variables with names matching keys in that map will be returned. The values (if not null) are handled as default values. If a requested parameter is not found, it is returned nontheless, with the default value as value. |
additionalParams | HashMap<String,String> | false | Additional parameters.
|
Type: | Map<String,String> |
---|---|
Key | Description |
variable | Test variables, key is the variable name, value their value. |
Name | Type | Optional? | Description |
---|---|---|---|
version | Integer | false | API version (currently 3) |
contentPackage | byte[] | false | Contains the content package (test.zip file). The files contents must be transmitted as byte array without any escaping. |
additionalParams | HashMap<String,String> | false | Additional parameters. Currently ignored. |
Type: | Map<String,String> |
---|---|
Key | Description |
variable | Map of result vars and their type |
Name | Type | Optional? | Description |
---|---|---|---|
testSessionId | Long | false | Unique ID for the test as registered using registerTest. |
studentIds | StudentIdsWrapper | false | Unique identifiers of the students to handle. All must have been registered using registerStudent. |
status | Integer | false | New test state to set. One of:
|
parameters | Map<String,String> | false | Additional parameters.
|
Type: | Long |
---|---|
Key | Description |
resultCode | Result code. 42 is OK, lower than zero or greater than 42 is error. |
Name | Type | Optional? | Description |
---|---|---|---|
testSessionId | Long | false | Unique ID for this test run. Must be unique per student and test. |
providerId | String | false | Name of the system using ONYX. Must be configured in ONYX to be able to use it. |
parameters | Map<String,String> | false | Additional parameters. Currently ignored. |
Type: | Long |
---|---|
Key | Description |
resultCode | Execution result. Less than 0 in case of error, greater than 0 in case of success. |
Name | Type | Optional? | Description |
---|---|---|---|
uniqueIds | List | false | List of user IDs |
parameters | Map<String,String> | false | Additional parameters (currently ignored) |
Type: | Map<String,String> |
---|---|
Key | Description |
assessmentId | Map of student ID and remaining time in seconds |
Name | Type | Optional? | Description |
---|---|---|---|
uniqueIds | List | false | List of user IDs |
parameters | Map<String,String> | false | Additional parameters (currently ignored) |
Type: | Map<String,String> |
---|---|
Key | Description |
assessmentId | Map of student ID and state |
Name | Type | Optional? | Description |
---|---|---|---|
uniqueIds | List | false | List of user IDs |
parameters | Map<String,String> | false | Additional parameters (currently ignored) |
Type: | Map<String,String> |
---|---|
Key | Description |
assessmentId | Map of student ID and remaining time in seconds |
Name | Type | Optional? | Description |
---|---|---|---|
parameters | Map<String,String> | true | Optional. If given, only the given parameters will be returned. |
Type: | Map<String,String> |
---|---|
Key | Description |
name | Instance name |
version | ONYX version |
build | ONYX build info |