Video Screencast Help

SSIM API Report data

Created: 23 May 2013 • Updated: 28 Jul 2013 | 2 comments
This issue has been solved. See solution.

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&...) and SQL (https://10.142.92.99/imr/config/api.jsp?cmd=SQL&sq...)
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.

Operating Systems:

Comments 2 CommentsJump to latest comment

Dnyaneshwar Patil's picture

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
 

 

SOLUTION
strS's picture

Hi

Thank you for responce, the problem is solved.

The problem was in "sid" as you say

 

Thank you,
Oleg