Add a Notification | CRM Interface
Add User Alert
http://localhost:8155/vxcrm.jsp?action=adduseralert
This action is used to send an agent a notification through the API. If you know the target agent ID, use AGENTID
, else you can use his login name in AGENTNAME
. Below you can find examples of both ways.
http://localhost:8155/vxcrm.jsp?action=adduseralert&AGENTID=1234
http://localhost:8155/vxcrm.jsp?action=adduseralert&AGENTNAME=tom
The other two parameters are TITLE
and BODY
of the notification.
http://localhost:8155/vxcrm.jsp?action=adduseralert&AGENTNAME=tom&TITLE=alert_title&BODY=message_for_tom
You can use HTML code in the body of your notification to have a link in your message. For example, you can use:
<a href="/contact?action=viewen&id=111234">View Customer</a>