receiver user object (contains id & email). When 'Id' is user id, must be defined also 'email' string property with email address of the user. Email will be sent only to this address. When 'Id' is group id, email will be sent to all users which belongs to this group.
sender
optional
object
sender user object (contains id & email)
id
mandatory
string(guid)
id of the user
email
mandatory
string
email id of the user
source
mandatory
string
Source of the message (eg: Import Service)
topic
mandatory
string
Topic of the message
severity
mandatory
object
Severity can be Info, Warning, Error
returnCode
mandatory
string
Readable return code
timestamp
will be ignored
string
Creation date of the message
unreadEmail
optional
boolean
When 'unreadEmail' is missing the default value is true. If set to true or default, the message will me marked as an email ( yet unread ), and sent via email service. If it is set as false the message will be marked as a "read" (collect) email.
unreadBrowserNotification
optional
boolean
When 'unreadBrowserNotification' is missing the default value is true. If set to true or default, the message will be marked as browser notification ( yet unread ) and send to the Bimplus portal as popup message. If it is set as false the message will be marked as a "read" (collect) browser notification.
additionalData
optional
string
Extra info
correlationId
optional
guid
Id of the other related message
Card
label
HTTP Method
POST
Card
label
Description
Create
Create a new message for an user or group of users. When message is created as 'read' (i.e. unreadBrowserNotification or unreadEmail is set to false), such messages are not sent immediatelly but only collected in server.