PersonEvent
Counts a person's attendence for a given event.
Example Request
curl https://api.planningcenteronline.com/check-ins/v2/events/{event_id}/person_events
View in API Explorer →
Example Object
{
"type": "PersonEvent",
"id": "1",
"attributes": {
"check_in_count": 1,
"created_at": "2000-01-01T12:00:00Z",
"updated_at": "2000-01-01T12:00:00Z"
},
"relationships": {}
}
Attributes
| Name |
Type |
Description |
check_in_count |
integer |
|
created_at |
date_time |
|
id |
primary_key |
|
updated_at |
date_time |
|
Can Include
| Parameter |
Value |
Description |
Assignable |
| include |
event |
include associated event |
|
| include |
first_check_in |
include associated first_check_in |
|
| include |
last_check_in |
include associated last_check_in |
|
| include |
person |
include associated person |
|
Pagination
| Name |
Parameter |
Type |
Description |
| per_page |
per_page |
integer |
how many records to return per page (min=1, max=100, default=25) |
| offset |
offset |
integer |
get results from given offset |
Endpoints
Listing
| HTTP Method |
Endpoint |
| GET |
/check-ins/v2/events/{event_id}/person_events |
Reading
| HTTP Method |
Endpoint |
| GET |
/check-ins/v2/events/{event_id}/person_events/{id} |
Associations
| HTTP Method |
Endpoint |
Returns |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/check-ins/v2/events/{event_id}/person_events/{person_event_id}/event |
Event
|
|
|
| GET |
https://api.planningcenteronline.com/check-ins/v2/events/{event_id}/person_events/{person_event_id}/first_check_in |
CheckIn
|
|
|
| GET |
https://api.planningcenteronline.com/check-ins/v2/events/{event_id}/person_events/{person_event_id}/last_check_in |
CheckIn
|
|
|
| GET |
https://api.planningcenteronline.com/check-ins/v2/events/{event_id}/person_events/{person_event_id}/person |
Person
|
|
|
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/check-ins/v2/events/{event_id}/person_events |
Event
|
|
|
| GET |
https://api.planningcenteronline.com/check-ins/v2/people/{person_id}/person_events |
Person
|
|
|