BlockoutException
A single exception for the dates generated from the blockout
Example Request
curl https://api.planningcenteronline.com/services/v2/people/{person_id}/blockouts/{blockout_id}/blockout_exceptions
View in API Explorer →
Example Object
{
"type": "BlockoutException",
"id": "1",
"attributes": {
"created_at": "2000-01-01T12:00:00Z",
"date": "2000-01-01",
"updated_at": "2000-01-01T12:00:00Z"
},
"relationships": {
"blockout": {
"data": {
"type": "Blockout",
"id": "1"
}
}
}
}
Attributes
| Name |
Type |
Description |
created_at |
date_time |
|
date |
date |
|
id |
primary_key |
|
updated_at |
date_time |
|
Relationships
| Name |
Type |
Association Type |
Note |
| blockout |
Blockout |
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/people/{person_id}/blockouts/{blockout_id}/blockout_exceptions |
Reading
| HTTP Method |
Endpoint |
| GET |
/services/v2/people/{person_id}/blockouts/{blockout_id}/blockout_exceptions/{id} |
Creating
| HTTP Method |
Endpoint |
Assignable Attributes |
| POST |
/services/v2/people/{person_id}/blockouts/{blockout_id}/blockout_exceptions |
|
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/services/v2/people/{person_id}/blockouts/{blockout_id}/blockout_exceptions |
Blockout
|
|
|