API
⌘K
My Developer Account

ItemTime

Example Request

curl https://api.planningcenteronline.com/services/v2/songs/{song_id}/last_scheduled_item/{last_scheduled_item_id}/item_times

View in API Explorer →

Example Object

{
  "type": "ItemTime",
  "id": "1",
  "attributes": {
    "exclude": true,
    "length": 1,
    "length_offset": 1,
    "live_end_at": "2000-01-01T12:00:00Z",
    "live_start_at": "2000-01-01T12:00:00Z"
  },
  "relationships": {
    "item": {
      "data": {
        "type": "Item",
        "id": "1"
      }
    },
    "plan_time": {
      "data": {
        "type": "PlanTime",
        "id": "1"
      }
    },
    "plan": {
      "data": {
        "type": "Plan",
        "id": "1"
      }
    }
  }
}

Attributes

Name Type Description
exclude boolean
id primary_key
length integer
length_offset integer
live_end_at date_time
live_start_at date_time

Relationships

Name Type Association Type Note
item Item to_one
plan_time PlanTime to_one
plan Plan to_one

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 /services/v2/songs/{song_id}/last_scheduled_item/{last_scheduled_item_id}/item_times

Reading

HTTP Method Endpoint
GET /services/v2/songs/{song_id}/last_scheduled_item/{last_scheduled_item_id}/item_times/{id}

Belongs To

HTTP Method Endpoint Association Details Filter By
GET https://api.planningcenteronline.com/services/v2/service_types/{service_type_id}/plans/{plan_id}/items/{item_id}/item_times Item
GET https://api.planningcenteronline.com/services/v2/series/{series_id}/plans/{plan_id}/live/{live_id}/current_item_time Live
GET https://api.planningcenteronline.com/services/v2/series/{series_id}/plans/{plan_id}/live/{live_id}/next_item_time Live