cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

API EPO PYTHON

Jump to solution
Hello, I'm searching to get ProductVersion from a computer (In the systemTree,Organization...) So i succeed to have all information from an computer with the API i used (systems = mc.epogroup.findSystems('101', 'true')) So when i print(system[0]) i got all the informations for this computers.(Name,ip,...) But i don't have the Product version of the product installed... I got the agent version installed but i didn't have the product like (Virus Scan 8.8.XXX) or (Endpoint Security version XXX) .. Which function i need to use to have this information ? I searched in the doc of epo but it's very hard to find... Sincerly, Tom Assas
1 Solution

Accepted Solutions
McAfee Employee Hawkmoon
McAfee Employee
Report Inappropriate Content
Message 2 of 4

Re: API EPO PYTHON

Jump to solution

Hi User83705598

Have you reviewed this articel please?

It is the offical guide to use for PO API use.ePO-API-Scripting-Guide

 

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

3 Replies
McAfee Employee Hawkmoon
McAfee Employee
Report Inappropriate Content
Message 2 of 4

Re: API EPO PYTHON

Jump to solution

Hi User83705598

Have you reviewed this articel please?

It is the offical guide to use for PO API use.ePO-API-Scripting-Guide

 

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Re: API EPO PYTHON

Jump to solution

Hi Hawkmoon,

I have an issue similar to that described here. The documentation you linked shows that my syntax is correct but I am getting an error.

target=EPOMasterCatalog&select=(select EPOMasterCatalog.ProductVersion)&where=(where (and (eq EPOMasterCatalog.ProductName "DAT") (eq EPOMasterCatalog.Branch "Current"))) 

I am getting an unknown column for Branch but it is, in fact, a column. I believe with SQL this is common enough of an error for the order of the query but I am not sure how the Web API handles this.

McAfee Employee Hawkmoon
McAfee Employee
Report Inappropriate Content
Message 4 of 4

Re: API EPO PYTHON

Jump to solution

Hi Plisken, 

Python would process like SQL, which is to say in the order it was 'presented/read'.

I'm wonder if the matter is related to something like the matter described in the URL below:

StackOverflow - Unknown Column

Odd question, are you able to create and run a script to return just that detail, no other operations , just the 'current' data?

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Member Rewards
McAfee Community rewards active and helpful members just like you. Click here to take a look at the first community members who received a special reward and were recognized by McAfee leader, Aneel Jaeel, for their participation and trusted knowledge in the community.