Get number of unread messages: (This should be used for the info bubble)
Arguments
Get number of all unread messages in all Messaging systems
Arguments
Get a list of brief details for the unread messages (This should be used in the dropdown then the bubble is clicked)
Arguments
Get all messages (read/unread)
Arguments
Get One message. (must pass id of the message)
Arguments
id |
integer, required |
client_id |
integer |
box_name |
string |
Adding one message:
@params:
subject - required
data - content of the message (required)
format - default "text"
user_id - is the recipient user id
Arguments
format |
string |
subject |
string, required |
data |
string, required |
recipient_id |
integer, required |
sender_name |
string |
account |
integer |
Returns the messages inbox by the current user
additional fields can be used for search
Arguments
subject |
string |
data |
string |
sender_id |
integer |
sender_name |
string |
limit |
integer |
start |
integer |
q |
string |
order_by |
string |
order_direction |
string |
seen |
string |
createtime |
string |
Returns the messages sent by the current user
additional fields can be used for search
Arguments
subject |
string |
data |
string |
recipient_id |
integer |
sender_name |
string |
limit |
integer |
start |
integer |
q |
string |
order_by |
string |
order_direction |
string |
seen |
string |
Search in the notifications
Arguments
q |
string |
recipient_id |
integer (incl. search params) |
sender_id |
integer (incl. search params) |
seen |
string |
createtime |
string |
Set message as read (used in all related classes)
Arguments
Bulk delete messages in all Messaging systems by type
Arguments
messages_type |
required, in: internal-messages, messages-from-customers, emails-from-customers, demands-from-forms |
messages_ids |
required, array |
bSelectedAll |
boolean |
box |
string |
q |
string |
seen |
string |
Bulk set message as read in all Messaging systems by type
Arguments
messages_type |
required, in: internal-messages, messages-from-customers, emails-from-customers, demands-from-forms |
messages_ids |
required, array |
bSelectedAll |
boolean |
box |
string |
q |
string |
seen |
string |
Get all records
this function returns all the records. Pagination / limit are not accepted
Arguments
Get Change Log for an object
Arguments