How does Motimate map xAPI statements?

Here is an overview of statement mapping if you are using the Experience API (xAPI) with Motimate.

Make sure to read about how to use Experience API if you would like to use xAPI with motimate.

We have statement mapping for the following objects:

This documentation was last updated: 15 January 2021.

Moti

"statement": {
"actor": {
"name": "{employee_number}|{full_name}|{phone_number}|{user_id}",
"openid": "https://{motispace}.motimateapp.com/user/{useropenid}",
"objectType": "Agent"
},
"verb": {
"display": {
"en-US": "COMPLETED"
},
"id": "http://adlnet.gov/expapi/verbs/completed"
},
"object": {
"definition": {
"type": "http://adlnet.gov/expapi/activities/course",
"extensions": {
"https://xapi.motimateapp.com/extension/chapters_count": {motichaptercount},
"https://xapi.motimateapp.com/extension/course_title": "{motititle}"
}
},
"id": "https://{motispace}.motimateapp.com/course/{motiid}",
"objectType": "Activity"
}

Package

{
"stored": "2021-01-28T15:04:30.409Z",
"active": true,
"completedForwardingQueue": [],
"failedForwardingLog": [],
"client": "5cf92eae9e36cb0424cea",
"lrs_id": "5cf92eae9e36cb04f4ce9",
"completedQueues": [],
"activities": [
"https://{motispace}.motimateapp.com/package/322"
],
"hash": "d9754d536c52e9b1ff1a2afb9cb36a06669",
"agents": [
"https://{motispace}.motimateapp.com/user/{user_id}"
],
"statement": {
"actor": {
"name": "{employee_number}|{full_name}|{phone_number}|{user_id}",
"openid": "https://{motispace}.motimateapp.com/user/{useropenid}",
"objectType": "Agent"
},
"verb": {
"display": {
"en-US": "COMPLETED"
},
"id": "http://adlnet.gov/expapi/verbs/completed"
},
"object": {
"definition": {
"type": "http://adlnet.gov/expapi/activities/package",
"extensions": {
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/8507": {
"https://xapi.motimateapp.com/extension/course_title": "12"
},
"https://xapi.motimateapp.com/extension/section/8960": {
"https://xapi.motimateapp.com/extension/course_title": "fdfsdf"
}
}
}
},
"id": "https://{motispace}.motimateapp.com/package/322",
"objectType": "Activity"
},
"timestamp": "2021-01-28T16:04:30+01:00",
"id": "7b344082-3f01-467c-9ee2-4a317c84adec",
"stored": "2021-01-28T15:04:30.409Z",
"authority": {
"objectType": "Agent",
"name": "Reader",
"mbox": "mailto:services@example.com"
},
"version": "1.0.0"
},
"hasGeneratedId": false,
"deadForwardingQueue": [],
"voided": false,
"verbs": [
"http://adlnet.gov/expapi/verbs/completed"
],
"processingQueues": [],
"person": null,
"timestamp": "2021-01-28T15:04:30.000Z",
"relatedActivities": [
"https://{motispace}.motimateapp.com/package/322"
],
"relatedAgents": [
"https://{motispace}.motimateapp.com/user/691927a1e6cd5e8a39b80b4a01004eda09a9efe7e31780625fa6",
"mailto:services@example.com"
],
"organisation": "5cf90d3a53101009db13a",
"_id": "6012d27e79f39d5d49fe8",
"registrations": [],
"pendingForwardingQueue": []
}

Learning Path

{
"stored": "2021-01-28T15:11:37.346Z",
"active": true,
"completedForwardingQueue": [],
"failedForwardingLog": [],
"client": "5cf92eae9e36c16f4cea",
"lrs_id": "5cf92eae9e36c16f4ce9",
"completedQueues": [],
"activities": [
"https://{motispace}.motimateapp.com/learning_path/13"
],
"hash": "062d15b97e64515f0462abbae5b49de54ba8d7c2",
"agents": [
"https://{motispace}.motimateapp.com/user/691929f4014911fc67a1e6cd5e8a39b80b4a01004eda09a9efe7e31780625fa6"
],
"statement": {
"actor": {
"name": "{employee_number}|{full_name}|{phone_number}|{user_id}",
"openid": "https://{motispace}.motimateapp.com/user/{useropenid}",
"objectType": "Agent"
},
"verb": {
"display": {
"en-US": "COMPLETED"
},
"id": "http://adlnet.gov/expapi/verbs/completed"
},
"object": {
"definition": {
"type": "http://adlnet.gov/expapi/activities/learningpath",
"extensions": {
"https://xapi.motimateapp.com/extension/sections": {
"https://xapi.motimateapp.com/extension/section/19": {
"https://xapi.motimateapp.com/extension/section_contens": {
"https://xapi.motimateapp.com/extension/section_contents/304": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/course",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/4214": {
"https://xapi.motimateapp.com/extension/course_title": "001 a test"
}
}
},
"https://xapi.motimateapp.com/extension/section_contents/305": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/course",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/3441": {
"https://xapi.motimateapp.com/extension/course_title": "00moti"
}
}
},
"https://xapi.motimateapp.com/extension/section_contents/306": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/package",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/5431": {
"https://xapi.motimateapp.com/extension/course_title": "Training"
},
"https://xapi.motimateapp.com/extension/section/5513": {
"https://xapi.motimateapp.com/extension/course_title": "event block6 R"
}
}
},
"https://xapi.motimateapp.com/extension/section_contents/307": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/package",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/6783": {
"https://xapi.motimateapp.com/extension/course_title": "M1"
},
"https://xapi.motimateapp.com/extension/section/6784": {
"https://xapi.motimateapp.com/extension/course_title": "M2"
}
}
},
"https://xapi.motimateapp.com/extension/section_contents/308": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/course",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/5975": {
"https://xapi.motimateapp.com/extension/course_title": "ABC"
}
}
},
"https://xapi.motimateapp.com/extension/section_contents/485": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/course",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/10273": {
"https://xapi.motimateapp.com/extension/course_title": "all languages EN"
}
}
},
"https://xapi.motimateapp.com/extension/section_contents/486": {
"https://xapi.motimateapp.com/extension/section_content_type": "http://adlnet.gov/expapi/activities/course",
"https://xapi.motimateapp.com/extension/courses": {
"https://xapi.motimateapp.com/extension/section/10267": {
"https://xapi.motimateapp.com/extension/course_title": "VA 01-18"
}
}
}
}
}
}
}
},
"id": "https://{motispace}.motimateapp.com/learning_path/13",
"objectType": "Activity"
},
"timestamp": "2021-01-28T16:11:37+01:00",
"id": "582acf7f-7ef9-4954-a2d9-24a33f74bb83",
"stored": "2021-01-28T15:11:37.346Z",
"authority": {
"objectType": "Agent",
"name": "Reader",
"mbox": "mailto:services@example.com"
},
"version": "1.0.0"
},
"hasGeneratedId": false,
"deadForwardingQueue": [],
"voided": false,
"verbs": [
"http://adlnet.gov/expapi/verbs/completed"
],
"processingQueues": [],
"person": null,
"timestamp": "2021-01-28T15:11:37.000Z",
"relatedActivities": [
"https://{motispace}.motimateapp.com/learning_path/123"
],
"relatedAgents": [
"https://{motispace}.motimateapp.com/user/691929f4014911fc67a1e6cd5e8a39b80b4a01004eda09a9efe7e31780625fa6",
"mailto:services@example.com"
],
"organisation": "5cf90d3a53101005719db13a",
"_id": "6012d42979f39d5d497edfeb",
"registrations": [],
"pendingForwardingQueue": []
}