Announcements Sections Resource
get
Authorizations
SessionIdstringRequired
SessionId
Query parameters
announcementTextstringOptional
fromstring · date-timeOptional
tostring · date-timeOptional
hierarchyIdstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6filtersstringOptional
groupIdstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6pinnedbooleanOptional
signedbooleanOptional
hfSignedbooleanOptional
publishedbooleanOptional
draftbooleanOptional
archivedbooleanOptional
replybooleanOptional
hasReactionsbooleanOptional
hasCommentsbooleanOptional
Responses
200
OK
*/*
Announcement section: id, title, layout, representation, listing type, search, and HTML content.
idstringOptionalExample:
Section identifier
64f8a0e2d5b7c9a1e3f4a5b6titlestringOptional
Section title
layoutstring · enumOptionalPossible values:
Banner layout type
representationstring · enumOptionalPossible values:
Representation type
listingTypestring · enumOptionalPossible values:
Listing type
searchEnabledbooleanOptional
Whether search is enabled for this section
htmlContentstringOptional
HTML content of the section
get/api/v1/company/announcements/sections
GET /api/v1/company/announcements/sections HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": "text",
"layout": "HORIZONTAL",
"representation": "COVER",
"listingType": "STANDARD",
"searchEnabled": true,
"htmlContent": "text"
}
]get
Authorizations
SessionIdstringRequired
SessionId
Path parameters
sectionIdstringRequiredExample:
64f8a0e2d5b7c9a1e3f4a5b6Query parameters
announcementTextstringOptional
fromstring · date-timeOptional
tostring · date-timeOptional
hierarchyIdstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6filtersstringOptional
groupIdstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6pinnedbooleanOptional
signedbooleanOptional
hfSignedbooleanOptional
publishedbooleanOptional
draftbooleanOptional
archivedbooleanOptional
replybooleanOptional
hasReactionsbooleanOptional
hasCommentsbooleanOptional
Responses
200
OK
*/*
Announcement section: id, title, layout, representation, listing type, search, and HTML content.
idstringOptionalExample:
Section identifier
64f8a0e2d5b7c9a1e3f4a5b6titlestringOptional
Section title
layoutstring · enumOptionalPossible values:
Banner layout type
representationstring · enumOptionalPossible values:
Representation type
listingTypestring · enumOptionalPossible values:
Listing type
searchEnabledbooleanOptional
Whether search is enabled for this section
htmlContentstringOptional
HTML content of the section
get/api/v1/company/announcements/sections/{sectionId}
GET /api/v1/company/announcements/sections/{sectionId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": "text",
"layout": "HORIZONTAL",
"representation": "COVER",
"listingType": "STANDARD",
"searchEnabled": true,
"htmlContent": "text"
}Last updated