Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Announcements Sections Resource

get
Authorizations
SessionIdstringRequired

SessionId

Query parameters
announcementTextstringOptional
fromstring · date-timeOptional
tostring · date-timeOptional
hierarchyIdstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
filtersstringOptional
groupIdstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
categoryIdstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
pinnedbooleanOptional
signedbooleanOptional
hfSignedbooleanOptional
publishedbooleanOptional
draftbooleanOptional
archivedbooleanOptional
replybooleanOptional
hasReactionsbooleanOptional
hasCommentsbooleanOptional
Responses
200

OK

*/*

Announcement section: id, title, layout, representation, listing type, search, and HTML content.

idstringOptional

Section identifier

Example: 64f8a0e2d5b7c9a1e3f4a5b6
titlestringOptional

Section title

layoutstring · enumOptional

Banner layout type

Possible values:
representationstring · enumOptional

Representation type

Possible values:
listingTypestring · enumOptional

Listing type

Possible values:
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: 64f8a0e2d5b7c9a1e3f4a5b6
Query parameters
announcementTextstringOptional
fromstring · date-timeOptional
tostring · date-timeOptional
hierarchyIdstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
filtersstringOptional
groupIdstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
categoryIdstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
pinnedbooleanOptional
signedbooleanOptional
hfSignedbooleanOptional
publishedbooleanOptional
draftbooleanOptional
archivedbooleanOptional
replybooleanOptional
hasReactionsbooleanOptional
hasCommentsbooleanOptional
Responses
200

OK

*/*

Announcement section: id, title, layout, representation, listing type, search, and HTML content.

idstringOptional

Section identifier

Example: 64f8a0e2d5b7c9a1e3f4a5b6
titlestringOptional

Section title

layoutstring · enumOptional

Banner layout type

Possible values:
representationstring · enumOptional

Representation type

Possible values:
listingTypestring · enumOptional

Listing type

Possible values:
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