MediaSchedule
Example Request
curl https://api.planningcenteronline.com/services/v2/media/{media_id}/media_schedules
View in API Explorer →
Example Object
{
"type": "MediaSchedule",
"id": "1",
"attributes": {
"plan_dates": "string",
"plan_short_dates": "string",
"plan_sort_date": "2000-01-01T12:00:00Z",
"service_type_name": "string"
},
"relationships": {
"plan": {
"data": {
"type": "Plan",
"id": "1"
}
},
"service_type": {
"data": {
"type": "ServiceType",
"id": "1"
}
}
}
}
Attributes
| Name |
Type |
Description |
id |
primary_key |
|
plan_dates |
string |
|
plan_short_dates |
string |
|
plan_sort_date |
date_time |
|
service_type_name |
string |
|
Relationships
| Name |
Type |
Association Type |
Note |
| plan |
Plan |
to_one |
|
| service_type |
ServiceType |
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/media/{media_id}/media_schedules |
Reading
| HTTP Method |
Endpoint |
| GET |
/services/v2/media/{media_id}/media_schedules/{id} |
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/services/v2/media/{media_id}/media_schedules |
Media
|
|
|