Announcements Configuration Resource
get
Authorizations
SessionIdstringRequired
SessionId
Responses
200
OK
*/*
Wrapper DTO for sending and receiving the list of announcement section configurations
sectionsone ofRequired
List of section configuration elements
or
or
or
or
get/api/v1/company/announcements/configuration
GET /api/v1/company/announcements/configuration HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"sections": {
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"removable": true,
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"layout": "HORIZONTAL",
"generated": true,
"representation": "COVER",
"searchEnabled": true,
"deletionCapable": true,
"publishingCapable": true,
"archivableCapable": true,
"onlyInApp": true,
"listingType": "STANDARD"
}
}put
Authorizations
SessionIdstringRequired
SessionId
Body
Wrapper DTO for sending and receiving the list of announcement section configurations
sectionsone ofRequired
List of section configuration elements
or
or
or
or
Responses
200
OK
*/*
Wrapper DTO for sending and receiving the list of announcement section configurations
sectionsone ofRequired
List of section configuration elements
or
or
or
or
put/api/v1/company/announcements/configuration
PUT /api/v1/company/announcements/configuration HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 367
{
"sections": {
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"removable": true,
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"layout": "HORIZONTAL",
"generated": true,
"representation": "COVER",
"searchEnabled": true,
"deletionCapable": true,
"publishingCapable": true,
"archivableCapable": true,
"onlyInApp": true,
"listingType": "STANDARD"
}
}200
OK
{
"sections": {
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"removable": true,
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"layout": "HORIZONTAL",
"generated": true,
"representation": "COVER",
"searchEnabled": true,
"deletionCapable": true,
"publishingCapable": true,
"archivableCapable": true,
"onlyInApp": true,
"listingType": "STANDARD"
}
}get
Authorizations
SessionIdstringRequired
SessionId
Query parameters
sectionTypeIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
*/*
Wrapper DTO for sending and receiving the list of announcement section configurations
sectionsone ofRequired
List of section configuration elements
or
or
or
or
get/api/v1/company/announcements/configuration/default
GET /api/v1/company/announcements/configuration/default HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"sections": {
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"removable": true,
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"layout": "HORIZONTAL",
"generated": true,
"representation": "COVER",
"searchEnabled": true,
"deletionCapable": true,
"publishingCapable": true,
"archivableCapable": true,
"onlyInApp": true,
"listingType": "STANDARD"
}
}Last updated