API
⌘K
My Developer Account

LocationEventTime

Counts check-ins for a location for a given event time. This is useful for checking occupancy.

Example Request

curl https://api.planningcenteronline.com/check-ins/v2/event_times/{event_time_id}/location_event_times

View in API Explorer →

Example Object

{
  "type": "LocationEventTime",
  "id": "1",
  "attributes": {
    "created_at": "2000-01-01T12:00:00Z",
    "guest_count": 1,
    "regular_count": 1,
    "updated_at": "2000-01-01T12:00:00Z",
    "volunteer_count": 1
  },
  "relationships": {}
}

Attributes

Name Type Description
created_at date_time
guest_count integer
id primary_key
regular_count integer
updated_at date_time
volunteer_count integer

Can Include

Parameter Value Description Assignable
include event_time include associated event_time
include location include associated location

Query By

Name Parameter Type Description Example
created_at where[created_at] date_time Query on a specific created_at ?where[created_at]=2000-01-01T12:00:00Z
updated_at where[updated_at] date_time Query on a specific updated_at ?where[updated_at]=2000-01-01T12:00:00Z

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/event_times/{event_time_id}/location_event_times

Reading

HTTP Method Endpoint
GET /check-ins/v2/event_times/{event_time_id}/location_event_times/{id}

Associations

HTTP Method Endpoint Returns Details Filter By
GET https://api.planningcenteronline.com/check-ins/v2/event_times/{event_time_id}/location_event_times/{location_event_time_id}/check_ins CheckIn
  • attendee
  • checked_out
  • first_time
  • guest
  • not_checked_out
  • not_one_time_guest
  • one_time_guest
  • regular
  • volunteer
GET https://api.planningcenteronline.com/check-ins/v2/event_times/{event_time_id}/location_event_times/{location_event_time_id}/event_time EventTime
GET https://api.planningcenteronline.com/check-ins/v2/event_times/{event_time_id}/location_event_times/{location_event_time_id}/location Location

Belongs To

HTTP Method Endpoint Association Details Filter By
GET https://api.planningcenteronline.com/check-ins/v2/event_times/{event_time_id}/location_event_times EventTime
GET https://api.planningcenteronline.com/check-ins/v2/check_ins/{check_in_id}/locations/{location_id}/location_event_times Location