| Property | Value |
|---|---|
| Product | Services (pco.services, API version 2018-11-01) |
| Resource type | Attendance |
| TypeScript | Services.Attendance, attributes Services.AttendanceAttributes, schema Services.AttendanceSchema |
| Planning Center path | /services/v2/series/{series_id}/plans/{plan_id}/attendances |
| Planning Center docs | Attendance |
How to reach it
| Client path | Returns | Filters | Create |
|---|---|---|---|
pco.services.series.id(seriesId).plans.id(planId).attendances |
Collection | No |
From a collection, .id(attendanceId) addresses one Attendance: pco.services.series.id(seriesId).plans.id(planId).attendances.id(attendanceId). Collections support where, include, order, and pagination; single resources have get().
Attributes
On Services.AttendanceAttributes. Every resource also has id and type ('Attendance') next to its attributes.
| Name | Type | Description |
|---|---|---|
check_ins_event_id |
string | null |
|
check_ins_event_period_id |
string | null |
|
checked_in_at |
string | null |
Relationships and includes
Planning Center documents no includes for this resource.
| Relationship | Type | To | Includable |
|---|---|---|---|
plan_person |
To one | PlanPerson | No |
plan_time |
To one | PlanTime | No |
Querying
No documented where fields.
No documented order fields.
Edges
This resource has no documented edges.
Writing
| Property | Value |
|---|---|
| Create | No |
| Update | No |
| Delete | No |
Example
import type { Services } from '@mackenly/planningcenterkit';
const seriesId = '1'; // Series id
const planId = '1'; // Plan id
const page = await pco.services.series.id(seriesId).plans.id(planId).attendances.perPage(25).list();
const items: Services.Attendance[] = page.data;