Path/Training Series Assignment

assignmentCreated.path/assignmentCompleted.path/ assignmentDeleted.path webhook events

See Introduction to Webhooks for details on the user object.

{
  "eventType": "assignmentCreated.path",
  "timestamp": 17265103952580,
  "user": {},
  "path": {
    "id": "baseba11-f00d-c0de-beef-b1adeddecade",
    "displayTitle": "An Example Path",
    "totalTimeEstimate": 1234
  },
  "pathAssignment": {},
  "assignmentCompletionUserReportUrl": "url to view the user's assignment report"
}

path fields

FieldTypeDescription
idstringunique identifier of the path
displayTitlestringdisplay title of the path
totalTimeEstimateintegertime estimate in seconds to complete the path

pathAssignment object

FieldTypeDescription
idstringunique identifier of the assignment
assignedFrominteger(optional) where the assignment was assigned from
assignerIdinteger(optional) unique identifier of the assigning user
completionPercentageintegerpercentage complete of the assignment
numModulesintegernumber of modules
numModulesCompletedintegernumber of modules completed
numModulesFailedintegernumber of modules failed
numModulesGradedintegernumber of modules graded
overallGradeinteger(optional) overall grade out of 100 of the assignment
statusstringstatus of the assignment. one of ["assigned", "not_started", "in_progress", "overdue", "needs_grading", "completed", "failed"]
timeSpent.integertime spent on the assignment in seconds
isArchivedbooleanassignment is archived?
isBulkCompletingbooleanassignment is bulk completing?
isCompletedbooleanassignment is completed?
isFailedbooleanassignment is failed?
isPassedbooleanassignment is passed?
isSubmittedOnTimeboolean(optional) was the assignment submitted on time?
completedAtinteger(optional) timestamp when the assignment was completed
createdAtintegertimestamp when the assignment was created
dueDateinteger(optional) timestamp when the assignment is due
expiresAtinteger(optional) timestamp when the assignment will expire
firstViewedAtinteger(optional) timestamp when the assignment was first viewed by the user
updatedAtintegertimestamp when the assignment was last updated
📘

Timestamps

Timestamps are UNIX-style with milliseconds, eg 1675816954321 is Wed Feb 08 2023 00:42:34 GMT+0000

Example JSON

{
  "assignment": {
    "id": "01920102-13fa-753c-9e88-285d92558c09",
    "assignedFrom": "admin_console",
    "assignerId": 2,
    "completionPercentage": 0,
    "isArchived": false,
    "isBulkCompleting": false,
    "isCompleted": false,
    "isCompleted": false,
    "isFailed": false,
    "isSubmittedOnTime": null,
    "numModules": 1,
    "numModulesCompleted": 0,
    "numModulesFailed": 0,
    "numModulesGraded": 0,
    "overallGrade": null,
    "status": "not_started",
    "completedAt": null,
    "createdAt": 1726593766394,
    "dueDate": null,
    "expiresAt": 1726691922042,
    "firstViewedAt": null,
    "updatedAt": 1726593766394
  }
}