Event messages come in the following form:

{
	type: <string>,
	payloads: array<message>
}
CODE


ParameterDescription
typemessage type
payloads array of messages

Messages examples

COURSE_COMPLETED_SUCCESSFULLY

{
    "courseId": "<string uuid>",
    "learnerId": "string uuid>"
    "enrollmentIds": [
        "<string uuid>",
        "<string uuid>"
    "completionDate": "<int nanoseconds>"
}
CODE


COURSE_ITEM_COMPLETED_SUCCESSFULLY

{
    "courseItemId": "<string uuid>",
    "learnerId": "string uuid>"
    "enrollmentIds": [
        "<string uuid>",
        "<string uuid>"
    "completionDate": "<int nanoseconds>"
}
CODE


COURSE_STATUS_CHANGED

{
    "courseId": "<string uuid>",
    "learnerId": "<string uuid>",
    "enrollmentId": "<string uuid>"
}
CODE


COURSE_ITEM_STATUS_CHANGED

{
    "courseItemId": "<string uuid>",
    "learnerId": "<string uuid>",
    "enrollmentId": "<string uuid>",
}
CODE


LEARNERS_ENROLLED_IN_COURSE

{
    "learnerIds": [
        "<string uuid>",
        "<string uuid>"
    ],
    "courseId": "<string uuid>"
}
CODE


TRAINING_MEETING_ADDED

{
    "meetingId": "<string uuid>",
    "sessionId": "<string uuid>",
    "sourceIds":  [
        "<string uuid>",
      "<string uuid>"
    ]
}
CODE


TRAINING_MEETING_REMOVED

{
    "meetingId": "<string uuid>",
    "sessionId": "<string uuid>",
    "sourceIds": [
        "<string uuid>",
        "<string uuid>"
    ],
    "removedWithSession": boolean
}
CODE


TRAINING_MEETING_UPDATED

{
    "meetingId": "<string uuid>",
    "sessionId": "<string uuid>">,
    "updatedAttributes": "<string[] (time_range|location|url)> "
}
CODE


TRAINING_SESSION_PARTICIPANT_REMOVED

{
    "sessionId": "<string uuid>",
    "participantId": "<string uuid>"
}
CODE


TRAINING_SESSION_PARTICIPANTS_ADDED

{
    "sessionId": "<string uuid>",
    "participantIds": [
        "<string uuid>",
        "<string uuid>"
    ]
}
CODE


USER_REGISTERED

{
    "userId": "<string uuid>",
    "departmentId": "<string uuid>",
    "login": "<string>"|null,
    "email": "<string>"|null
}
CODE