I'm not sure OCS server can do the job. It include quite a basic query tool.
Do you have a GLPI server associated with OCS server ?
Do you have a GLPI server associated with OCS server ?