ChannelDefaultTime
The default times for a channel
Example Request
curl https://api.planningcenteronline.com/publishing/v2/channels/{channel_id}/channel_default_times
View in API Explorer →
Example Object
{
"type": "ChannelDefaultTime",
"id": "1",
"attributes": {
"day_of_week": 1,
"frequency": "string",
"hour": 1,
"minute": 1,
"position": 1
},
"relationships": {}
}
Attributes
| Name |
Type |
Description |
day_of_week |
integer |
The day of the week. 0 is Sunday, 1 is Monday, etc.
|
frequency |
string |
Possible values: `weekly`
|
hour |
integer |
|
id |
primary_key |
|
minute |
integer |
|
position |
integer |
|
Order By
| Parameter |
Value |
Type |
Description |
| order |
position |
string |
prefix with a hyphen (-position) to reverse the order |
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 |
/publishing/v2/channels/{channel_id}/channel_default_times |
Reading
| HTTP Method |
Endpoint |
| GET |
/publishing/v2/channels/{channel_id}/channel_default_times/{id} |
Creating
| HTTP Method |
Endpoint |
Assignable Attributes |
| POST |
/publishing/v2/channels/{channel_id}/channel_default_times |
- day_of_week
- hour
- minute
- frequency
- position
|
Updating
| HTTP Method |
Endpoint |
Assignable Attributes |
| PATCH |
/publishing/v2/channels/{channel_id}/channel_default_times/{id} |
- day_of_week
- hour
- minute
- frequency
- position
|
Deleting
| HTTP Method |
Endpoint |
| DELETE |
/publishing/v2/channels/{channel_id}/channel_default_times/{id} |
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/publishing/v2/channels/{channel_id}/channel_default_times |
Channel
|
|
|