[#1193] getUnitList returns not visible services

Migrated from Redmine #1193 | Author: Andranik Aghajanyan
Status: Feedback | Priority: Low, I can wait | Created: 2024-03-12


The problem is related to the getUnitList and getEventList methods.
When a service is not visible(the eye icon is clicked) it is not returned by the getEventList method but is still included inside the getUnitList services field. Is this intentional?
Is there a way to get only visible services with the getUnitList method?

Dmytro Bondarev wrote:

Hi, yes. it is correct behavior.
To get visible services list please call getEventList()