Skip to main content
https://.thoughtindustries.com

Forgive

Forgives a failed assessment attempt, marking it as passed regardless of the learner's original score

Forgives a failed assessment attempt, marking it as passed regardless of the learner's original score.

PUThttps://example.thoughtindustries.com/incoming/v2/assessmentAttempts/:id/forgive

Example request

curl -X PUT "https://example.thoughtindustries.com/incoming/v2/assessmentAttempts/:id/forgive" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'

Parameters

NameTypeRequiredLocationDescription
iduuidYespathThe unique identifier of the assessment attempt to forgive.

Example response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "user": {
    "id": "00000000-0000-0000-0000-000000000000",
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "externalCustomerId": "00000000-0000-0000-0000-000000000000"
  },
  "course": {
    "id": "00000000-0000-0000-0000-000000000000",
    "title": "string"
  },
  "assessment": {
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "string",
    "title": "string"
  },
  "grade": 0,
  "passed": true,
  "forgiven": true
}

Response fields

FieldTypeDescription
iduuidUnique identifier of the assessment attempt.
userUserUser who made the attempt.
user.iduuidUnique identifier of the user.
user.emailstringEmail address of the user.
user.firstNamestringFirst name of the user.
user.lastNamestringLast name of the user.
user.externalCustomerIduuidExternal customer identifier associated with the user.
courseCourseCourse the assessment attempt belongs to.
course.iduuidUnique identifier of the course.
course.titlestringTitle of the course.
assessmentAssessmentAssessment the attempt belongs to.
assessment.iduuidUnique identifier of the assessment.
assessment.typestringType of the assessment.
assessment.titlestringTitle of the assessment.
gradeintegerGrade recorded for the attempt.
passedbooleanIndicates whether the attempt passed.
forgivenbooleanIndicates whether the attempt was forgiven.