AnnouncementsAnnouncementCategory
curl https://api.planningcenteronline.com/publishing/v2/announcements/{announcement_id}/announcements_announcement_categories
View in API Explorer →
{
"type": "AnnouncementsAnnouncementCategory",
"id": "1",
"attributes": {},
"relationships": {
"announcement_category": {
"data": {
"type": "AnnouncementCategory",
"id": "1"
}
}
}
}
| Name |
Type |
Description |
id |
primary_key |
|
| Name |
Type |
Association Type |
Note |
| announcement_category |
AnnouncementCategory |
to_one |
|
| Parameter |
Value |
Description |
Assignable |
| include |
announcement_category |
include associated announcement_category
|
create and update |
| 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 |
/publishing/v2/announcements/{announcement_id}/announcements_announcement_categories |
Reading
| HTTP Method |
Endpoint |
| GET |
/publishing/v2/announcements/{announcement_id}/announcements_announcement_categories/{id} |
| HTTP Method |
Endpoint |
Returns |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/publishing/v2/announcements/{announcement_id}/announcements_announcement_categories/{announcements_announcement_category_id}/announcement_category |
AnnouncementCategory
|
|
|
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/publishing/v2/announcements/{announcement_id}/announcements_announcement_categories |
Announcement
|
|
|