Communication Service

ResourceDescription
Create direct messageCreates and then returns a direct message.
Get all communications
Get direct messagesReturns any direct messages that the currently authenticated user has been involved in.
Get mentions
Get shares

Create direct message

Creates and then returns a direct message. The participants in the direct message can be specified specified with participantURI parameters. At least one valid participant must be specified and any invalid participants will be ignored.

POST http://domain:port/application_context/api/core/v2/communications/dms

Response

TypeDescription
Responsethe direct message created by this POST.

Get all communications

GET http://domain:port/application_context/api/core/v2/communications?before=String&limit=int&onlyUnread=boolean&markAllRead=boolean

Query Parameters

NameTypeDescriptionDefault Value
beforeString""
limitint"25"
onlyUnreadboolean"false"
markAllReadboolean"false"

Response

TypeDescription
EntityCollection

Get direct messages

Returns any direct messages that the currently authenticated user has been involved in. The returned messages are returned in date ordering from the most recently active to the least most recently active.

GET http://domain:port/application_context/api/core/v2/communications/dms?before=String&limit=int

Query Parameters

NameTypeDescriptionDefault Value
beforeStringdirect messages older than the date provided. For a limit of 5 then the first 5 direct messages created before the provided date will be returned. The provided date is required to be formatted in ISO 8601 format.""
limitintthe highest number of direct messages which will be returned from this call. If there are fewer direct messages available in the given time period, if either before or after is provided, than fewer messages will be returned then the limit."25"

Response

TypeDescription
EntityCollectionthe collection of direct message the currently authenticated user has been involved in.

Get mentions

GET http://domain:port/application_context/api/core/v2/communications/mentions?before=String&limit=int

Query Parameters

NameTypeDescriptionDefault Value
beforeString""
limitint"25"

Response

TypeDescription
EntityCollection

Get shares

GET http://domain:port/application_context/api/core/v2/communications/shares?before=String&limit=int

Query Parameters

NameTypeDescriptionDefault Value
beforeString""
limitint"25"

Response

TypeDescription
EntityCollection