Skip to main content
GET /partner/v1/cases/{id}/extraction
Returns structured data extracted from all education credentials in the case. Returns 400 if no upload in the case was created with the extraction feature.

Path parameters

id
string
required
TruEnroll case ID.

Response fields

data
object

Field reference

Credential

FieldTypeDescription
credentialIdstringUnique credential ID. 24-character hex string.
uploadIdstring | nullID of the upload that produced this credential. 24-character hex string.
credentialTypestring | nullDocument category assigned by classification. One of: Academic Credentials · Application · Professional · Identity · Legal · Financial · Healthcare & Licensure · Institutional & Administrative · Uncategorized
statusstringqueued · processing · completed · failed
languagestring | nullHuman-readable language name of the original document, e.g. English.
languageCodestring | nullISO 639-1 two-letter language code, e.g. en, zh, ar.
markSheetMissingboolean | nulltrue if the document appears to be missing a mark sheet.

Candidate

FieldTypeDescription
fullNamestring | nullFull name as it appears on the document. Not normalized — reflects original formatting.
firstNamestring | nullFirst name extracted from the document.
lastNamestring | nullLast name extracted from the document.
dateOfBirthstring | nullDate of birth. Format: MM/DD/YYYY.

Institution

FieldTypeDescription
namestring | nullInstitution name as it appears on the document.
countrystring | nullFull country name, e.g. Canada.
countryCodestring | nullISO 3166-1 alpha-2 two-letter country code, e.g. CA.
statestring | nullFull state or province name, e.g. Ontario.
stateCodestring | nullISO 3166-2 subdivision code, e.g. CA-ON.
accreditation.isAccreditedboolean | nullWhether the institution is accredited per TruEnroll’s reference data.
accreditation.isRecognizedboolean | nullWhether the institution is recognized per TruEnroll’s reference data.
accreditation.lastCheckedstring | nullISO 8601 UTC datetime of the last accreditation check, e.g. 2025-06-01T00:00:00Z.

Qualification

FieldTypeDescription
namestring | nullDegree name as stated on the document, e.g. Bachelor of Science.
levelstring | nullDegree level. Typical values: SECONDARY · HIGHER_SECONDARY · BACHELORS · MASTERS · DOCTORATE · POST_DOCTORATE · DIPLOMA · POST_GRADUATE_DIPLOMA · OTHER
programstring | nullProgram or field of study name.
majorOrSpecializationstring | nullMajor or area of specialization within the program.
statusstring | nullQualification status. One of: PURSUING · COMPLETED · INCONCLUSIVE · WITHDRAWN
registrationNumberstring | nullStudent registration or roll number as on the document.
yearOfAdmissionnumber | null4-digit year the candidate was admitted, e.g. 2019.
yearOfCompletionnumber | null4-digit year the candidate completed the program, e.g. 2023.
programDurationnumber | nullNominal duration of the program in years, e.g. 4.
dateOfIssuestring | nullDate the credential was issued. Format: MM/DD/YYYY.
cgpanumber | nullCumulative GPA as stated on the document. Scale varies by institution.
totalCreditsOrMarksnumber | nullTotal credits or aggregate marks as stated on the document.

Courses

FieldTypeDescription
idstringInternal course record ID.
courseNumberstring | nullCourse code as on the transcript, e.g. CSC148.
courseNamestring | nullCourse title as on the transcript.
creditnumber | nullCredit units assigned to the course.
gradestring | nullGrade as on the transcript — letter, percentage, or other notation.
alternateGradestring | nullSecondary grade representation if the document shows two grading systems.
gradePointnumber | nullNumeric grade point, e.g. 3.7. Scale depends on the institution.
marksScorednumber | nullMarks obtained by the candidate.
maximumMarksnumber | nullMaximum marks possible for the course.
passStatusstring | nullPass/fail result. One of: PASS · FAIL · INCOMPLETE · WITHDRAWN · AUDIT · UNKNOWN
termstring | nullAcademic term label, e.g. Fall, Spring, Semester 1.
sessionnumber | nullNumeric academic session identifier.
yearnumber | null4-digit year the course was taken, e.g. 2022.

Example

{
  "success": true,
  "message": "Extraction retrieved",
  "data": {
    "id": "6850abc123def456ghi789",
    "externalId": "applicant-9876",
    "credentials": [
      {
        "credentialId": "6850ghi789abc123def456",
        "uploadId": "6850def456ghi789abc123",
        "credentialType": "Academic Credentials",
        "status": "completed",
        "languageCode": "en",
        "language": "English",
        "markSheetMissing": null,
        "candidate": {
          "fullName": "Jane Smith",
          "firstName": "Jane",
          "lastName": "Smith",
          "dateOfBirth": "1999-03-15"
        },
        "institution": {
          "name": "University of Toronto",
          "country": "Canada",
          "countryCode": "CA",
          "state": null,
          "stateCode": null,
          "accreditation": null
        },
        "qualification": {
          "name": "Bachelor of Science",
          "level": "Undergraduate",
          "program": null,
          "majorOrSpecialization": "Computer Science",
          "status": "Completed",
          "yearOfAdmission": 2017,
          "yearOfCompletion": 2021,
          "programDuration": 4,
          "cgpa": 3.72,
          "totalCreditsOrMarks": 120,
          "registrationNumber": null,
          "dateOfIssue": null
        },
        "courses": [
          {
            "id": "course_001",
            "courseNumber": "CSC148",
            "courseName": "Introduction to Computer Science",
            "credit": 0.5,
            "grade": "A",
            "gradePoint": 4.0,
            "marksScored": null,
            "maximumMarks": null,
            "passStatus": null,
            "term": "Fall",
            "year": 2017
          }
        ]
      }
    ]
  }
}