The payload will be as follows below. The key data points are outlined below as well.

Payload

{
"data": {
"type": "activity_completed_events",
"attributes": {
"created_at": "2016-05-10T13:45:56Z",
"value": "10",
"course_attempt_number": 1
},
"relationships": {
"person": {
"data": {
"type": "people",
"id": "3d5fa34e-964d-4179-b9bf-eb8a970e22c8"
}
},
"course": {
"data": {
"type": "courses",
"id": "7fecae7c-9e9a-4b3a-b113-8506c7550195"
}
},
"activity": {
"data": {
"type": "activities",
"id": "7523nc-0g821-25839-ug8d-3562854006c7523"
}
}
},
"included": [
{
"type": "people",
"id": "3d5fa34e-964d-4179-b9bf-eb8a970e22c8",
"attributes": {
"created_at": "2016-05-10T13:45:40Z",
"name": "",
"sso_uid": "12358953437985724524",
"updated_at": "2016-05-20T13:45:40Z"
},
"links": {
"self": "http://api.schoolkeep.com/v1/people/3d5fa34e-964d-4179-b9bf-eb8a970e22c8"
}
},
{
"type": "activities",
"id": "7523nc-0g821-25839-ug8d-3562854006c7523",
"attributes": {
"title": "First activity",
"course_name": "Intro course"
}
},
{
"type": "courses",
"id": "7fecae7c-9e9a-4b3a-b113-8506c7550195",
"attributes": {
"name": "Intro course",
"permalink": "epz3sy",
"created_at": "2014-11-26T22:05:23Z",
"updated_at": "2015-06-23T13:48:46Z"
},
"links": {
"self": "http://api.schoolkeep.com/v1/courses/epz3sy",
"teaching": "http://app.schoolkeep.com/courses/epz3sy",
"build": "http://app.schoolkeep.com/courses/epz3sy/builder"
}
}
]
}
}
Did this answer your question?