Action
An Action is an Activity directed towards specific users. Actions show up in a user's Actions stream on their home page. When created via this API, an action will be an App Action, and the icon for the app will be displayed next to the action.
Example:
Create Action
The JSON for an Action is the same as an Activity with the "openSocial" and "deliverTo" fields present.
POST to /api/core/v3/activities
to generate a new action.
See Sending Actions
for
more information on creating actions. The minimum set of fields you must include are the following, where the "deliverTo" field has
a valid list of Person URI's.
{ "title": "Simple activity title", "content": "See this activity!", "openSocial" : { "deliverTo" : [ "https://example.jiveon.com/api/core/v3/people/1234", "https://example.jiveon.com/api/core/v3/people/1235" ] } }
Fields
Field | Type | Mode † | Description |
---|---|---|---|
actions | ActionEntry[] | read-only | Set of user actions that can be taken in response to this action notification. |
body | String | read-only | HTML body text of this inbox entry. |
entryState | String | read-only | Current state of this inbox entry. Valid values are:
|
entrySubtype | String | read-only | Specialized subtype for notification entries. |
entryType | String | read-only | Type of this inbox entry. Valid values are:
|
id | String | read-only | Unique (within Jive instance) identifier of this inbox entry. |
properties | Object | read-only | General purpose properties associated with this inbox entry. |
published | ISO 8601 Date | read-only | Date and time this inbox entry was originally created. |
requestMessage | String | read-only | HTML message sent in this inbox entry. |
resources | Object | read-only | Resource links (and related permissions for the requesting person) relevant to this object. |
summary | String | read-only | Summary of this inbox entry. |
target | Object | read-only | Target Jive object for this inbox entry. |
title | String | read-only | Title of this inbox entry. |
type | String | read-only | The object type of this object ("action"). |