Hot topic

This hot topic RESTful API is used to get the hot topics suggested by Smart Analytics.

Request:

POST http://<SM Server Address>:13080/SM/9/rest/SmartAnalytics/1/action/hottopic

An example of the request body:

{
  SmartAnalytics:{
    in:'{filename: "probsummary",  keyword:"email"}',
  }
}
 

Response example:

Note You can ignore the messages in the response as these messages are printed by the Restful framework.

{
    "Messages": [
        "Invalid syntax for query.  Failed parsing",
        "in=\"1\"",
        "Invalid syntax for query.  Failed parsing",
        "in=\"1\""
    ],
    "ReturnCode": 71,
    "SmartAnalytics": {
        "in": "{filename: \"probsummary\",  keyword:\"email\"}"
        "out": ‘{"recommends":["Shared MailBox"," Unable to access"," Email receiving"],"subtopics":[{"topic":"Shared MailBox","subtopics":[{"topic":"New mail sending","docs":["IM10122","IM10056"],"id":2},{"topic":"box is not accessible on outlook","docs":["IM10121"],"id":4}],"docs":["IM10121","IM10056"],"id":1},{"topic":"Unable to access","subtopics":[{"topic":"group mailbox's","docs":["IM10131","IM10128"],"id":7,"subtopics":[{"id":8,"topic":"CHAR-Intranet / Internet (North America)","raw":"Intranet / Internet (North America)","trivial":true,"docs":["IM10131"]},{"id":9,"topic":"CHAR-Applications","raw":"Applications","trivial":true,"docs":["IM10128"]}]},{"topic":"Communication mail","docs":["IM10084","IM10128"],"id":10,"subtopics":[{"id":11,"topic":"CHAR-E-mail / Webmail (North America)","raw":"E-mail / Webmail (North America)","trivial":true,"docs":["IM10084"]},{"id":12,"topic":"CHAR-Applications","raw":"Applications","trivial":true,"docs":["IM10128"]}]}],"docs":["IM10131","IM10021"],"id":6},{"topic":"Email receiving","subtopics":[{"id":14,"topic":"CHAR-E-mail / Webmail (North America)","raw":"E-mail / Webmail (North America)","trivial":true,"docs":["IM10081","IM10125","IM10021"]},{"id":15,"topic":"CHAR-Handheld, PDA & Telephony","raw":"Handheld, PDA & Telephony","trivial":true,"docs":["IM10012"]}],"docs":["IM10081","IM10125","IM10021","IM10012"],"id":13},{"topic":"mail issues","subtopics":[{"id":17,"topic":"CHAR-Applications","raw":"Applications","trivial":true,"docs":["IM10126"]},{"id":18,"topic":"CHAR-E-mail / Webmail (North America)","raw":"E-mail / Webmail (North America)","trivial":true,"docs":["IM10084","IM10081","IM10056"]}],"docs":["IM10126","IM10084","IM10081","IM10056"],"id":16},{"topic":"User","subtopics":[{"id":20,"topic":"CHAR-E-mail / Webmail (Asia)","raw":"E-mail / Webmail (Asia)","trivial":true,"docs":["IM10186"]},{"id":21,"topic":"CHAR-E-mail / Webmail (North America)","raw":"E-mail / Webmail (North America)","trivial":true,"docs":["IM10091","IM10039","IM10081","IM10021"]},{"id":22,"topic":"CHAR-E-mail / Webmail (Africa)","raw":"E-mail / Webmail (Africa)","trivial":true,"docs":["IM10059"]},{"id":23,"topic":"CHAR-Applications","raw":"Applications","trivial":true,"docs":["IM10105"]}],"docs":["IM10186","IM10091","IM10059","IM10039","IM10105","IM10081","IM10021"],"id":19},{"topic":"outlook","subtopics":[{"id":25,"topic":"CHAR-Applications","raw":"Applications","trivial":true,"docs":["IM10126","IM10011","IM10105","IM10128"]},{"id":26,"topic":"CHAR-E-mail / Webmail (North America)","raw":"E-mail / Webmail (North America)","trivial":true,"docs":["IM10091","IM10039","IM10121","IM10084"]},{"id":27,"topic":"CHAR-Intranet / Internet (North America)","raw":"Intranet / Internet (North America)","trivial":true,"docs":["IM10131"]}],"docs":["IM10126","IM10091","IM10039","IM10011","IM10121","IM10105","IM10084","IM10131","IM10128"],"id":24}],"summaries":{"IM10011":{"reference":"IM10011","title":"problems with the send mails from outlook","summary":"problems with the send mails from outlook. problems with the send mails from outlook\n","weight":84.67,"type":"Applications"},"IM10012":{"reference":"IM10012","title":"Email receiving error when using mobile phone as email client.","summary":"Email receiving error when using mobile phone as email client.. report error about 'connection fail' when attempt to connect to mail server.\n","weight":83.83,"type":"Handheld, PDA & Telephony"},"IM10021":{"reference":"IM10021","title":"User did not receive the reset password email notification","summary":"User did not receive the reset password email notification. I was unable to access Spend Management as it would not accept my password. I chose Forgot  Password and I still have not received an e-mail with the correct password.\n","weight":83.83,"type":"E-mail / Webmail (North America)"},"IM10039":{"reference":"IM10039","title":"outlook flags have disappeared from her e-mails","summary":"outlook flags have disappeared from her e-mails. user uses the flags to organize her e-mails, flags have disappeared from her mailbox.\n","weight":84.67,"type":"E-mail / Webmail (North America)"},"IM10056":{"reference":"IM10056","title":"Shared MailBox issue","summary":"Shared MailBox issue. We are receiving the delivery failure from Generic mailbox while sending new mails.\n","weight":83.83,"type":"E-mail / Webmail (North America)"},"IM10059":{"reference":"IM10059","title":"User is not recieving mails on blackberry","summary":"User is not recieving mails on blackberry. User is not recieving mails on blackberry and still not work after restarting.\n","weight":84.67,"type":"E-mail / Webmail (Africa)"},"IM10081":{"reference":"IM10081","title":"mail issues","summary":"mail issues. User not receiving salary slips on email\n","weight":84.46,"type":"E-mail / Webmail (North America)"},"IM10084":{"reference":"IM10084","title":"Communication mail issue","summary":"Communication mail issue. I’ am not getting any communication email to my outlook email id.\n","weight":84.46,"type":"E-mail / Webmail (North America)"},"IM10091":{"reference":"IM10091","title":"Users are not rcving mails on all the campaings of the COR on Altitude and Outlook both","summary":"Users are not rcving mails on all the campaings of the COR on Altitude and Outlook both. Users are not rcving mails on all the campaings of the COR on Altitude and Outlook both. Please assist asap.\n","weight":84.67,"type":"E-mail / Webmail (North America)"},"IM10105":{"reference":"IM10105","title":"User unable to send receive mails on outlook","summary":"User unable to send receive mails on outlook. outlook state keeps changing from trying to connect to connected...browser setttings are fine and owa link is also not working\n","weight":84.46,"type":"Applications"},"IM10121":{"reference":"IM10121","title":"Shared mail box is not accessible on outlook","summary":"Shared mail box is not accessible on outlook. I am not able to access shared mailbox from outlook and Lync since Thursday after the migration.\nTried adding and removing the mailbox but still it is not working.\n","weight":84.46,"type":"E-mail / Webmail (North America)"},"IM10122":{"reference":"IM10122","title":"New mail sending error","summary":"New mail sending error. When I tried to send new mail from GSRPA mailbox I’m receiving the below error msg. please do the needful.\n","weight":84.67,"type":"E-mail / Webmail (North America)"},"IM10125":{"reference":"IM10125","title":"Not able to send emails","summary":"Not able to send emails. Not able to send emails..mails are stucking in outbox.user is able to receive emails how ever mails are stucking in the Outbox.so raising the request for the same.\n","weight":83.83,"type":"E-mail / Webmail (North America)"},"IM10126":{"reference":"IM10126","title":"outlook mail delivery issue","summary":"outlook mail delivery issue. I am receiving e-mail in batches, about once an hour. Also, my smartphone keeps synchronizing e-mail, even though I have set the Sync setting to 'Manual'.\n","weight":84.88,"type":"Applications"},"IM10128":{"reference":"IM10128","title":"Outlook problem","summary":"Outlook problem. Communication mail for my Group mailbox\n\nError for your reference –\n\n\"Cannot Expand the folder\"\n","weight":83.83,"type":"Applications"},"IM10131":{"reference":"IM10131","title":"Unable to access group mailbox's archive","summary":"Unable to access group mailbox's archive. CSCS group mailbox is recently migrated on outlook and we are unable to access our group mailbox archive mails. Please do the needful ASAP.\n","weight":83.83,"type":"Intranet / Internet (North America)"},"IM10186":{"reference":"IM10186","title":"Not getting mail from external customer","summary":"Not getting mail from external customer. user report cannot getting mail from external customer\n","weight":84.67,"type":"E-mail / Webmail (Asia)"}},"docs":[],"id":0,"topic":"e-mail"}’
    }
}