Symantec Developer Group

 View Only
  • 1.  SSIM API Report data

    Posted May 23, 2013 04:10 AM

    Hi there!

    I have an essue with SSIM API. I need to get a data from a report via API, but I don't know how to do it. Can you show me what commands I need to use?

    And one more question: in https://10.142.92.99/imr/config/doc/apidocs.html I tooktwo examples: LOGIN ( https://10.142.92.99/imr/config/api.jsp?cmd=LOGIN&user=Master&pwd=123) and SQL (https://10.142.92.99/imr/config/api.jsp?cmd=SQL&sql=SELECT%20INCIDENT_ID,%20ASSIGNEE,%20TYPE%20FROM%20symcmgmt.symc_sim_incident&first=15&nPerPage=3)
    First command returns a xml file, secon - a html page. I nedd to get a xml data. How can I get it?

    The version of SSIM is 4.7.3.50

    Thank you very much,
    Oleg.



  • 2.  RE: SSIM API Report data
    Best Answer

    Posted Jul 26, 2013 07:16 AM

    Hi Oleg,

    When you ran first command of login, it returns a xml file which xml file has one "sid" means session id.

    you need to use that "sid", to get the xml data for second command

    The following the way, to use sid with second command :

    https://10.211.232.82/imr/config/api.jsp?cmd=SQL&sql=SELECT%20INCIDENT_ID,%20ASSIGNEE,%20TYPE%20FROM%20symcmgmt.symc_sim_incident&first=15&nPerPage=3&sid=hwfcvmQeBhQ

     And for second issue, we don't have SSIM API to get data from a report.

     

    Regards,

    Dnyaneshwar Patil

    Assoc Software Engineer

    Symantec Corporation 
    www.symantec.com
     

     



  • 3.  RE: SSIM API Report data

    Posted Jul 28, 2013 11:03 PM

    Hi

    Thank you for responce, the problem is solved.

    The problem was in "sid" as you say

     

    Thank you,
    Oleg