The payload will be as follows below. The key data points are outlined below as well.
Payload
{
"data":{
"type":"person_activated_events",
"id":"6e1e2a2f-0105-40eb-9be2-e44ac12714db",
"attributes":{
"created_at":"2017-04-21T17:19:51Z"
},
"relationships":{
"person":{
"data":{
"type":"people",
"id":"4c9ead2d-294d-42ae-b683-2bdd45fd1613"
}
}
},
"links":{
},
"included":[{
"type":"people",
"id":"4c9ead2d-294d-42ae-b683-2bdd45fd1613",
"attributes":{
"activated_at":"2017-04-21T17:19:13Z",
"created_at":"2016-07-29T17:05:26Z",
"email":"person@example.com",
"first_name":"First Name",
"full_name":"Full Name",
"last_name":"Last Name",
"sso_uid":"unique-id",
"updated_at":"2017-04-21T17:19:13Z"
},
"links":{
"self":"http://api.schoolkeep.com/v1/people/4c9ead2d-294d-42ae-b683-2bdd45fd1613",
"teaching":"http://app.schoolkeep.com/people/4c9ead2d-294d-42ae-b683-2bdd45fd1613"
},
"relationships":{
"school":{
"data":{
"type":"schools",
"id":"8ba80eaf-3bb5-4533-ad3d-b1840ecfb4f8"
}
}
}
}]
}
}