Hello
the use of existing APIs/BAPis in EHS are discussed e.g. in this document to a certain extent:
SAP EHS Management for Beginners
Without understanding the APis/BApis and there purpose and how to use them, you will not get proper solution.These APIs etc. are not "documented"well. Especially that you would like to use is not released for customer purpose
Without knowledeg of your business scenario and which data you really need; bno help is possible.
Hint of Niraj is helkping may be. In EHS classic you can use some suitable output variant to get the data. This can be done as well by "external" caller (not using CG02)
C.B.