Retrieve an exam result
/products/{product_id}/exams/{exam_id}/results/{exam_result_id}A result shares the public ID of the attempt it comes from. Attempts that are still open or were discarded are not results.
The response includes an ETag representing the current revision, which can be sent in the If-Match header when deleting the result.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Public ID of the product, prefixed with prd_.
Public ID of the exam, prefixed with exm_.
Public ID of the exam result, prefixed with exa_.
Header Parameters
Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.
length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/products/string/exams/string/results/string"{ "data": { "correct_count": 0, "exam_id": "string", "finished_at": "2019-08-24T14:15:22Z", "id": "string", "lesson_id": "string", "min_score": 0, "object": "exam_result", "passed": true, "product_id": "string", "revision": "string", "score": 0, "started_at": "2019-08-24T14:15:22Z", "status": "open", "user": { "id": "string", "name": "string" }, "wrong_count": 0 }}List exam results GET
Returns the results of the exam. A result is an attempt that was completed and not discarded; attempts that ended because the time limit expired are also results.
Delete an exam result DELETE
Permanently deletes an exam result. A `reason` is required in the request body, and the deletion is recorded with its reason and author. The lesson that displays the exam is marked as not completed, the points awarded are reversed, and the user's certificate eligibility is recalculated. Certificates that were already issued are not revoked.