Brightspace Data Streams (July 2023)

OrgUnitEvent

«  Impersonation_End Event   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Reading Events  »

OrgUnitEventΒΆ

OrgUnitEvent is posted when an OrgUnit is created, updated, recycled, deleted, or restored. The actor is the person who made the change, and the object is the OrgUnit that was affected. The event object has the following form:

{
        "id": "<EventUUID>",
        "timestamp": "<UTCDateTimeString>",
        "actor": {
                "account": {
                        "homePage": "https://<TenantUUID>.lms.d2l.com/",
                        "name": "urn:uuid:<UserUUID>"
                }
        },
        "verb": {
                "id": "https://api.brightspace.com/xapi/verbs/<OrgUnitVerb>"
        },
        "object": {
                "objectType": "Activity",
                "id": "urn:uuid:<OrgUnitUUID>",
                "definition": {
                        "type": "https://api.brightspace.com/xapi/activities/organization/org_unit"
                }
        },
        "context": {
                "contextActivities": {
                        "category": [
                                {
                                        "id": "https://api.brightspace.com/xapi/profiles/brightspace-activity-v1p0.jsonld"
                                }
                        ]
                },
                "registration": "<ContextUUID>",
                "extensions": {
                        "https://api.brightspace.com/xapi/extension_keys/context/actor": {
                                "userId": "<BrightspaceUserIdNumber>",
                                "imsRoleIds": [ <IMSRoles> ],
                                "impersonatingUserId": "<BrightspaceImpersonatingUserIdNumber>",
                                "roleId": "<BrightspaceRoleIdNumber>"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/object": {
                                "id": "<BrightspaceOrgUnitIdNumber>"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/context": {
                                "tenantId": "<TenantUUID>",
                                "originalEventId": "<InternalEventUUID>",
                                "orgUnitType": "<BrightspaceOrgUnitTypeString>",
                                "orgUnitId": "<BrightspaceOrgUnitIdNumber>"
                        }
                }
        }
}

Notes:

<OrgUnitVerb>

may be one of

created
deleted
recycled
updated
restored
<ContextUUID>

a unique identifier created by an algorithm that uses the OrgUnitID, TenantID and ContextID as input.

impersonatingUserID

only present if the user is being impersonated by a different user. If this field is present, then the Actor information refers to the person being impersonated, not the impersonator.

originalEventId

only provided for use by D2L personnel if needed for troubleshooting.

See Fundamental xAPI Concepts for information on other fields.

«  Impersonation_End Event   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Reading Events  »