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

Announcement Sections

get

Returns a list of sections of announcements container

Authorizations
Responses
200

OK

application/json

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/employee/announcements/{employeeId}/sections
GET /api/v1/employee/announcements/{employeeId}/sections HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

[
  {
    "id": "64f8a0e2d5b7c9a1e3f4a5b6",
    "title": "text",
    "layout": "HORIZONTAL",
    "representation": "COVER",
    "listingType": "STANDARD",
    "searchEnabled": true,
    "htmlContent": "text"
  }
]
get

Returns the configuration of a given section

Authorizations
Path parameters
sectionIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

application/json

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/employee/announcements/{employeeId}/sections/{sectionId}
GET /api/v1/employee/announcements/{employeeId}/sections/{sectionId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "title": "text",
  "layout": "HORIZONTAL",
  "representation": "COVER",
  "listingType": "STANDARD",
  "searchEnabled": true,
  "htmlContent": "text"
}

Last updated