ServiceTime
A ServiceTime Resource
{
"type": "ServiceTime",
"id": "1",
"attributes": {
"day": "value",
"description": "string",
"start_time": 1
},
"relationships": {
"organization": {
"data": {
"type": "Organization",
"id": "1"
}
},
"campus": {
"data": {
"type": "Campus",
"id": "1"
}
}
}
}
| Name |
Type |
Description |
day |
string |
Possible values: sunday, monday, tuesday, wednesday, thursday, friday, or saturday
|
description |
string |
|
id |
primary_key |
|
start_time |
integer |
|
| Name |
Type |
Association Type |
Note |
| organization |
Organization |
to_one |
|
| campus |
Campus |
to_one |
|
| Parameter |
Value |
Type |
Description |
| order |
time |
string |
prefix with a hyphen (-time) to reverse the order
|
| 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
|
| HTTP Method |
Endpoint |
| GET |
/people/v2/campuses/{campus_id}/service_times |
Reading
| HTTP Method |
Endpoint |
| GET |
/people/v2/campuses/{campus_id}/service_times/{id} |
Creating
| HTTP Method |
Endpoint |
Assignable Attributes |
| POST |
/people/v2/campuses/{campus_id}/service_times |
- start_time
- day
- description
|
Notes:
Must be an Organization Administrator
Updating
| HTTP Method |
Endpoint |
Assignable Attributes |
| PATCH |
/people/v2/campuses/{campus_id}/service_times/{id} |
- start_time
- day
- description
|
Notes:
Must be an Organization Administrator
Deleting
| HTTP Method |
Endpoint |
| DELETE |
/people/v2/campuses/{campus_id}/service_times/{id} |
Notes:
Must be an Organization Administrator
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/people/v2/campuses/{campus_id}/service_times |
Campus
|
|
|