Skip to main content
Create Default News Feed Item

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Response

OK

News feed items are created by agents or other services for display on the start page and other relevant places in the UI. Carrier object for NewsFeedItem. Services for the NewsFeedItem Carrier is available from the NewsFeed Agent.

NewsFeedItemId
integer<int32>

Primary key

Title
string

Short, descriptive headline. Plain text title. Multi-language string supported: 'US:"english";NO:"norsk"'.

Summary
string

Short, descriptive summary. Plain text summary. Multi-language string supported: 'US:"english";NO:"norsk"'.

Description
object

Multi-language descriptions for the news feed item, where the key is an ISO 2 letter language code (e.g. 'en', 'no', 'de') and the value is the description in that language. Styling via pre-defined CSS classes. No SCRIPT or STYLE tags allowed. The 'current' value is set based on the Accept-Language/SO-Language header.

Actions
object[]

Call to action items for the news feed item. Each item contains a title, an identifier, a type and flavor.

URL Link to an image associated with the news item.

URL Link to the source of the news item, or an SOProtocol link to a SuperOffice item

PreviewHint
string

Preview hint for the news item. e.g. {contact_id=123}

FromName
string

Name of the instance that published this item. e.g. Pete the prospector

FromCategoryName
string

Type of the instance that published this item. e.g. Prospector Agent

Priority
enum<string>

Importance of the news item. Low to High. Higher priority items may be shown more prominently in the feed.

Available options:
NoPriority,
Highest,
High,
Normal,
Low,
Lowest
Registered
string<date-time>

Registered when in UTC.

Updated
string<date-time>

Last updated when in UTC.

ExpiresAt
string<date-time>

When the news item expires and should no longer be shown in feeds (UTC) in UTC.

Status
enum<string>

Indicates if the item is being handled by a CTA. (normal, processing, processed)

Available options:
Normal,
Handling,
Handled
IsRead
boolean

Set to true when the recipient user has read the news feed item.

ReadAt
string<date-time>

When the recipient user read the news feed item (UTC) in UTC.

Contact
object

Carrier object for Contact. Services for the Contact Carrier is available from the Contact Agent.

Person
object

Carrier object for Person. Services for the Person Carrier is available from the Person Agent.

Project
object

Carrier object for Project. Services for the Project Carrier is available from the Project Agent.

Sale
object

Carrier object for Sale. Services for the Sale Carrier is available from the Sale Agent.

ApplicationId
string

The id of the application that registered this news item. Used to resolve where any CTA should be posted when clicked.

Location
string

Place related to news item (city or city + country) (optional)

RatingPercent
integer<int32>

Rating as percentage (0-100). 0 = undefined. 1-9 = No stars, 10-30 = One star, Two stars = 31-50, 90-100 = Five stars. Client can render rating as stars, pie chart, thumbs up or down, however they want. Default 0 indicates no rating.