π΅GET result
Fetches a list of results from the organisation.
URL
GET https://training.tapintosafety.com.au/api/v2/results/{resultId}Parameters
curl https://training.tapintosafety.com.au/api/v2/results/00000000-0000-0000-0000-000000000000 \
-H "Authorization: Bearer $APIKey"Responses
200 - OK
A result from the database.
id
string
The Id of the result. Formatted as a GUID.
userId
string
The Id of the user the result is for. Formatted as a GUID.
courseId
string
The Id of the course the result is for. Formatted as a GUID.
multiCourseResultId
string
The Id of the parent result if this result is part of a multi-course module. Formatted as a GUID.
isComplete
boolean
Whether the user has completed the course for this result.
dateCompleted
string
The completion time of this result, or the start time if isComplete is false. Formatted in ISO 8601.
score
integer
The score the user obtained for this result.
maximumScore
integer
The maximum possible score for this result.
passRate
integer
The pass rate in percent from 0-100, or null if the organisation has not specified a pass rate.
courseType
string
The type of the course. (SINGLE_COURSE or MULTI_COURSE)
resultFilters
string[]
A list of the filter answers the user had at the time of completion.
{
"id": "00000000-0000-0000-0000-000000000000",
"userId": "00000000-0000-0000-0000-000000000000",
"courseId": "00000000-0000-0000-0000-000000000000",
"multiCourseResultId": "00000000-0000-0000-0000-000000000000",
"isComplete": true,
"dateCompleted": "2022-09-15T07:04:24.696Z",
"score": 5,
"maximumScore": 10,
"passRate": 80,
"courseType": "SINGLE_COURSE",
"resultFilters": [
"00000000-0000-0000-0000-000000000000"
]
}400 - Bad Request
Error Code: INVALID_MODEL
One or more parameters provided are invalid. See details for more information.
404 - Not Found
Error Code: INVALID_MODEL
One or more parameters provided are invalid. See details for more information.
Last updated