The payload will be as follows below. The key data points are outlined below as well.
Payload
{
"data": {
"type": "person_invited_events”,
"id": “12345678-182b-4013-bdcd-91aa8ae54a95",
"attributes": {
"created_at": "2018-05-30T12:41:47Z"
},
"included": [
{
"attributes": {
"created_at": "2018-05-30T12:41:47Z",
"email": "person@example.com",
"unsubscribed": false,
"updated_at": "2018-05-30T12:41:47Z"
},
"id": "5231f5fa-886c-4dd3-bfe5-39c08bc88533",
"links": {
"self": "http://api.northpass.com/v1/people/12345678-886c-4dd3-bfe5-39c08bc88533",
"teaching": "http://app.northpass.com/people/12345678-886c-4dd3-bfe5-39c08bc88533"
},
"relationships": {
"school": {
"data": {
"id": “12345678-9e23-43c6-8f1b-54df7d28f054",
"type": "schools"
}
}
},
"type": "people"
}
],
"links": {},
"relationships": {
"person": {
"data": {
"id": “12345678-886c-4dd3-bfe5-39c08bc88533",
"type": "people"
}
}
}
}
}