Frequent Visitor.. abux
Frequent Visitor..
285 views

ESM 6.11 get entries from active list via api

Hi there,

I wanted to know if there is an option to get the values of an active list via an api call. I already found an thread about this topic, but the solution switched to read the content from the mysql. I want to use the api from an script by using curl to get the data. Is this possible?

Kind regards,

Andi

0 Likes
1 Reply
Trusted Contributor.. donpat03 Trusted Contributor..
Trusted Contributor..

Re: ESM 6.11 get entries from active list via api

yes you can make a rest API call to ESM to do this.  You need to login first and generate a token

https://esmhostname:8443/www/core-service/rest/LoginService/login

then pass the cookie and the resourceid of the active list and it will return the active list values.

https://esmhostname/www/manager-service/rest/ActiveListService/getEntries?authToken=%s&resourceId=%s" %(cookie,i_resource)

You can find the details in the API docs.

 

 

0 Likes
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.