---
title: "BlockoutException (Services)"
description: "A single exception for the dates generated from the blockout"
---

> Documentation Index
> Fetch the complete documentation index at: https://planningcenterkit.mackenly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BlockoutException (Services)

A single exception for the dates generated from the blockout

| Property | Value |
| --- | --- |
| Product | [Services](/reference/services/) (`pco.services`, API version `2018-11-01`) |
| Resource type | `BlockoutException` |
| TypeScript | `Services.BlockoutException`, attributes `Services.BlockoutExceptionAttributes`, schema `Services.BlockoutExceptionSchema` |
| Planning Center path | `/services/v2/people/{person_id}/blockouts/{blockout_id}/blockout_exceptions` |
| Planning Center docs | [BlockoutException](https://api.planningcenteronline.com/docs/apps/services/versions/2018-11-01/vertices/blockout_exception) |

## How to reach it

| Client path | Returns | Filters | Create |
| --- | --- | --- | --- |
| `pco.services.people.id(personId).blockouts.id(blockoutId).blockout_exceptions` | Collection |  | Yes |

From a collection, `.id(blockoutExceptionId)` addresses one BlockoutException: `pco.services.people.id(personId).blockouts.id(blockoutId).blockout_exceptions.id(blockoutExceptionId)`. Collections support [`where`, `include`, `order`, and pagination](/guides/querying/); single resources have `get()`.

## Attributes

On `Services.BlockoutExceptionAttributes`. Every resource also has `id` and `type` (`'BlockoutException'`) next to its attributes.

| Name | Type | Description |
| --- | --- | --- |
| `created_at` | `string \| null` |  |
| `date` | `string \| null` |  |
| `updated_at` | `string \| null` |  |

## Relationships and includes

Planning Center documents no includes for this resource.

| Relationship | Type | To | Includable |
| --- | --- | --- | --- |
| `blockout` | To one | [Blockout](/reference/services/blockout/) | No |

## Querying

No documented `where` fields.

No documented `order` fields.

## Edges

This resource has no documented edges.

## Writing

| Property | Value |
| --- | --- |
| Create | Yes, `create()` on `blockout_exceptions` on [Blockout](/reference/services/blockout/) |
| Update | No |
| Delete | No |

### Create attributes

Typed as `Services.BlockoutExceptionSchema['create']`.

| Attribute | Type |
| --- | --- |
| `date` | `string \| null` |

See [Writing data](/guides/writing-data/).

## Example

```ts
import type { Services } from '@mackenly/planningcenterkit';

const personId = '1'; // Person id
const blockoutId = '1'; // Blockout id

const page = await pco.services.people.id(personId).blockouts.id(blockoutId).blockout_exceptions.perPage(25).list();
const items: Services.BlockoutException[] = page.data;
```

Source: https://planningcenterkit.mackenly.com/reference/services/blockout-exception/index.mdx
