Highlighted
Absent Member.
Absent Member.
9656 views

Full REST API Documentation For ESM

Where can I find a full complete REST API Documentation for ESM ?

My problem is I can't find any documentation about trying to get a result from a query in ESM with REST API.

What I found in all documentations supplied by ArcSight are:

1. The list of services - https://esm:8443/www/manager-service/services/listServices (I believe not all services shows here such as ArchiveReportService/initDefaultArchiveReportDownloadByURI)

2. Authentication - https://esm:8443/www/core-service/rest/LoginService/login?login=username&password=password

3. Generating Report - https://esm:8443/www/manager-service/rest/ArchiveReportService/initDefaultArchiveReportDownloadByURI?authToken=<authtoken>&reportURI=/All%20Reports/ArcSight%20Administration/ESM/Configuration%20Changes/Resources/Resource%20Updated%20Report&reportType=Manual

4. Download Report - https://esm:8443/www/manager-service/fileservlet?file.command=download&file.id=<fileid>

5. Get Owner Name - https://esm:8443/www/manager-service/rest/InfoService/getCustomerName?authToken=<authtoken>

Some of services even shows some error with no specific error message:

https://esm:8443/www/manager-service/rest/QueryViewerService/findAllIds?authToken=<authtoken>

--- output ---

java.lang.RuntimeException: com.arcsight.tools.coma.service.ServiceException

Reason I started to choose REST because of .Net compability with SOAP (Axis2 I think). Some results produce weird errors.

References:

1. ESM_ServiceLayer_DevGuide.pdf

2. SN48_YWang_DLiu_Final.pdf

3. SN66_Yanlin-Wang_APIs_SDK_Service-Oriented_Architecture_ESM.pdf

Thanks.

Labels (1)
Tags (4)
0 Likes
Reply
26 Replies
Highlighted
Absent Member.
Absent Member.

Another question on the Fei Gao PDF presentation. On slide 14 for "Resource access" it is mentioned that one can "Get all resource of a given type". So I went to the javadoc for ResourceService to look for a function named something like findByType() that returns a list of all resources of a given type, but no such function exists. If someone knows of the existence of this function, can someone please reply to this and post its name and where in the javadoc it is? Much thanks in advance.

0 Likes
Reply
Highlighted
Absent Member.
Absent Member.

I too would like to utilize the resource service but am unable to find any information on how.  Has anyone found a way to utilize what Fei Gao refers to in his slide deck?

Thanks,

- Brandon

0 Likes
Reply
Highlighted
Absent Member.
Absent Member.

Hi Konrad,

Is it possible to get base event data by supplying the event id.

We have built a query viewer windows which gives a list of correlated events. Now we want to query back the correlated event id to get the base event details.

Please let me know if you have already worked this out

Regards,

Vishal

0 Likes
Reply
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.