NoteCategorySubscription
A subscription for note categories
Example Request
curl https://api.planningcenteronline.com/people/v2/note_category_subscriptions
View in API Explorer →
Example Object
{
"type": "NoteCategorySubscription",
"id": "1",
"attributes": {
"created_at": "2000-01-01T12:00:00Z",
"updated_at": "2000-01-01T12:00:00Z"
},
"relationships": {
"person": {
"data": {
"type": "Person",
"id": "1"
}
},
"note_category": {
"data": {
"type": "NoteCategory",
"id": "1"
}
}
}
}
Attributes
| Name |
Type |
Description |
created_at |
date_time |
|
id |
primary_key |
|
updated_at |
date_time |
|
Relationships
| Name |
Type |
Association Type |
Note |
| person |
Person |
to_one |
|
| note_category |
NoteCategory |
to_one |
|
Can Include
| Parameter |
Value |
Description |
Assignable |
| include |
person |
include associated person |
create and update |
Order By
| Parameter |
Value |
Type |
Description |
| order |
created_at |
string |
prefix with a hyphen (-created_at) to reverse the order |
| order |
updated_at |
string |
prefix with a hyphen (-updated_at) to reverse the order |
Query By
| Name |
Parameter |
Type |
Description |
Example |
| created_at |
where[created_at] |
date_time |
Query on a specific created_at |
?where[created_at]=2000-01-01T12:00:00Z |
| updated_at |
where[updated_at] |
date_time |
Query on a specific updated_at |
?where[updated_at]=2000-01-01T12:00:00Z |
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 |
/people/v2/note_category_subscriptions |
Reading
| HTTP Method |
Endpoint |
| GET |
/people/v2/note_category_subscriptions/{id} |
Associations
| HTTP Method |
Endpoint |
Returns |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/people/v2/note_category_subscriptions/{note_category_subscription_id}/person |
Person
|
|
|
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/people/v2/note_categories/{note_category_id}/subscriptions |
NoteCategory
|
|
|
| GET |
https://api.planningcenteronline.com/people/v2/note_category_subscriptions |
Organization
|
|
|