ScormApi

Gets data for the specified SCORM CMI fields based on the element names. Results are ordered alphabetically by SCO ID. Requires the View Section Enrollments permission in the enrollment organization or an ancestor.

post
Query parameters
pageinteger · int32Optional

Which page of results to start on

per_pageinteger · int32Optional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains information for filtering which SCORM CMI data to retrieve

enrollment_idstring · uuidRequired

Id of the enrollment to get SCORM data for

Example: 00000000-0000-0000-0000-000000000000
assignment_idstring · uuidRequired

Id of the assignment to get SCORM data for

Example: 00000000-0000-0000-0000-000000000000
cmi_element_namesstring[]Required

List of CMI element names to get data for

Responses
200

List of SCOs and corresponding CMI data

post
POST /api/v1/ScormApi/GetCmiData HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "enrollment_id": "00000000-0000-0000-0000-000000000000",
  "assignment_id": "00000000-0000-0000-0000-000000000000",
  "cmi_element_names": [
    "text"
  ]
}
[
  {
    "title": "text",
    "sco_id": "text",
    "start_date_utc": "2025-09-13T12:09:34.390Z",
    "exit_date_utc": "2025-09-13T12:09:34.390Z",
    "cmi_fields": [
      {
        "cmi_element_name": "text",
        "cmi_element_value": "text",
        "error_message": "text"
      }
    ],
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

Edits data for a student's SCORM courseware attempt and corresponding history (if applicable) based on the supplied assignment status id and SCO id. If a field is not passed in, the value will remain unchanged. Requires the Update Section Enrollments permission in the assignment status enrollment organization or an ancestor.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains fields for editing a student's SCORM courseware attempt

assignment_status_idstring · uuidRequired

Id of the assignment status to edit SCORM data for

Example: 00000000-0000-0000-0000-000000000000
sco_idstringRequired

ScoId from GetCmiData

titlestringOptional

Title for the lesson

start_date_utcstring · date-timeOptional

When this attempt was started

exit_date_utcstring · date-timeOptional

When the user exited this attempt

lesson_modestringOptional

"browse", "normal", or "review"

lesson_statusstringOptional

This is the current student status as determined by the LMS system. "passed", "completed", "failed", "incomplete", "browsed", or "not attempted"

lesson_locationstringOptional

This corresponds to the point in the lesson at which the student exited the SCO. This can be used to determine where the student will start the course the next time it is launched.

exit_statusstringOptional

Indicates how the learner left the SCO. "normal" or "suspend"

session_timestringOptional

Identifies the amount of time the learner has spent in the current instance of the SCO.

total_timestringOptional

Stores the learner’s cumulative time for all sessions of a specific SCO for a given learner attempt.

raw_scorenumber · floatOptional

Number that reflects the performance of the learner

suspend_datastringOptional

Provides space to store and retrieve data between learner sessions

entrystringOptional

Indicates whether the learner has previously accessed the SCO. "ab-initio", "resume", or "" (empty string)

preference_languagestringOptional

The student’s preferred language for SCOs with multilingual capability

preference_speedinteger · int32Optional

The learner’s preferred relative speed of content delivery

for_creditbooleanOptional

Indicates whether the learner will be credited for performance in the SCO

Responses
200

Base error response

post
POST /api/v1/ScormApi/EditScormData HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 432

{
  "assignment_status_id": "00000000-0000-0000-0000-000000000000",
  "sco_id": "text",
  "title": "text",
  "start_date_utc": "2025-09-13T12:09:34.390Z",
  "exit_date_utc": "2025-09-13T12:09:34.390Z",
  "lesson_mode": "text",
  "lesson_status": "text",
  "lesson_location": "text",
  "exit_status": "text",
  "session_time": "text",
  "total_time": "text",
  "raw_score": 1,
  "suspend_data": "text",
  "entry": "text",
  "preference_language": "text",
  "preference_speed": 1,
  "for_credit": true
}
{
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}